Debian tricks
From NAS-Central Buffalo - The Linkstation Wiki
(Difference between revisions)
m (Category: Debian) |
m |
||
| (7 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
| + | {{Template:Articles|Kurobox|Debian}} | ||
| + | ==Configure apt-get== | ||
*Change the sources of apt (HTTP, FTP, CD-ROM... and Servers): | *Change the sources of apt (HTTP, FTP, CD-ROM... and Servers): | ||
apt-setup noprobe | apt-setup noprobe | ||
| Line 5: | Line 7: | ||
/etc/apt/sources.list | /etc/apt/sources.list | ||
| + | You can also install netselect-apt, that will automaically generate a sources.list using with the fastest server from the ones avalable. Then you can replace/merge that new file with the /etc/apt/sources.list file. | ||
| + | |||
| + | After you done, don't forget to run the following command as root $ apt-get update | ||
| + | |||
| + | ==Locales== | ||
*Install languages for Debian (Man, Nano...): | *Install languages for Debian (Man, Nano...): | ||
apt-get install locales | apt-get install locales | ||
| + | *Personalize your box's name! | ||
| + | vim /etc/hostname (replace KURO-BOX with the name of your choice) | ||
| + | vim /etc/hosts (update this file, if necessary) | ||
| + | |||
| + | ==System Time== | ||
*Change the timezone of Debian: | *Change the timezone of Debian: | ||
tzconfig | tzconfig | ||
| + | |||
| + | *If order to have your Real Time Clock working, you '''must''' use udev. Set it as root with the command: | ||
| + | hwclock --set --date="12/31/2007 18:13:00" | ||
| + | |||
| + | *Also, it's a good idea to have ntp to automatically sync the time | ||
| + | apt-get install ntp | ||
| + | |||
| + | |||
| + | ==Secure Shell (ssh)== | ||
| + | *Login to your box using ssh instead of telnet (more secure) | ||
| + | apt-get install ssh | ||
[[Category: Debian]] | [[Category: Debian]] | ||
Latest revision as of 15:33, 6 September 2007
Contents |
Configure apt-get
- Change the sources of apt (HTTP, FTP, CD-ROM... and Servers):
apt-setup noprobe
- Or/and edit file:
/etc/apt/sources.list
You can also install netselect-apt, that will automaically generate a sources.list using with the fastest server from the ones avalable. Then you can replace/merge that new file with the /etc/apt/sources.list file.
After you done, don't forget to run the following command as root $ apt-get update
Locales
- Install languages for Debian (Man, Nano...):
apt-get install locales
- Personalize your box's name!
vim /etc/hostname (replace KURO-BOX with the name of your choice) vim /etc/hosts (update this file, if necessary)
System Time
- Change the timezone of Debian:
tzconfig
- If order to have your Real Time Clock working, you must use udev. Set it as root with the command:
hwclock --set --date="12/31/2007 18:13:00"
- Also, it's a good idea to have ntp to automatically sync the time
apt-get install ntp
Secure Shell (ssh)
- Login to your box using ssh instead of telnet (more secure)
apt-get install ssh

