|
27.
|
|
|
Append your ssh key to your server's authorized keys file using the command 'ssh-copy-id user@server_address'
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:84
|
|
28.
|
|
|
If you want to download a file from a URL via the console, you can use the command 'wget http://address/to/file.tar'
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:87
|
|
29.
|
|
|
To manage Apache modules use "a2enmod" to enable and "a2dismod" to disable. e.g. 'sudo a2enmod rewrite'
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:90
|
|
30.
|
|
|
To manage Apache virtualhosts use "a2ensite" to enable and "a2dissite" to disable. e.g. "sudo a2ensite example.org"
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:93
|
|
31.
|
|
|
Use "top" to get a view of your server's performance such as processor, memory and swap utilisation and see a rolling display of the top cpu using processes.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:97
|
|
32.
|
|
|
If you need to perform a command a second time on a different file, you can use command replacement with the ^ symbol. e.g. "cp foo.txt /to/some/directory" then "^foo^bar", expanding to: "cp bar.txt /to/some/directory".
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:102
|
|
33.
|
|
|
You can contact the Ubuntu Server team on IRC using chat.freenode.net in channel #ubuntu-server. You can also use http://webchat.freenode.net.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:105
|
|
34.
|
|
|
You can edit your network configuration in /etc/network/interfaces and enable your changes by issuing the command sudo /etc/init.d/networking restart.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:109
|
|
35.
|
|
|
If the empty file ~/.hushlogin exists on the server, login to the server will be super quiet. Only the bash prompt is displayed.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:112
|
|
36.
|
|
|
To find a package which name or description contains a keyword use: 'apt-cache search <keyword>'. 'apt-cache showpkg <packagename>' to get details.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:116
|