Skip to main content

Posts

Showing posts with the label ubuntu server

Manually Setting Up a Static IP in Ubuntu

For some reason, Webmin doesnt work well with Ubuntu 10.04. Everytime I configure a static IP using Webmin, it throws an error at boot. Ive reinstalled several times hoping that it was just a glitch. Maybe for some reason, there was a misconfiguration in the network modules in the source code perhaps. Anyway, getting around this, I decided to be a command line ninja once more. Logging in as root, edit the /etc/network/interfaces file an tweak as needed (I removed the last octet for security reasons, replaced with x and y). # The primary network interface auto eth0 iface eth0 inet static
 address 192.168.1.x gateway 192.168.1.y
 netmask 255.255.255.0
 network 192.168.1.0
 broadcast 192.168.1.255 You could actually just copy some of the values when you're on DHCP by entering ifconfig -a as a sample, heres the data I got (I removed some values and replaced the last octet of the IP with x). eth0      Link encap:Ethernet  HWaddr -- removed --  ...

Desktop GUI on Ubuntu Server

If you're one of those people who'd prefer to install Ubuntu Server for your server needs but is pretty much stumped on all the command line witchcraft. Heres a quick tip on getting your fix on the GUI life. Login to your account and just type sudo apt-get update sudo apt-get install ubuntu-desktop It will check for the packages which needs to be installed and as you answer yes, it will download it from the net and you'd have to manually invoke to get to the desktop. startx