Ubuntu /etc/network/interfaces DHCP setup
To setup eth0 to dhcp in /etc/network/interfaces
auto eth0
iface eth0 inet dhcp
/etc/network/interfaces Ubuntu Static Network setup
Following example setup eth0 with 192.168.1.1 IP address and gateway (router) to 192.168.1.2
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.2
With IPtables
auto eth0
iface eth0 inet dhcp
pre-up iptables-restore < /etc/iptables.rules
post-down iptables-restore < /etc/iptables.downrules
Another Example -
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
address [...]
alfresco-community open source enterprise content management solution
$ sudo apt-cache search alfresco
alfresco-pdf2swf – a PDF to SWF converter
alfresco-community – open source enterprise content management solution
How to install
$ sudo apt-get install alfresco-community
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
alfresco-pdf2swf dbconfig-common gcj-4.3-base imagemagick imagemagick-doc
java-common jsvc libcommons-collections-java libcommons-daemon-java
[...]