Merge lp:~tsimonq2/serverguide/apt-get-to-apt into lp:serverguide/trunk
- apt-get-to-apt
- Merge into trunk
Proposed by
Simon Quigley
Status: | Merged |
---|---|
Approved by: | Doug Smythies |
Approved revision: | 269 |
Merged at revision: | 270 |
Proposed branch: | lp:~tsimonq2/serverguide/apt-get-to-apt |
Merge into: | lp:serverguide/trunk |
Diff against target: |
1139 lines (+129/-129) 21 files modified
serverguide/C/backups.xml (+1/-1) serverguide/C/chat.xml (+2/-2) serverguide/C/clustering.xml (+1/-1) serverguide/C/databases.xml (+6/-6) serverguide/C/dns.xml (+2/-2) serverguide/C/file-server.xml (+6/-6) serverguide/C/installation.xml (+2/-2) serverguide/C/lamp-applications.xml (+4/-4) serverguide/C/mail.xml (+12/-12) serverguide/C/monitoring.xml (+5/-5) serverguide/C/network-auth.xml (+14/-14) serverguide/C/network-config.xml (+4/-4) serverguide/C/other-apps.xml (+3/-3) serverguide/C/package-management.xml (+23/-23) serverguide/C/remote-administration.xml (+5/-5) serverguide/C/samba.xml (+7/-7) serverguide/C/security.xml (+2/-2) serverguide/C/vcs.xml (+4/-4) serverguide/C/virtualization.xml (+7/-7) serverguide/C/vpn.xml (+5/-5) serverguide/C/web-servers.xml (+14/-14) |
To merge this branch: | bzr merge lp:~tsimonq2/serverguide/apt-get-to-apt |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Doug Smythies | Approve | ||
Review via email: mp+289552@code.launchpad.net |
Commit message
Description of the change
This replaces apt-get with apt in the Server Guide.
To post a comment you must log in.
Revision history for this message
Simon Quigley (tsimonq2) wrote : | # |
Alright, thank you. :)
Revision history for this message
Simon Quigley (tsimonq2) wrote : | # |
Alright, thank you. :)
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'serverguide/C/backups.xml' |
2 | --- serverguide/C/backups.xml 2016-03-18 00:36:06 +0000 |
3 | +++ serverguide/C/backups.xml 2016-03-19 02:06:47 +0000 |
4 | @@ -611,7 +611,7 @@ |
5 | from a terminal prompt enter: |
6 | </para> |
7 | <screen> |
8 | -<command>sudo apt-get install bacula</command> |
9 | +<command>sudo apt install bacula</command> |
10 | </screen> |
11 | <para> |
12 | By default installing the <application>bacula</application> package will use a |
13 | |
14 | === modified file 'serverguide/C/chat.xml' |
15 | --- serverguide/C/chat.xml 2016-03-18 00:36:06 +0000 |
16 | +++ serverguide/C/chat.xml 2016-03-19 02:06:47 +0000 |
17 | @@ -40,7 +40,7 @@ |
18 | </para> |
19 | |
20 | <screen> |
21 | -<command>sudo apt-get install ircd-irc2</command> |
22 | +<command>sudo apt install ircd-irc2</command> |
23 | </screen> |
24 | |
25 | <para> |
26 | @@ -139,7 +139,7 @@ |
27 | </para> |
28 | |
29 | <screen> |
30 | -<command>sudo apt-get install jabberd2</command> |
31 | +<command>sudo apt install jabberd2</command> |
32 | </screen> |
33 | |
34 | </sect2> |
35 | |
36 | === modified file 'serverguide/C/clustering.xml' |
37 | --- serverguide/C/clustering.xml 2016-03-18 00:36:06 +0000 |
38 | +++ serverguide/C/clustering.xml 2016-03-19 02:06:47 +0000 |
39 | @@ -24,7 +24,7 @@ |
40 | </para> |
41 | |
42 | <screen> |
43 | -<command>sudo apt-get install drbd8-utils</command> |
44 | +<command>sudo apt install drbd8-utils</command> |
45 | </screen> |
46 | |
47 | <note> |
48 | |
49 | === modified file 'serverguide/C/databases.xml' |
50 | --- serverguide/C/databases.xml 2016-03-17 22:42:15 +0000 |
51 | +++ serverguide/C/databases.xml 2016-03-19 02:06:47 +0000 |
52 | @@ -39,7 +39,7 @@ |
53 | To install MySQL, run the following command from a terminal prompt: |
54 | </para> |
55 | <screen> |
56 | -<command>sudo apt-get install mysql-server</command> |
57 | +<command>sudo apt install mysql-server</command> |
58 | </screen> |
59 | <para> |
60 | During the installation process you will be prompted to enter a password for the MySQL root |
61 | @@ -197,7 +197,7 @@ |
62 | Finally all that's left is to re-import your data. To give us an idea of how far the import process has got you may find the 'Pipe Viewer' utility, pv, useful. |
63 | The following shows how to install and use pv for this case, but if you'd rather not use it just replace pv with cat in the following command. Ignore any ETA times produced by pv, they're based on the average time taken to handle each row of the file, but the speed of inserting can vary wildly from row to row with mysqldumps: |
64 | <screen> |
65 | -<command>sudo apt-get install pv</command> |
66 | +<command>sudo apt install pv</command> |
67 | <command>pv ~/fulldump.sql | mysql</command> |
68 | </screen> |
69 | Once that is complete all is good to go! |
70 | @@ -222,7 +222,7 @@ |
71 | |
72 | You can get install mysqltuner from the Ubuntu repositories: |
73 | <screen> |
74 | -<command>sudo apt-get install mysqltuner</command> |
75 | +<command>sudo apt install mysqltuner</command> |
76 | </screen> |
77 | Then once its been installed, run it: |
78 | <screen> |
79 | @@ -304,7 +304,7 @@ |
80 | </para> |
81 | <para> |
82 | <screen> |
83 | -<command>sudo apt-get install postgresql</command> |
84 | +<command>sudo apt install postgresql</command> |
85 | </screen> |
86 | </para> |
87 | <para> |
88 | @@ -400,7 +400,7 @@ |
89 | You can test server connections from other machines by using the <application>PostgreSQL</application> client. |
90 | </para> |
91 | <screen> |
92 | -<command>sudo apt-get install postgresql-client</command> |
93 | +<command>sudo apt install postgresql-client</command> |
94 | <command>psql -h postgres.example.com -U postgres -W </command> |
95 | </screen> |
96 | <note> |
97 | @@ -425,7 +425,7 @@ |
98 | Execute the following in a terminal to install the package: |
99 | </para> |
100 | <screen> |
101 | -<command>sudo apt-get install postgresql-doc-9.1</command> |
102 | +<command>sudo apt install postgresql-doc-9.1</command> |
103 | </screen> |
104 | <para> |
105 | To view the guide enter <command>file:///usr/share/doc/postgresql-doc-9.1/html/index.html</command> into the address |
106 | |
107 | === modified file 'serverguide/C/dns.xml' |
108 | --- serverguide/C/dns.xml 2016-03-17 22:42:15 +0000 |
109 | +++ serverguide/C/dns.xml 2016-03-19 02:06:47 +0000 |
110 | @@ -23,14 +23,14 @@ |
111 | <application>dns</application>: |
112 | </para> |
113 | <screen> |
114 | -<command>sudo apt-get install bind9</command> |
115 | +<command>sudo apt install bind9</command> |
116 | </screen> |
117 | <para> |
118 | A very useful package for testing and troubleshooting DNS issues is the dnsutils package. Very often these |
119 | tools will be installed already, but to check and/or install <application>dnsutils</application> enter the following: |
120 | </para> |
121 | <screen> |
122 | -<command>sudo apt-get install dnsutils</command> |
123 | +<command>sudo apt install dnsutils</command> |
124 | </screen> |
125 | </sect1> |
126 | <sect1 id="dns-configuration" status="review"> |
127 | |
128 | === modified file 'serverguide/C/file-server.xml' |
129 | --- serverguide/C/file-server.xml 2016-03-18 00:36:06 +0000 |
130 | +++ serverguide/C/file-server.xml 2016-03-19 02:06:47 +0000 |
131 | @@ -75,7 +75,7 @@ |
132 | </para> |
133 | |
134 | <screen> |
135 | -<command>sudo apt-get install vsftpd</command> |
136 | +<command>sudo apt install vsftpd</command> |
137 | </screen> |
138 | |
139 | |
140 | @@ -362,7 +362,7 @@ |
141 | </para> |
142 | <para> |
143 | <screen> |
144 | -<command>sudo apt-get install nfs-kernel-server</command> |
145 | +<command>sudo apt install nfs-kernel-server</command> |
146 | </screen> |
147 | </para> |
148 | </sect2> |
149 | @@ -437,7 +437,7 @@ |
150 | command at the terminal |
151 | prompt: |
152 | <screen> |
153 | -<command>sudo apt-get install nfs-common</command> |
154 | +<command>sudo apt install nfs-common</command> |
155 | </screen> |
156 | </para> |
157 | </sect2> |
158 | @@ -474,7 +474,7 @@ |
159 | </para> |
160 | |
161 | <screen> |
162 | -<command>sudo apt-get install open-iscsi</command> |
163 | +<command>sudo apt install open-iscsi</command> |
164 | </screen> |
165 | |
166 | </sect2> |
167 | @@ -644,11 +644,11 @@ |
168 | <sect2 id="cups-installation" status="review"> |
169 | <title>Installation</title> |
170 | <para> |
171 | - To install CUPS on your Ubuntu computer, simply use <application>sudo</application> with the <application>apt-get</application> command and give the packages to install as the first parameter. A complete CUPS install has many package dependencies, but they may all be specified on the same command line. Enter the following at a terminal prompt to install CUPS: |
172 | + To install CUPS on your Ubuntu computer, simply use <application>sudo</application> with the <application>apt</application> command and give the packages to install as the first parameter. A complete CUPS install has many package dependencies, but they may all be specified on the same command line. Enter the following at a terminal prompt to install CUPS: |
173 | </para> |
174 | <para> |
175 | <screen> |
176 | -<command>sudo apt-get install cups</command> |
177 | +<command>sudo apt install cups</command> |
178 | </screen> |
179 | </para> |
180 | <para> |
181 | |
182 | === modified file 'serverguide/C/installation.xml' |
183 | --- serverguide/C/installation.xml 2016-01-05 23:54:49 +0000 |
184 | +++ serverguide/C/installation.xml 2016-03-19 02:06:47 +0000 |
185 | @@ -385,7 +385,7 @@ |
186 | is installed by default. |
187 | </para> |
188 | <para> |
189 | - Debian based systems can also be upgraded by using <command>apt-get dist-upgrade</command>. However, using |
190 | + Debian based systems can also be upgraded by using <command>apt dist-upgrade</command>. However, using |
191 | <application>do-release-upgrade</application> is recommended because it has the ability to handle system configuration |
192 | changes sometimes needed between releases. |
193 | </para> |
194 | @@ -1225,7 +1225,7 @@ |
195 | </para> |
196 | |
197 | <screen> |
198 | -<command>sudo apt-get install linux-crashdump</command> |
199 | +<command>sudo apt install linux-crashdump</command> |
200 | </screen> |
201 | |
202 | </sect2> |
203 | |
204 | === modified file 'serverguide/C/lamp-applications.xml' |
205 | --- serverguide/C/lamp-applications.xml 2016-03-18 00:36:06 +0000 |
206 | +++ serverguide/C/lamp-applications.xml 2016-03-19 02:06:47 +0000 |
207 | @@ -115,7 +115,7 @@ |
208 | </para> |
209 | |
210 | <screen> |
211 | -<command>sudo apt-get install python-moinmoin</command> |
212 | +<command>sudo apt install python-moinmoin</command> |
213 | </screen> |
214 | |
215 | <para> |
216 | @@ -301,7 +301,7 @@ |
217 | </para> |
218 | |
219 | <screen> |
220 | -<command>sudo apt-get install mediawiki php5-gd</command> |
221 | +<command>sudo apt install mediawiki php5-gd</command> |
222 | </screen> |
223 | |
224 | <para> |
225 | @@ -441,7 +441,7 @@ |
226 | </para> |
227 | |
228 | <screen> |
229 | -<command>sudo apt-get install phpmyadmin</command> |
230 | +<command>sudo apt install phpmyadmin</command> |
231 | </screen> |
232 | |
233 | <para> |
234 | @@ -552,7 +552,7 @@ |
235 | </para> |
236 | |
237 | <screen> |
238 | - <command>sudo apt-get install wordpress</command> |
239 | + <command>sudo apt install wordpress</command> |
240 | </screen> |
241 | |
242 | <para> |
243 | |
244 | === modified file 'serverguide/C/mail.xml' |
245 | --- serverguide/C/mail.xml 2016-03-18 00:36:06 +0000 |
246 | +++ serverguide/C/mail.xml 2016-03-19 02:06:47 +0000 |
247 | @@ -40,7 +40,7 @@ |
248 | To install <application>postfix</application> run the following command: |
249 | </para> |
250 | <screen> |
251 | -<command>sudo apt-get install postfix</command> |
252 | +<command>sudo apt install postfix</command> |
253 | </screen> |
254 | <para> |
255 | Simply press return when the installation process asks questions, the configuration will be done in greater detail in the next stage. |
256 | @@ -252,7 +252,7 @@ |
257 | enter the following: |
258 | </para> |
259 | <screen> |
260 | -<command>sudo apt-get install dovecot-common</command> |
261 | +<command>sudo apt install dovecot-common</command> |
262 | </screen> |
263 | <para> |
264 | Next you will need to edit <filename>/etc/dovecot/conf.d/10-master.conf</filename>. Change the following: |
265 | @@ -328,7 +328,7 @@ |
266 | </para> |
267 | |
268 | <screen> |
269 | -<command>sudo apt-get install mail-stack-delivery</command> |
270 | +<command>sudo apt install mail-stack-delivery</command> |
271 | </screen> |
272 | |
273 | <para> |
274 | @@ -549,7 +549,7 @@ |
275 | <para> |
276 | To install <application>exim4</application>, run the following command: |
277 | <screen> |
278 | -<command>sudo apt-get install exim4</command> |
279 | +<command>sudo apt install exim4</command> |
280 | </screen> |
281 | </para> |
282 | </sect2> |
283 | @@ -677,7 +677,7 @@ |
284 | The first step is to install the sasl2-bin package. From a terminal prompt enter the following: |
285 | </para> |
286 | <screen> |
287 | -<command>sudo apt-get install sasl2-bin</command> |
288 | +<command>sudo apt install sasl2-bin</command> |
289 | </screen> |
290 | <para> |
291 | To configure saslauthd edit the /etc/default/saslauthd configuration file and set START=no to: |
292 | @@ -740,7 +740,7 @@ |
293 | command prompt: |
294 | </para> |
295 | <screen> |
296 | -<command>sudo apt-get install dovecot-imapd dovecot-pop3d</command> |
297 | +<command>sudo apt install dovecot-imapd dovecot-pop3d</command> |
298 | </screen> |
299 | </sect2> |
300 | <sect2 id="dovecot-configuration" status="review"> |
301 | @@ -954,7 +954,7 @@ |
302 | To install <application>Mailman</application>, run following command at a terminal prompt: |
303 | </para> |
304 | <screen> |
305 | -<command>sudo apt-get install mailman</command> |
306 | +<command>sudo apt install mailman</command> |
307 | </screen> |
308 | <para> |
309 | It copies the installation files in |
310 | @@ -1382,24 +1382,24 @@ |
311 | To install the rest of the applications enter the following from a terminal prompt: |
312 | </para> |
313 | <screen> |
314 | -<command>sudo apt-get install amavisd-new spamassassin clamav-daemon</command> |
315 | -<command>sudo apt-get install opendkim postfix-policyd-spf-python</command> |
316 | +<command>sudo apt install amavisd-new spamassassin clamav-daemon</command> |
317 | +<command>sudo apt install opendkim postfix-policyd-spf-python</command> |
318 | </screen> |
319 | <para> |
320 | There are some optional packages that integrate with <application>Spamassassin</application> for better spam detection: |
321 | </para> |
322 | <screen> |
323 | -<command>sudo apt-get install pyzor razor</command> |
324 | +<command>sudo apt install pyzor razor</command> |
325 | </screen> |
326 | <para> |
327 | Along with the main filtering applications compression utilities are needed to process some email attachments: |
328 | </para> |
329 | <screen> |
330 | -<command>sudo apt-get install arj cabextract cpio lha nomarch pax rar unrar unzip zip</command> |
331 | +<command>sudo apt install arj cabextract cpio lha nomarch pax rar unrar unzip zip</command> |
332 | </screen> |
333 | <note> |
334 | <para>If some packages are not found, check that the <emphasis>multiverse</emphasis> repository is enabled in <filename>/etc/apt/sources.list</filename></para> |
335 | - <para>If you make changes to the file, be sure to run <command>sudo apt-get update</command> before trying to install again.</para> |
336 | + <para>If you make changes to the file, be sure to run <command>sudo apt update</command> before trying to install again.</para> |
337 | </note> |
338 | </sect2> |
339 | <sect2 id="mail-filter-configuration" status="review"> |
340 | |
341 | === modified file 'serverguide/C/monitoring.xml' |
342 | --- serverguide/C/monitoring.xml 2016-03-18 00:36:06 +0000 |
343 | +++ serverguide/C/monitoring.xml 2016-03-19 02:06:47 +0000 |
344 | @@ -45,7 +45,7 @@ |
345 | </para> |
346 | |
347 | <screen> |
348 | -<command>sudo apt-get install nagios3 nagios-nrpe-plugin</command> |
349 | +<command>sudo apt install nagios3 nagios-nrpe-plugin</command> |
350 | </screen> |
351 | |
352 | <para> |
353 | @@ -77,7 +77,7 @@ |
354 | </para> |
355 | |
356 | <screen> |
357 | -<command>sudo apt-get install nagios-nrpe-server</command> |
358 | +<command>sudo apt install nagios-nrpe-server</command> |
359 | </screen> |
360 | |
361 | <note> |
362 | @@ -439,7 +439,7 @@ |
363 | </para> |
364 | |
365 | <screen> |
366 | -<command>sudo apt-get install munin</command> |
367 | +<command>sudo apt install munin</command> |
368 | </screen> |
369 | |
370 | <para> |
371 | @@ -447,7 +447,7 @@ |
372 | </para> |
373 | |
374 | <screen> |
375 | -<command>sudo apt-get install munin-node</command> |
376 | +<command>sudo apt install munin-node</command> |
377 | </screen> |
378 | |
379 | </sect2> |
380 | @@ -516,7 +516,7 @@ |
381 | </para> |
382 | |
383 | <screen> |
384 | -<command>sudo apt-get install munin-plugins-extra</command> |
385 | +<command>sudo apt install munin-plugins-extra</command> |
386 | </screen> |
387 | |
388 | <para> |
389 | |
390 | === modified file 'serverguide/C/network-auth.xml' |
391 | --- serverguide/C/network-auth.xml 2016-03-18 00:36:06 +0000 |
392 | +++ serverguide/C/network-auth.xml 2016-03-19 02:06:47 +0000 |
393 | @@ -173,7 +173,7 @@ |
394 | </para> |
395 | |
396 | <screen> |
397 | -<command>sudo apt-get install slapd ldap-utils</command> |
398 | +<command>sudo apt install slapd ldap-utils</command> |
399 | </screen> |
400 | |
401 | <para> |
402 | @@ -1344,7 +1344,7 @@ |
403 | </para> |
404 | |
405 | <screen> |
406 | -<command>sudo apt-get install gnutls-bin ssl-cert</command> |
407 | +<command>sudo apt install gnutls-bin ssl-cert</command> |
408 | </screen> |
409 | |
410 | </step> |
411 | @@ -1607,7 +1607,7 @@ |
412 | </para> |
413 | |
414 | <screen> |
415 | -<command>sudo apt-get install ssl-cert</command> |
416 | +<command>sudo apt install ssl-cert</command> |
417 | <command>sudo adduser openldap ssl-cert</command> |
418 | <command>sudo cp ldap02_slapd_cert.pem cacert.pem /etc/ssl/certs</command> |
419 | <command>sudo cp ldap02_slapd_key.pem /etc/ssl/private</command> |
420 | @@ -1729,7 +1729,7 @@ |
421 | </para> |
422 | |
423 | <screen> |
424 | -<command>sudo apt-get install libnss-ldap</command> |
425 | +<command>sudo apt install libnss-ldap</command> |
426 | </screen> |
427 | |
428 | <para> |
429 | @@ -1811,7 +1811,7 @@ |
430 | </para> |
431 | |
432 | <screen> |
433 | -<command>sudo apt-get install ldapscripts</command> |
434 | +<command>sudo apt install ldapscripts</command> |
435 | </screen> |
436 | |
437 | <para> |
438 | @@ -2232,7 +2232,7 @@ |
439 | </para> |
440 | |
441 | <screen> |
442 | -<command>sudo apt-get install samba samba-doc smbldap-tools</command> |
443 | +<command>sudo apt install samba samba-doc smbldap-tools</command> |
444 | </screen> |
445 | |
446 | </sect2> |
447 | @@ -2455,7 +2455,7 @@ |
448 | Next, configure the <application>smbldap-tools</application> package to match your environment. The package |
449 | is supposed to come with a configuration helper script (smbldap-config.pl, formerly configure.pl) that will ask questions |
450 | about the needed options but there is a <ulink url="https://bugs.launchpad.net/serverguide/+bug/997172">bug</ulink> |
451 | - whereby it is not installed (but found in the source code; 'apt-get source smbldap-tools'). |
452 | + whereby it is not installed (but found in the source code; 'apt source smbldap-tools'). |
453 | </para> |
454 | |
455 | <para> |
456 | @@ -2858,7 +2858,7 @@ |
457 | </para> |
458 | |
459 | <screen> |
460 | -<command>sudo apt-get install krb5-kdc krb5-admin-server</command> |
461 | +<command>sudo apt install krb5-kdc krb5-admin-server</command> |
462 | </screen> |
463 | |
464 | <para> |
465 | @@ -3065,7 +3065,7 @@ |
466 | </para> |
467 | |
468 | <screen> |
469 | -<command>sudo apt-get install krb5-kdc krb5-admin-server</command> |
470 | +<command>sudo apt install krb5-kdc krb5-admin-server</command> |
471 | </screen> |
472 | |
473 | </step> |
474 | @@ -3277,7 +3277,7 @@ |
475 | </para> |
476 | |
477 | <screen> |
478 | -<command>sudo apt-get install krb5-user libpam-krb5 libpam-ccreds auth-client-config</command> |
479 | +<command>sudo apt install krb5-user libpam-krb5 libpam-ccreds auth-client-config</command> |
480 | </screen> |
481 | |
482 | <para> |
483 | @@ -3473,7 +3473,7 @@ |
484 | </para> |
485 | |
486 | <screen> |
487 | -<command>sudo apt-get install krb5-kdc-ldap</command> |
488 | +<command>sudo apt install krb5-kdc-ldap</command> |
489 | </screen> |
490 | |
491 | </listitem> |
492 | @@ -3654,7 +3654,7 @@ |
493 | </para> |
494 | |
495 | <screen> |
496 | -<command>sudo apt-get install krb5-kdc krb5-admin-server krb5-kdc-ldap</command> |
497 | +<command>sudo apt install krb5-kdc krb5-admin-server krb5-kdc-ldap</command> |
498 | </screen> |
499 | |
500 | </listitem> |
501 | @@ -3813,7 +3813,7 @@ |
502 | </para> |
503 | |
504 | <screen> |
505 | -<command>sudo apt-get install krb5-kdc krb5-admin-server krb5-kdc-ldap</command> |
506 | +<command>sudo apt install krb5-kdc krb5-admin-server krb5-kdc-ldap</command> |
507 | </screen> |
508 | |
509 | </step> |
510 | @@ -4001,7 +4001,7 @@ |
511 | <para>The following packages are needed: <emphasis>krb5-user</emphasis>, <emphasis>samba</emphasis>, <emphasis>sssd</emphasis>, and <emphasis>ntp</emphasis>. Samba needs to be installed, even if the system is not exporting shares. The Kerberos realm and FQDN or IP of the domain controllers are needed for this step.</para> |
512 | <para>Install these packages now. |
513 | </para> |
514 | - <screen><command>sudo apt-get install krb5-user samba sssd ntp</command></screen> |
515 | + <screen><command>sudo apt install krb5-user samba sssd ntp</command></screen> |
516 | <para>See the next section for the answers to the questions asked by the <emphasis>krb5-user</emphasis> postinstall script.</para> |
517 | </sect2> |
518 | <sect2 id="sssd-ad-kerberos" status="review"> |
519 | |
520 | === modified file 'serverguide/C/network-config.xml' |
521 | --- serverguide/C/network-config.xml 2016-03-18 00:36:06 +0000 |
522 | +++ serverguide/C/network-config.xml 2016-03-19 02:06:47 +0000 |
523 | @@ -97,7 +97,7 @@ |
524 | is not installed by default, but is available for installation in the repositories. |
525 | </para> |
526 | <screen> |
527 | -<command>sudo apt-get install ethtool</command> |
528 | +<command>sudo apt install ethtool</command> |
529 | </screen> |
530 | <para> |
531 | The following is an example of how to view supported features and configured |
532 | @@ -539,7 +539,7 @@ |
533 | </para> |
534 | |
535 | <screen> |
536 | -<command>sudo apt-get install bridge-utils</command> |
537 | +<command>sudo apt install bridge-utils</command> |
538 | </screen> |
539 | |
540 | <para> |
541 | @@ -976,7 +976,7 @@ |
542 | <application>dhcpd</application>: |
543 | </para> |
544 | <screen> |
545 | -<command>sudo apt-get install isc-dhcp-server</command> |
546 | +<command>sudo apt install isc-dhcp-server</command> |
547 | </screen> |
548 | <para> |
549 | You will probably need to change the default configuration |
550 | @@ -1090,7 +1090,7 @@ |
551 | </para> |
552 | |
553 | <screen> |
554 | -<command>sudo apt-get install ntp</command> |
555 | +<command>sudo apt install ntp</command> |
556 | </screen> |
557 | |
558 | </sect2> |
559 | |
560 | === modified file 'serverguide/C/other-apps.xml' |
561 | --- serverguide/C/other-apps.xml 2015-09-29 19:33:07 +0000 |
562 | +++ serverguide/C/other-apps.xml 2016-03-19 02:06:47 +0000 |
563 | @@ -75,7 +75,7 @@ |
564 | </para> |
565 | |
566 | <screen> |
567 | -<command>sudo apt-get install weather-util</command> |
568 | +<command>sudo apt install weather-util</command> |
569 | </screen> |
570 | |
571 | </listitem> |
572 | @@ -190,7 +190,7 @@ |
573 | </para> |
574 | |
575 | <screen> |
576 | -<command>sudo apt-get install etckeeper</command> |
577 | +<command>sudo apt install etckeeper</command> |
578 | </screen> |
579 | |
580 | <para> |
581 | @@ -227,7 +227,7 @@ |
582 | </para> |
583 | |
584 | <screen> |
585 | -<command>sudo apt-get install postfix</command> |
586 | +<command>sudo apt install postfix</command> |
587 | </screen> |
588 | |
589 | <para> |
590 | |
591 | === modified file 'serverguide/C/package-management.xml' |
592 | --- serverguide/C/package-management.xml 2015-04-03 03:21:56 +0000 |
593 | +++ serverguide/C/package-management.xml 2016-03-19 02:06:47 +0000 |
594 | @@ -140,22 +140,22 @@ |
595 | </para> |
596 | |
597 | </sect1> |
598 | - <sect1 id="apt-get" status="review"> |
599 | - <title>Apt-Get</title> |
600 | - <para> |
601 | - The <application>apt-get</application> command is a powerful command-line tool, which works with Ubuntu's <emphasis>Advanced Packaging Tool</emphasis> (APT) performing such functions as installation of new software packages, upgrade of existing software packages, updating of the package list index, and even upgrading the entire Ubuntu system. |
602 | - </para> |
603 | - <para> |
604 | - Being a simple command-line tool, <application>apt-get</application> has numerous advantages over other package management tools available in Ubuntu for server administrators. Some of these advantages include ease of use over simple terminal connections (SSH), and the ability to be used in system administration scripts, which can in turn be automated by the <application>cron</application> scheduling utility. |
605 | - </para> |
606 | - <para> |
607 | - Some examples of popular uses for the <application>apt-get</application> utility: |
608 | + <sect1 id="apt" status="review"> |
609 | + <title>Apt</title> |
610 | + <para> |
611 | + The <application>apt</application> command is a powerful command-line tool, which works with Ubuntu's <emphasis>Advanced Packaging Tool</emphasis> (APT) performing such functions as installation of new software packages, upgrade of existing software packages, updating of the package list index, and even upgrading the entire Ubuntu system. |
612 | + </para> |
613 | + <para> |
614 | + Being a simple command-line tool, <application>apt</application> has numerous advantages over other package management tools available in Ubuntu for server administrators. Some of these advantages include ease of use over simple terminal connections (SSH), and the ability to be used in system administration scripts, which can in turn be automated by the <application>cron</application> scheduling utility. |
615 | + </para> |
616 | + <para> |
617 | + Some examples of popular uses for the <application>apt</application> utility: |
618 | <itemizedlist> |
619 | <listitem> |
620 | <para> |
621 | - <emphasis role="bold">Install a Package</emphasis>: Installation of packages using the <application>apt-get</application> tool is quite simple. For example, to install the network scanner <application>nmap</application>, type the following: |
622 | + <emphasis role="bold">Install a Package</emphasis>: Installation of packages using the <application>apt</application> tool is quite simple. For example, to install the network scanner <application>nmap</application>, type the following: |
623 | <screen> |
624 | -<command>sudo apt-get install nmap</command> |
625 | +<command>sudo apt install nmap</command> |
626 | </screen> |
627 | </para> |
628 | </listitem> |
629 | @@ -163,7 +163,7 @@ |
630 | <para> |
631 | <emphasis role="bold">Remove a Package</emphasis>: Removal of a package (or packages) is also straightforward. To remove the package installed in the previous example, type the following: |
632 | <screen> |
633 | -<command>sudo apt-get remove nmap</command> |
634 | +<command>sudo apt remove nmap</command> |
635 | </screen> |
636 | </para> |
637 | <tip> |
638 | @@ -171,7 +171,7 @@ |
639 | </para> |
640 | </tip> |
641 | <para> |
642 | - Also, adding the <emphasis>--purge</emphasis> option to <command>apt-get remove</command> will remove the package |
643 | + Also, adding the <emphasis>--purge</emphasis> option to <command>apt remove</command> will remove the package |
644 | configuration files as well. This may or may not be the desired effect, so use with caution. |
645 | </para> |
646 | </listitem> |
647 | @@ -179,7 +179,7 @@ |
648 | <para> |
649 | <emphasis role="bold">Update the Package Index</emphasis>: The APT package index is essentially a database of available packages from the repositories defined in the <filename>/etc/apt/sources.list</filename> file and in the <filename>/etc/apt/sources.list.d</filename> directory. To update the local package index with the latest changes made in the repositories, type the following: |
650 | <screen> |
651 | -<command>sudo apt-get update</command> |
652 | +<command>sudo apt update</command> |
653 | </screen> |
654 | </para> |
655 | </listitem> |
656 | @@ -187,7 +187,7 @@ |
657 | <para> |
658 | <emphasis role="bold">Upgrade Packages</emphasis>: Over time, updated versions of packages currently installed on your computer may become available from the package repositories (for example security updates). To upgrade your system, first update your package index as outlined above, and then type: |
659 | <screen> |
660 | -<command>sudo apt-get upgrade</command> |
661 | +<command>sudo apt upgrade</command> |
662 | </screen> |
663 | </para> |
664 | <para> |
665 | @@ -197,11 +197,11 @@ |
666 | </itemizedlist> |
667 | </para> |
668 | <para> |
669 | - Actions of the <application>apt-get</application> command, such as installation and removal of packages, are logged in the /var/log/dpkg.log log file. |
670 | + Actions of the <application>apt</application> command, such as installation and removal of packages, are logged in the /var/log/dpkg.log log file. |
671 | </para> |
672 | <para>For further information about the use of <application>APT</application>, read the comprehensive <ulink url="&debian-apt;">Debian APT User Manual</ulink> or type: |
673 | <screen> |
674 | -<command>apt-get help</command> |
675 | +<command>apt help</command> |
676 | </screen> |
677 | </para> |
678 | </sect1> |
679 | @@ -299,7 +299,7 @@ |
680 | </para> |
681 | <sect2 id="aptitude-commandline" status="review"> |
682 | <title>Command Line Aptitude</title> |
683 | -<para>You can also use <application>Aptitude</application> as a command-line tool, similar to <application>apt-get</application>. To install the <application>nmap</application> package with all necessary dependencies, as in the <application>apt-get</application> example, you would use the following command: |
684 | +<para>You can also use <application>Aptitude</application> as a command-line tool, similar to <application>apt</application>. To install the <application>nmap</application> package with all necessary dependencies, as in the <application>apt</application> example, you would use the following command: |
685 | <screen> |
686 | <command>sudo aptitude install nmap</command> |
687 | </screen> |
688 | @@ -320,7 +320,7 @@ |
689 | </para> |
690 | |
691 | <screen> |
692 | -<command>sudo apt-get install unattended-upgrades</command> |
693 | +<command>sudo apt install unattended-upgrades</command> |
694 | </screen> |
695 | |
696 | <para> |
697 | @@ -400,7 +400,7 @@ |
698 | </para> |
699 | |
700 | <screen> |
701 | -<command>sudo apt-get install apticron</command> |
702 | +<command>sudo apt install apticron</command> |
703 | </screen> |
704 | |
705 | <para> |
706 | @@ -498,8 +498,8 @@ |
707 | <listitem> |
708 | <para> |
709 | The <ulink url="http://www.debian.org/doc/manuals/apt-howto/">APT HOWTO</ulink> and |
710 | - <ulink url="http://manpages.ubuntu.com/manpages/&distro-short-codename;/en/man8/apt-get.8.html">apt-get man page</ulink> |
711 | - contain useful information regarding <application>apt-get</application> usage. |
712 | + <ulink url="http://manpages.ubuntu.com/manpages/&distro-short-codename;/en/man8/apt.8.html">apt man page</ulink> |
713 | + contain useful information regarding <application>apt</application> usage. |
714 | </para> |
715 | </listitem> |
716 | <listitem> |
717 | |
718 | === modified file 'serverguide/C/remote-administration.xml' |
719 | --- serverguide/C/remote-administration.xml 2016-03-18 00:36:06 +0000 |
720 | +++ serverguide/C/remote-administration.xml 2016-03-19 02:06:47 +0000 |
721 | @@ -50,14 +50,14 @@ |
722 | prompt: |
723 | </para> |
724 | <screen> |
725 | -<command>sudo apt-get install openssh-client</command> |
726 | +<command>sudo apt install openssh-client</command> |
727 | </screen> |
728 | <para> |
729 | To install the OpenSSH server application, and related support files, use this command |
730 | at a terminal prompt: |
731 | </para> |
732 | <screen> |
733 | -<command>sudo apt-get install openssh-server</command> |
734 | +<command>sudo apt install openssh-server</command> |
735 | </screen> |
736 | <para> |
737 | The <application>openssh-server</application> package can also be selected to |
738 | @@ -273,7 +273,7 @@ |
739 | </para> |
740 | |
741 | <screen> |
742 | -<command>sudo apt-get install puppetmaster</command> |
743 | +<command>sudo apt install puppetmaster</command> |
744 | </screen> |
745 | |
746 | <para> |
747 | @@ -281,7 +281,7 @@ |
748 | </para> |
749 | |
750 | <screen> |
751 | -<command>sudo apt-get install puppet</command> |
752 | +<command>sudo apt install puppet</command> |
753 | </screen> |
754 | |
755 | </sect2> |
756 | @@ -577,7 +577,7 @@ |
757 | </para> |
758 | |
759 | <screen> |
760 | -<command>sudo apt-get install <zentyal-module></command> |
761 | +<command>sudo apt install <zentyal-module></command> |
762 | </screen> |
763 | |
764 | <note> |
765 | |
766 | === modified file 'serverguide/C/samba.xml' |
767 | --- serverguide/C/samba.xml 2016-03-17 22:42:15 +0000 |
768 | +++ serverguide/C/samba.xml 2016-03-19 02:06:47 +0000 |
769 | @@ -85,7 +85,7 @@ |
770 | </para> |
771 | |
772 | <screen> |
773 | -<command>sudo apt-get install samba</command> |
774 | +<command>sudo apt install samba</command> |
775 | </screen> |
776 | |
777 | <para> |
778 | @@ -300,7 +300,7 @@ |
779 | </para> |
780 | |
781 | <screen> |
782 | -<command>sudo apt-get install samba</command> |
783 | +<command>sudo apt install samba</command> |
784 | </screen> |
785 | |
786 | </sect2> |
787 | @@ -446,7 +446,7 @@ |
788 | </para> |
789 | |
790 | <screen> |
791 | -<command>sudo apt-get install libpam-smbpass</command> |
792 | +<command>sudo apt install libpam-smbpass</command> |
793 | </screen> |
794 | |
795 | <note> |
796 | @@ -653,7 +653,7 @@ |
797 | </para> |
798 | |
799 | <screen> |
800 | -<command>sudo apt-get install apparmor-profiles apparmor-utils</command> |
801 | +<command>sudo apt install apparmor-profiles apparmor-utils</command> |
802 | </screen> |
803 | |
804 | <note> |
805 | @@ -765,7 +765,7 @@ |
806 | </para> |
807 | |
808 | <screen> |
809 | -<command>sudo apt-get install samba libpam-smbpass</command> |
810 | +<command>sudo apt install samba libpam-smbpass</command> |
811 | </screen> |
812 | |
813 | </step> |
814 | @@ -1005,7 +1005,7 @@ |
815 | </para> |
816 | |
817 | <screen> |
818 | -<command>sudo apt-get install samba libpam-smbpass</command> |
819 | +<command>sudo apt install samba libpam-smbpass</command> |
820 | </screen> |
821 | |
822 | </step> |
823 | @@ -1155,7 +1155,7 @@ |
824 | </para> |
825 | |
826 | <screen> |
827 | -<command>sudo apt-get install samba smbfs smbclient</command> |
828 | +<command>sudo apt install samba smbfs smbclient</command> |
829 | </screen> |
830 | |
831 | <para> |
832 | |
833 | === modified file 'serverguide/C/security.xml' |
834 | --- serverguide/C/security.xml 2016-03-17 22:42:15 +0000 |
835 | +++ serverguide/C/security.xml 2016-03-19 02:06:47 +0000 |
836 | @@ -922,7 +922,7 @@ |
837 | To install the <application>apparmor-profiles</application> package from a terminal prompt: |
838 | </para> |
839 | <screen> |
840 | -<command>sudo apt-get install apparmor-profiles</command> |
841 | +<command>sudo apt install apparmor-profiles</command> |
842 | </screen> |
843 | <para> |
844 | AppArmor profiles have two modes of execution: |
845 | @@ -1681,7 +1681,7 @@ |
846 | </para> |
847 | |
848 | <screen> |
849 | -<command>sudo apt-get install ecryptfs-utils</command> |
850 | +<command>sudo apt install ecryptfs-utils</command> |
851 | </screen> |
852 | |
853 | <para> |
854 | |
855 | === modified file 'serverguide/C/vcs.xml' |
856 | --- serverguide/C/vcs.xml 2016-03-17 22:42:15 +0000 |
857 | +++ serverguide/C/vcs.xml 2016-03-19 02:06:47 +0000 |
858 | @@ -36,7 +36,7 @@ |
859 | <application>bzr</application>: |
860 | |
861 | <screen> |
862 | -<command>sudo apt-get install bzr</command> |
863 | +<command>sudo apt install bzr</command> |
864 | </screen> |
865 | </para> |
866 | </sect2> |
867 | @@ -96,7 +96,7 @@ |
868 | The <application>git</application> version control system is installed with the following command |
869 | </para> |
870 | <screen> |
871 | -<command>sudo apt-get install git</command> |
872 | +<command>sudo apt install git</command> |
873 | </screen> |
874 | </sect2> |
875 | <sect2 id="git-configuration" status="review"> |
876 | @@ -145,7 +145,7 @@ |
877 | The suggested solution is to install <application>gitolite</application> with the following command: |
878 | </para> |
879 | <screen> |
880 | -<command>sudo apt-get install gitolite</command> |
881 | +<command>sudo apt install gitolite</command> |
882 | </screen> |
883 | |
884 | </sect2> |
885 | @@ -238,7 +238,7 @@ |
886 | </para> |
887 | <para> |
888 | <screen> |
889 | -<command>sudo apt-get install subversion apache2 libapache2-svn</command> |
890 | +<command>sudo apt install subversion apache2 libapache2-svn</command> |
891 | </screen> |
892 | </para> |
893 | |
894 | |
895 | === modified file 'serverguide/C/virtualization.xml' |
896 | --- serverguide/C/virtualization.xml 2016-02-07 19:02:01 +0000 |
897 | +++ serverguide/C/virtualization.xml 2016-03-19 02:06:47 +0000 |
898 | @@ -73,7 +73,7 @@ |
899 | enter:</para> |
900 | |
901 | <screen> |
902 | -<command>sudo apt-get install qemu-kvm libvirt-bin</command> |
903 | +<command>sudo apt install qemu-kvm libvirt-bin</command> |
904 | </screen> |
905 | |
906 | <para>After installing <application>libvirt-bin</application>, the user |
907 | @@ -129,7 +129,7 @@ |
908 | terminal prompt enter:</para> |
909 | |
910 | <screen> |
911 | -<command>sudo apt-get install virtinst</command> |
912 | +<command>sudo apt install virtinst</command> |
913 | </screen> |
914 | |
915 | <para>There are several options available when using |
916 | @@ -345,7 +345,7 @@ |
917 | install virt-manager enter:</para> |
918 | |
919 | <screen> |
920 | -<command>sudo apt-get install virt-manager</command> |
921 | +<command>sudo apt install virt-manager</command> |
922 | </screen> |
923 | |
924 | <para>Since <application>virt-manager</application> requires a |
925 | @@ -391,7 +391,7 @@ |
926 | enter:</para> |
927 | |
928 | <screen> |
929 | -<command>sudo apt-get install virt-viewer</command> |
930 | +<command>sudo apt install virt-viewer</command> |
931 | </screen> |
932 | |
933 | <para>Once a virtual machine is installed and running you can connect to |
934 | @@ -502,7 +502,7 @@ |
935 | </itemizedlist> |
936 | |
937 | <para>To install <application>uvtool</application>, run:</para> |
938 | -<programlisting>$ apt-get -y install uvtool</programlisting> |
939 | +<programlisting>$ apt -y install uvtool</programlisting> |
940 | |
941 | <para>This will install uvtool's main commands: </para> |
942 | <itemizedlist mark="bullet"> |
943 | @@ -809,7 +809,7 @@ |
944 | |
945 | <screen> |
946 | <command> |
947 | -sudo apt-get install lxc |
948 | +sudo apt install lxc |
949 | </command> |
950 | </screen> |
951 | |
952 | @@ -1421,7 +1421,7 @@ |
953 | all snapshots are released; LVM containers must be more carefully |
954 | planned as the underlying filesystem may not support growing; |
955 | btrfs does not suffer any of these shortcomings, but suffers from |
956 | - reduced fsync performance causing dpkg and apt-get to be slower. |
957 | + reduced fsync performance causing dpkg and apt to be slower. |
958 | </para> |
959 | <para> |
960 | Snapshots of directory-packed containers are created using the |
961 | |
962 | === modified file 'serverguide/C/vpn.xml' |
963 | --- serverguide/C/vpn.xml 2016-03-18 00:36:06 +0000 |
964 | +++ serverguide/C/vpn.xml 2016-03-19 02:06:47 +0000 |
965 | @@ -32,7 +32,7 @@ |
966 | To install <application>openvpn</application> in a terminal enter: |
967 | </para> |
968 | <screen> |
969 | -<command>sudo apt-get install openvpn easy-rsa</command> |
970 | +<command>sudo apt install openvpn easy-rsa</command> |
971 | </screen> |
972 | |
973 | </sect2> |
974 | @@ -245,7 +245,7 @@ |
975 | |
976 | </para> |
977 | <screen> |
978 | -<command>sudo apt-get install openvpn</command> |
979 | +<command>sudo apt install openvpn</command> |
980 | </screen> |
981 | |
982 | <para> |
983 | @@ -507,7 +507,7 @@ |
984 | Make sure you have the bridge-utils package installed: |
985 | </para> |
986 | <screen> |
987 | -<command>sudo apt-get install bridge-utils</command> |
988 | +<command>sudo apt install bridge-utils</command> |
989 | </screen> |
990 | |
991 | <para> |
992 | @@ -613,7 +613,7 @@ |
993 | </para> |
994 | |
995 | <screen> |
996 | -<command>sudo apt-get install openvpn</command> |
997 | +<command>sudo apt install openvpn</command> |
998 | </screen> |
999 | |
1000 | <para> |
1001 | @@ -665,7 +665,7 @@ |
1002 | </para> |
1003 | |
1004 | <programlisting> |
1005 | -root@client:~# apt-get install network-manager-openvpn |
1006 | +root@client:~# apt install network-manager-openvpn |
1007 | Reading package lists... Done |
1008 | Building dependency tree |
1009 | Reading state information... Done |
1010 | |
1011 | === modified file 'serverguide/C/web-servers.xml' |
1012 | --- serverguide/C/web-servers.xml 2016-03-17 22:42:15 +0000 |
1013 | +++ serverguide/C/web-servers.xml 2016-03-19 02:06:47 +0000 |
1014 | @@ -60,7 +60,7 @@ |
1015 | </para> |
1016 | |
1017 | <screen> |
1018 | -<command>sudo apt-get install apache2</command> |
1019 | +<command>sudo apt install apache2</command> |
1020 | </screen> |
1021 | |
1022 | </step> |
1023 | @@ -527,7 +527,7 @@ |
1024 | </para> |
1025 | |
1026 | <screen> |
1027 | -<command>sudo apt-get install libapache2-mod-auth-mysql</command> |
1028 | +<command>sudo apt install libapache2-mod-auth-mysql</command> |
1029 | </screen> |
1030 | |
1031 | <para> |
1032 | @@ -717,7 +717,7 @@ |
1033 | can enter the following command in the terminal prompt: |
1034 | |
1035 | <screen> |
1036 | -<command>sudo apt-get install php5 libapache2-mod-php5</command> |
1037 | +<command>sudo apt install php5 libapache2-mod-php5</command> |
1038 | </screen> |
1039 | </para> |
1040 | |
1041 | @@ -727,7 +727,7 @@ |
1042 | <application>php5-cli</application> you can enter the following |
1043 | command in the terminal prompt: |
1044 | <screen> |
1045 | -<command>sudo apt-get install php5-cli</command> |
1046 | +<command>sudo apt install php5-cli</command> |
1047 | </screen> |
1048 | </para> |
1049 | <para> |
1050 | @@ -737,7 +737,7 @@ |
1051 | following command in a terminal prompt to install |
1052 | <application>php5-cgi</application> package: |
1053 | <screen> |
1054 | -<command>sudo apt-get install php5-cgi</command> |
1055 | +<command>sudo apt install php5-cgi</command> |
1056 | </screen> |
1057 | </para> |
1058 | <para>To use <application>MySQL</application> with PHP5 you should install |
1059 | @@ -745,7 +745,7 @@ |
1060 | <application>php5-mysql</application> you can enter the following |
1061 | command in the terminal prompt: |
1062 | <screen> |
1063 | -<command>sudo apt-get install php5-mysql</command> |
1064 | +<command>sudo apt install php5-mysql</command> |
1065 | </screen> |
1066 | </para> |
1067 | <para>Similarly, to use <application>PostgreSQL</application> with PHP5 you should install |
1068 | @@ -753,7 +753,7 @@ |
1069 | <application>php5-pgsql</application> you can enter the following |
1070 | command in the terminal prompt: |
1071 | <screen> |
1072 | -<command>sudo apt-get install php5-pgsql</command> |
1073 | +<command>sudo apt install php5-pgsql</command> |
1074 | </screen> |
1075 | </para> |
1076 | </step> |
1077 | @@ -856,7 +856,7 @@ |
1078 | </para> |
1079 | <para> |
1080 | <screen> |
1081 | -<command>sudo apt-get install squid3</command> |
1082 | +<command>sudo apt install squid3</command> |
1083 | </screen> |
1084 | </para> |
1085 | </sect2> |
1086 | @@ -995,7 +995,7 @@ |
1087 | you can enter the following command in the terminal prompt: |
1088 | </para> |
1089 | <screen> |
1090 | -<command>sudo apt-get install rails</command> |
1091 | +<command>sudo apt install rails</command> |
1092 | </screen> |
1093 | |
1094 | </sect2> |
1095 | @@ -1096,7 +1096,7 @@ |
1096 | <para>To install the Tomcat server, |
1097 | you can enter the following command in the terminal prompt:</para> |
1098 | <screen> |
1099 | -<command>sudo apt-get install tomcat7</command> |
1100 | +<command>sudo apt install tomcat7</command> |
1101 | </screen> |
1102 | <para>This will install a Tomcat server with just a default ROOT webapp |
1103 | that displays a minimal "It works" page by default.</para> |
1104 | @@ -1157,7 +1157,7 @@ |
1105 | default at http://yourserver:8080/docs. You can install it by entering |
1106 | the following command in the terminal prompt:</para> |
1107 | <screen> |
1108 | -<command>sudo apt-get install tomcat7-docs</command> |
1109 | +<command>sudo apt install tomcat7-docs</command> |
1110 | </screen> |
1111 | </sect3> |
1112 | <sect3 id="tomcat-installation-admin" status="review"> |
1113 | @@ -1167,7 +1167,7 @@ |
1114 | web interface. You can install them by entering the |
1115 | following command in the terminal prompt:</para> |
1116 | <screen> |
1117 | -<command>sudo apt-get install tomcat7-admin</command> |
1118 | +<command>sudo apt install tomcat7-admin</command> |
1119 | </screen> |
1120 | <para>The first one is the <emphasis>manager</emphasis> webapp, which |
1121 | you can access by default at http://yourserver:8080/manager/html. It is |
1122 | @@ -1205,7 +1205,7 @@ |
1123 | http://yourserver:8080/examples. You can install them by entering the |
1124 | following command in the terminal prompt:</para> |
1125 | <screen> |
1126 | -<command>sudo apt-get install tomcat7-examples</command> |
1127 | +<command>sudo apt install tomcat7-examples</command> |
1128 | </screen> |
1129 | </sect3> |
1130 | </sect2> |
1131 | @@ -1227,7 +1227,7 @@ |
1132 | <para>You can install everything necessary to run private instances |
1133 | by entering the following command in the terminal prompt:</para> |
1134 | <screen> |
1135 | -<command>sudo apt-get install tomcat7-user</command> |
1136 | +<command>sudo apt install tomcat7-user</command> |
1137 | </screen> |
1138 | </sect3> |
1139 | <sect3 id="tomcat-user-create" status="review"> |
Simon. O.K. great thanks.
I am just going to build it, merely as a sanity check.