- Aseta CD:ltä boottaus päälle BIOS:ista tai valitse boottausvalikosta
CD-asema
- Käynnistä kone 1. CD:ltä
- Aloita asennus 2.6 kernelillä kirjoittamalla linux26
- Valitse asennuskieli (Englanti on suositeltava)
- Valitse maaksi Other -> Europe -> Finland
- Valitse keymapiksi Finnish
- Jos koneessa on useampi verkkokortti, valitse se joka on
WAN-liitännässä
- Anna koneelle hostname, domainnimen voi jättää tyhjäksi
- Valitse manuuaalinen kiintolevyn osiointi. Seuraavassa esimerkki
kiintolevyn osioinnista:
name |
flags |
part. type |
fs type |
size |
mount point |
hda1 |
boot |
primary |
ext3 |
20 GB |
/ |
hda2 |
|
primary |
ext3 |
5 GB |
/var/log |
hda5 |
|
logical |
ext3 |
90 GB |
/home |
hda6 |
|
logical |
swap |
5 GB |
- |
- Install the GRUB boot loader to the master boot record? Go Back
- Install the LILO boot loader to the hard disk
- Valitse että LILO asennetaan /dev/hda:han
- Poista CD CD-asemasta ja boottaa kone
- Is the hardware clock set to GMT? No
- Are you in the Europe/Helsinki time zone? Yes
- Kirjoita rootin salasana
- Luo ainakin yksin normaalikäyttäjä ja anna sille salasana
- Exim:in konfiguraatioon kannattaa valita local delivery only, koska
postipalvelinohjelmisto vaihdetaan Postfix:iksi myöhemmin
- root and postmaster mail recipient: <joku käyttäjä jonka loit aiemmin>
- Valitse asennettavat paketit Manual Selection:illa ja/tai valitse
kokonaisuudet käyttötarkoituksen mukaan
- Ennen kuin asennat muita kuin asennuksessa valittuja paketteja, kommentoi
tiedostosta /etc/apt/sources.list rivi deb cdrom: ..., jotta
paketteja ei turhaan haeta CD:ltä.
- Suorita komento apt-setup lisätäksesi pakettejen latausosoitteita
esimerkiksi seuraavasti:
valitse http
valitse Finland
valitse sopiva lähde, esim. ftp.fi.debian.org
HTTP proxy information (blank for none): jos käytössä ei ole proxyä, jätä
tyhjäksi
Add another apt source? No
- Suorita komento apt-get update, jotta äsken tekemäsi muutokset
tulevat voimaan
Perusasennuksessa kannattaa asentaa ainakin seuraavat paketit:
ssh dhcp samba smbclient vim snmp snmpd postfix lm-sensors smartmontools ntpdate
smbfs
Seuraavassa yleisimmin asennettavista paketeista riippuvia kysymyksiä ja niiden
vastauksia:
SSH-palvelin (ssh)
- Allow SSH protocol version 2 only? Yes
- Do you want /usr/lib/ssh-keysign to be installes SUID root? Yes
- Do you want to run sshd-server? Yes
Graafinen käyttöliittymä (xserver-common xserver-xfree86 kdm kde
x-window-system-core)
- With what method should texts be rendered? Valitse näyttötyypin mukaan
- Do you want to entrust font management to defoma? Yes
- Where are your repositories? /var/lib/cvs
- Do you wish to fix invalid repositories? create
- Should the CVS pserver be enabled? No
- Which paper size should be the system default? A4
- Which communication port to use with the Palm? None
- Attempt to autodetect video hardware? No
- Select the desired X server driver. ati
- Please select the XKB rule set to use. xfree86
- Please select your keyboard model. pc104
- Please select your keyboard layout. fi
- Please select your keyboard variant. jätä tyhjäksi
- Please select your keyboard options. jätä tyhjäksi
- Please choose your mouse port. /dev/psaux
- Please choose the entry that best describes your mouse. ExplorerPS/2
- Is your monitor an LCD device? Yes tai No
- Please choose a method for selecting your monitor characteristics. Medium
- Please select your monitor's best video mode. Valitse oikea resoluutio
- Select the video modes you would like the X server to use. Valitse
käytettävät resoluutiot
- Please select your desired default color depth in bits. 24
Lauri Laukkarinen
2006-03-23