Category: ubuntu

Resetting your ethernet port indexes in Ubuntu

I ran into a situation where I had cloned a virtual machine (VHD) of Ubuntu and networking stopped functioning. Running ifconfig only displayed information for the loopback; it was as if the (virtual) network card wasn't installed, which wasn't the case. What really happened was this: The installation of Ubuntu thought that it now had …

Continue reading

Static IP in Ubuntu

It's all in the file /etc/network/interfaces. You should see an entry like this: auto eth0 iface eth0 inet dhcp Change it to something like this auto eth0 iface eth0 inet static address 192.168.1.192 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 192.168.1.1 192.168.1.2 Then… /etc/init.d/networking restart At this point…you'll usually lose connection 🙁 …but that's good, because your …

Continue reading

What! Ubuntu doesn't allow you to log in as root?

Just like Windows Vista & Windows 7 you can't log into Ubuntu as administrator (root). This is as it should be. However, some tasks require you to escalate your permissions before they can run. To do this in Ubuntu: sudo [command] As long as your user has permission to do so, then you'll be able …

Continue reading

New Virtual Host in Apache on Ubuntu

I'm an IIS guy, so Apache seems arcane to me. And the creation of a new website (aka Virtual Host) was difficult at first, but seems straightforward enough to me now. Here's how it's done. Create a text file that will define your website in /etc/apache2/sites-available. In that text file goes a description of your …

Continue reading

Mounting a CD in Ubuntu

Mounting a CD in Ubuntu isn't as easy as it should be, but it is a lot easier than I thought it would be. mount cdrom That's it. The CD is now mounted and available in /cdrom.

Shell in a Box is great

What a great idea! It's an AJAX shell that gives you access to your Linux command line. Just grab Shell in a Box and install it.

Set the time zone in Linux

Apparently, tzconfig is out. dpkg-reconfigure tzdata …is in!

Uncomplicated Fire Wall – ufw

A great simple firewall for Ubuntu is ufw. It might be running on your system right now: ufw status [verbose] …will tell you whether it's running or not. It's very easy to use. Here's a sample of some of the commands I used to configure the firewall. ufw enable …that's how you turn it on. …

Continue reading