Posts

Showing posts from May, 2010

Ubuntu DHCP Server

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

VMware tools in Ubuntu Server

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 TomCat install from scratch

I am working on a fresh install of Ubuntu 10.04 TLS. Here are my notes for the install...

I wanted to see what is available for my version of Ubuntu apt-cache search tomcat I found the complete install of the TomCat6 system apt-get install tomcat6 I did not want the following packages: apt-get install tomcat6-admin apt-get install tomcat6-user Since I am going to use the Apache mod pass through here is my apache install notes.

Install apache 2.2.x apt-get install apache2 I then installed the Apache Mod JK apt-get install libapache2-mod-jk I went ahead and installed mysql 5.1, this is NOT necessary for most people: apt-get install mysql-server-5.1NOTE: This blog post is a work in progress and is not completed, stay tuned.