Archive

Posts Tagged ‘apt-get’

Ubuntu DHCP Server

May 21st, 2010 Arthur Gressick No comments

To install DHCP server from scratch

apt-get install dhcp3-server

When it installs you will see that it had a problem. Don’t worry about this failure, we will fix it. I recommend before we make any changes that we do a backup of the config file.

cd /etc/dhcp3
mv dhcpd.conf dhcpd.conf.bak
nano dhcpd.conf

Here is some sample code for the DHCP configuration

# Sample /etc/dhcpd.conf
# (add your comments here) 
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.1;
option domain-name "gressick.local";
 
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}

For more information on this read from Ubuntu link Ubuntu DHCP3

if you want to install and LDAP version

apt-get install dhcp3-server-ldap

If you want to install the VERY light version of DHCP

apt-get install udhcpd

Categories: Ubuntu 9.x Server Tags: ,

VMware tools in Ubuntu Server

May 21st, 2010 Arthur Gressick No comments

I use Ubuntu desktop but I find that when it comes to virtualization I prefer to use Ubuntu Server more because of the small foot print and to make things much leaner.

Since the Desktop version is the only one that will auto mount the tools in ESX/ESXi implementations you need to get a copy of the tar.gz file from one of the Desktop versions and then SCP it over to the server version unpack it and then run the installer.

You need some prerequisite tools for it to install.

apt-get build-essential

Then you can simple run the installer from the TAR.GZ file. I ran into some compile issues but in the end it all worked. If I find some more notes then I will post them here, keep coming back.

Ubuntu update utilities

February 11th, 2009 Arthur Gressick No comments

After you typically install the Ubuntu server operating system you usually want to install the latest updates. Here are some handy commands to run which will help out.

Update the system

apt-get update

Upgrade

apt-get upgrade

Update Manager Core

apt-get install update-manager-core

Do release update

do-release-upgrade