Day: September 8, 2009
兩套 Free firewall / NAT / VPN server
比較推薦:
http://www.pfsense.com/
另一套:
http://m0n0.ch/wall/
m0n0wall is probably the first UNIX system that has its boot-time configuration done with PHP, rather than the usual shell scripts, and that has the entire system configuration stored in XML format.
—> 可以看一下他怎麼寫這個的 “boot-time configuration”
debian / ubuntu , APT HOWTO / Guide / 指令速查表
1. Searching for packages apt-cache
sudo apt-cache search package1
2. Getting more Information about a package apt-cache
sudo apt-cache show package1 package2 …
3. Installing a package apt-get install
sudo apt-get install package1 package2 …
sudo apt-get install package1 –reinstall
4. Removing packages apt-get remove
sudo apt-get remove package1 package2
complete remove:
sudo apt-get remove package1 package2 –purge
5. Update your package database apt-get update
sudo apt-get update
6. Upgrading your system apt-get [dist-]upgrade
sudo apt-get upgrade
The smart upgrade with:
sudo apt-get dist-upgrade
7. Resolving conflicts and Broken packages apt-get
sudo apt-get -f install
8. Checking for dependencies and reverse dependencies apt-cache
apt-cache depends package1 package2
apt-cache rdepends package1 package2