Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
linux:debian [2007/03/27 10:36] greebo |
linux:debian [2010/03/04 13:49] (current) a |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| == HP & Debian == | == HP & Debian == | ||
| Line 15: | Line 18: | ||
| + | ===== Network tips ===== | ||
| + | ==== Interface bonding ==== | ||
| + | **''/ | ||
| + | auto bond0 | ||
| + | iface bond0 inet static | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | up / | ||
| + | |||
| + | ==== bridge setup ==== | ||
| + | **''/ | ||
| + | auto br0 | ||
| + | iface br0 inet static | ||
| + | address 192.168.0.100 | ||
| + | netmask 255.255.255.0 | ||
| + | network 192.168.0.0 | ||
| + | broadcast 192.168.0.255 | ||
| + | gateway 192.168.0.1 | ||
| + | bridge_ports eth0 eth1 | ||
| + | bridge_fd 0 | ||
| + | bridge_hello 0 | ||
| + | bridge_stp off | ||
| ===== Perfect Debian Server Setup ===== | ===== Perfect Debian Server Setup ===== | ||
| Line 87: | Line 115: | ||
| | | ||
| | | ||
| + | |||
| + | |||
| + | |||
| Line 129: | Line 160: | ||
| # | # | ||
| - | dpkg-query -W --showformat=' | + | ==== Some dpkg-hacks ==== |
| - | \\ | + | |
| - | | + | dpkg-query -W --showformat=' |
| + | | ||
| + | dpkg --get-selections | awk '{ print $1; }'| tr " | ||
| + | **Sorting debian packages installed by size** | ||
| + | | ||
| + | |||
| + | |||
| + | == How to disable IPv6 in debian linux == | ||
| + | / | ||
| + | net ipv-10 off\\ | ||
| + | net ipv6 off\\ | ||
| + | |||
| + | ===== Tips & troubleshooting ===== | ||
| + | ==== ' | ||
| + | |||
| + | Create a file **/ | ||
| + | |||
| + | | ||
| + | |||
| + | in it. If it still fails, make that number higher. | ||
| + | |||
| + | ==== apt-get (from Debian) suddenly segfaults ==== | ||
| + | |||
| + | Delete the file ' | ||
| + | |||
| + | ==== Create a backup list of packages and resinstall ==== | ||
| + | |||
| + | sudo dpkg --get-selections > package_list.txt | ||
| + | |||
| + | Save the text file on a thumb drive, format the drive, reinstall Ubuntu/ | ||
| + | |||
| + | sudo dpkg --set-selections < package_list.txt | ||
| + | sudo apt-get -y update | ||
| + | sudo apt-get dselect-upgrade | ||

