Ubuntu- adding new interfaces Rumi, June 28, 2009 It was a little tricky than my centos or suse or fedora experiences, start looking for- /etc/network/interfaces And here goes my configurations- # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo eth0 eth1 iface lo inet loopback # The primary network interface iface eth0 inet static address 123.45.6.78 netmask 255.255.255.0 network 123.45.6.0 broadcast 123.45.6.255 gateway 123.45.6.1 dns-nameservers 127.0.0.1 202.53.160.6 dns-search ensiigen.com pre-up iptables-restore < /etc/iptables post-down iptables-save -c > /etc/iptables # dns-* options are implemented by the resolvconf package, if installed iface eth1 inet static address 192.168.0.107 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 Now need to restart the ethernet interfaces- /etc/init.d/networking restart Related Administrations Configurations (Linux)
Varnish daemon not listening on configured port – Hack for Debian or Ubuntu August 9, 2018 If you’re already troubled with varnish on changing listening ports from default. Here’s a little hack that worked on my Debian and Ubuntu distribution. sudo apt remove varnish sudo apt-get purge varnish # I manually remove the 3 files in created in /etc/systemd/system/* sudo apt install varnish sudo nano /lib/systemd/system/varnish.service… Read More
Resizing a VirtualBox Virtual Hard Disk October 6, 2019 Prerequisites Before you start this procedure you’ll need to do the following. Make sure you have the VBoxManage command-line tool installed on your host system. Download the ISO for a GParted Live CD or else a Linux Live CD using a Linux distribution that includes the GParted partition editor utility. IMPORTANT: If the virtual disk… Read More
May 8, 2011May 8, 2011 Installing VirtualBox From Precompiled Binaries First, we install the packages gdeb, gedbi, and gdebi-core. Open the Synaptic Package Manager (System > Administration > Synaptic Package Manager): You can use the search function to find the three packages. Select them for installation and click on Apply. Close Synaptic after the packages… Read More