instalace serveru (debian etch)



1) instalace z CD (netinstal)

2) uprava /etc/apt/sources.list

vi /etc/apt/sources.list

(a = editace, ESC = konec editace, ZZ = ulozit)

zdroje:
deb http://ftp.cz.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.cz.debian.org/debian/ etch main contrib non-free

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

apt-get update && apt-get upgrade


3) instalace základních programů - např:

apt-get install mc lynx zip unzip make ftp
apt-get install openssh-server openssl dnsutils
apt-get install clamav-daemon ntp-server ntpdate
apt-get install apache2 libapache2-mod-php5 php5-mysql php-pear php5-gd php5-cli
apt-get install mysql-server

4) případně odinstalovat nepotrebnosti
apt-get remove netatalk
update-rc.d -f netatalk remove

5) nastavení cz klávesnice - seznam v /usr/share/keymaps
loadkeys cz-us-qwertz

nastavení i po rebootu: nakopírovat keympu do /etc/boottime.kmap.gz


6) nastavit sitova rozhrani

/etc/network/interfaces
auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
address 10.10.10.1
netmask 255.255.255.0
network 10.10.10.0
broadcast 10.0.0.255

prirazeni nazvu eth0, eth1 k MAC adresam se da zmenit v:

/etc/udev/rules.d/z25_presistent-net.rules 


7) instalace a konfigurace dnscache

Last update:
2007-05-23 09:10
Author:
Daniel
Revision:
1.13
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.