KfWiki : LinuxDebian

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Revision [1996]

Most recent edit made on 2008-10-10 02:15:15 by WikiAdmin

Additions:

hostname

edit /etc/hostname


Deletions:

hostname www.domain.tld




Revision [1995]

Edited on 2008-10-10 02:01:01 by WikiAdmin

Additions:

hostname www.domain.tld
deb http://smarden.org/pape/Debian/ sarge unofficial
deb-src http://smarden.org/pape/Debian/ sarge unofficial
deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free


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




Revision [1941]

Edited on 2008-09-10 03:04:26 by WikiAdmin

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




Revision [1939]

Edited on 2008-09-09 21:46:18 by WikiAdmin

Additions:
auto lo eth1 eth2 eth1:0
iface eth1:0
address 1.2.3.5


Deletions:
auto lo




Revision [1938]

Edited on 2008-09-09 20:14:09 by WikiAdmin

Additions:

Debian and hpacucli

aptitude install libstdc6-dev libstdc2.10-dev




Revision [1867]

Edited on 2008-08-04 09:24:57 by WikiAdmin

Additions:
http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html




Revision [1866]

Edited on 2008-08-04 09:24:31 by WikiAdmin

Additions:
query version
lsb_release -a




Revision [1703]

Edited on 2008-05-01 09:39:49 by WikiAdmin

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




Revision [1673]

Edited on 2008-04-17 16:36:01 by WikiAdmin

Additions:
invoke-rc.d dhcp3-server restart




Revision [1669]

Edited on 2008-04-17 09:00:55 by WikiAdmin

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




Revision [1527]

Edited on 2008-03-23 09:45:48 by WikiAdmin

Additions:
To get a closer mirror, find one from http://www.debian.org/mirror/mirrors_full




Revision [617]

The oldest known version of this page was edited on 2007-06-03 21:30:00 by WikiAdmin
HomePage » Linux » LinuxDebian


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
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 1.0052 seconds