|
46.
|
|
|
To deactivate a service at boot, for example, apache2: 'sudo update-rc.d -f apache2 remove'. To activate it: 'sudo update-rc.d apache2 install defaults'.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:146
|
|
47.
|
|
|
Tired of repeatedly pressing 'y' through some shell process (e.g. fsck)? Try the 'yes' command. 'man yes' for more info.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:149
|
|
48.
|
|
|
For a lightweight VPN alternative, have a look at ssh + netcat-openbsd for SOCKS proxy support.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:152
|
|
49.
|
|
|
Use the 'watch' command to repeat the same command a regular interval and get helpful datetime output. 'man watch' for more details.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:155
|
|
50.
|
|
|
Use lsof to find out which process has open handles for a file. 'lsof +D /path' will find all processes for the given path. This is useful for unmounting media.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:159
|
|
51.
|
|
|
A for loop in bash syntax: 'for i in * ; do echo $i ; done'.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:161
|
|
52.
|
|
|
Default installations do not provide a complete version of the vim text editor. Install vim-full if vi is your preferred editor.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:164
|
|
53.
|
|
|
Need a little refresh on networking concept? Take a look at the networking section of the server guide. https://help.ubuntu.com/9.10/serverguide/C/networking.html
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:168
|
|
54.
|
|
|
Keep your servers time in sync, use the ntpd package. https://help.ubuntu.com/9.10/serverguide/C/NTP.html
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:171
|
|
55.
|
|
|
Package updates can be automated on your server using the unattended-upgrades package. https://help.ubuntu.com/9.10/serverguide/C/automatic-updates.html
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:175
|