Difference between revisions of "Debian tricks"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
Line 16: Line 16:
 
*Change the timezone of Debian:  
 
*Change the timezone of Debian:  
 
  tzconfig
 
  tzconfig
 +
 +
*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)
  
 
[[Category: Debian]]
 
[[Category: Debian]]

Revision as of 06:12, 25 May 2007

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 
  • Change the timezone of Debian:
tzconfig
  • 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)