Monday, June 6, 2011

Set up OS, Ubuntu 11.04 server

Set up ubuntu server iso as the cdrom on the vm and just let it install a core LAMP server. I wasn't sure how the vm would handle networking on a 1 network Windows box so I originally started it up without a network card. I added it later using these instructions. Also needed to set up DNS using sudo vi /etc/resolv.conf and the following nameserver lines

nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver 202.51.5.52



YMMV

Up next, Java

2 comments:

  1. Ubuntu has a nameserver onboard. All Linux dists do.

    It's useful as it caches all your stuff on your machine.

    Put this at the top of resolv.conf

    search localhost
    nameserver 127.0.0.1
    search your.provider.net
    nameserver 208 etc

    You can use a fixed IP instead of 127

    ReplyDelete
  2. Ubuntu is somewhat heretical in that it uses Sys V init as many dists do.

    As a slackware user the BSD init system is second nature and I am not fond of Sys V. For instance to run bind I just need to make /etc/rc.d/rc.bind executable. You also need some config files but they should be there for a caching local nameserver.

    You can test to see if you have it running with a:
    dig localhost

    The sections will be localhost if it's working.

    ReplyDelete