Additions:
hostname
edit /etc/hostname
Deletions:
Additions:
Deletions:
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55]/ etch contrib main
deb
http://ftp.us.debian.org/debian∞ stable main contrib non-free
Additions:
After editing the file, bring up the interface with the standard command
ifup -a
NIC bonding
aptitude install ifenslave
Next, add these to /etc/modules.d/alias
alias bond0 bonding
options bonding mode=6 miimon=100
Then configure the interface via /etc/network/interfaces
auto lo bond0
# bonded interface
iface bond0 inet static
pre-up modprobe bond0
address 192.168.18.13
network 192.168.18.0
broadcast 192.168.18.255
gateway 192.168.18.1
dns-nameservers 1.2.3.4
dns-search domain.tld
up ifenslave bond0 eth0 eth1
down ifenslave -d bond0 eth0 eth1
iface bond0:0 inet static
address 192.168.18.11
netmask 255.255.255.255
Deletions:
After editing the file, bring up the interface with the standard command ifup
Additions:
auto lo eth1 eth2 eth1:0
iface eth1:0
Deletions:
auto lo
Additions:
Debian and hpacucli
aptitude install libstdc6-dev libstdc2.10-dev
Additions:
Additions:
query version
lsb_release -a
Additions:
address 1.2.3.4
netmask 255.255.255.0
network 1.2.3.0
broadcast 1.2.3.255
gateway 1.2.3.254
dns-nameservers 1.2.3.1
dns-search mydomain.com
up route add -net 192.168.2.0 netmask 255.255.255.0 gw 1.2.3.253
down route del -net 192.168.2.0 netmask 255.255.255.0 gw 1.2.3.253
Deletions:
address 209.18.127.155
netmask 255.255.255.192
network 209.18.127.128
broadcast 209.18.127.191
gateway 209.18.127.129
dns-nameservers 64.27.120.188
dns-search austereo.com.au
Additions:
invoke-rc.d dhcp3-server restart
Additions:
address 209.18.127.155
netmask 255.255.255.192
network 209.18.127.128
broadcast 209.18.127.191
gateway 209.18.127.129
dns-nameservers 64.27.120.188
dns-search austereo.com.au
address 192.168.33.137
netmask 255.255.248.0
Debian dist upgrade
# apt-get upgrade
# apt-get dist-upgrade
# apt-get update
# apt-get -t stable upgrade
# apt-get -t stable dist-upgrade
Debian rc update
update-rc.d -f gdm remove
update-rc.d atftpd defaults
Deletions:
address 209.18.127.155
netmask 255.255.255.192
network 209.18.127.128
broadcast 209.18.127.191
gateway 209.18.127.129
dns-nameservers 64.27.120.188
dns-search austereo.com.au
address 192.168.33.137
netmask 255.255.248.0
Additions:
Debian quick installation tips
Network configuration files
One can config the network interfaces by editing the file /etc/network/interfaces. here's a sample file:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth1
iface eth1 inet static
address 209.18.127.155
netmask 255.255.255.192
network 209.18.127.128
broadcast 209.18.127.191
gateway 209.18.127.129
dns-nameservers 64.27.120.188
dns-search austereo.com.au
iface eth2 inet static
address 192.168.33.137
netmask 255.255.248.0
After editing the file, bring up the interface with the standard command
ifup
Network updates
On can update the Debian packages using apt-get. Before using it, one must first supply the server to retrieve updates. Edit the file
/etc/apt/sources.list
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55]/ etch contrib main
deb http://ftp.us.debian.org/debian stable main contrib non-free
Then run
aptitude update
aptitude dist-upgrade
Then you can use apt-get as usual. For example,
apt-get install openssh-server