Results 1 to 6 of 6

Thread: HOW TO: Install VMware Server 2 without X Server

Threaded View

  1. #1
    Join Date
    Oct 2006
    Location
    Central Florida
    Beans
    1,264
    Distro
    Ubuntu 10.04 Lucid Lynx

    Post HOW TO: Install VMware Server 2 without X Server

    With VMWare Server 2 using a web based console, there is no need to even install X on your server. The result is more memory and processing power available for your VMs. This was tested on Hardy Heron. **Note: This method does not install a sound card in the VM.

    Register.
    Visit http://www.vmware.com/go/getserver. Create an account and get your serial number for the installation. Print your registration code as you will need it later. Don't download it yet.

    Start with a minimal Ubuntu Server install.
    You won't need to add any additional server roles.

    Add additional packages.
    After you have booted into the console, enter
    Code:
    sudo apt-get install psmisc libxrender1 libxt6 build-essentials linux-headers-`uname -r` links2 openssh-server
    Download VMWare Server 2.
    Unfortunately there seems to be no way to use WGET to get the package from the command line, so we'll roll back the clock to the early 80's and browse the web in text mode!
    Code:
    cd /tmp
    sudo links2 http://www.vmware.com/go/getserver
    Use the up and down arrows to move between fields. Log in with your email address and password you created on your first visit (if you mistyped the URL, hit G and re-enter). Highlight [Submit] and hit Enter to get to the download page. Your serial numbers should show again... scribble them down if you haven't already. Use the down arrows to find the 32 bit or 64 bit TAR image you need. Hit Enter and the download will proceed.

    Stretch your legs.
    The toughest part is behind you. The download is 500MB. When the download is complete, hit Q to exit links2.

    Extract the tarball.
    Code:
    sudo tar -xvzf VMware*
    Install and configure VMware Server 2.
    Code:
    vmware-server-distrib/vmware-install.pl
    Blast through the defaults. After you have configured networking, be sure to set yourself as the administrator. Finally, when entering the serial number DO IT IN CAPS or you'll have to enter it all over again.

    Set a static address.
    You'll probably want to set your server to a static IP address.
    Code:
    sudo nano /etc/network/interfaces
    Here is a sample configuration with the server at 192.168.1.19, submask 255.255.255.0 and gateway of 192.168.1.1
    Code:
    iface eth0 inet static
    	address 192.168.1.19
    	netmask 255.255.255.0
    	broadcast 192.168.1.255
    	gateway 192.168.1.1
    Now, restart networking for the changes to take effect
    Code:
    sudo /etc/init.d/networking restart
    Clean up!
    We've eaten up over a gig in space in the /tmp directory which we won't need anymore.
    Code:
    cd /tmp
    sudo rm VM*
    sudo rm vm* -R
    Test.
    Go to another machine on your network and browse to https://SERVER_IP_ADDRESS:8333. Accept the certificate (you'll likely have to make an exception for it) and you'll see the VMWare web console! You can create a VM and install a graphical OS without having a GUI on the server!

    SSH was included to manage the server. If you prefer ftp, install your preferred ftp server to add .iso images, or create a datastore on another machine that holds those files for you.
    Last edited by lazyart; October 10th, 2008 at 02:04 AM.
    Why can't life have a sudo apt-get install -f command?
    Install VMWare Server 2 on a text-only system
    Need help getting your printer working in Linux?
    It's all about choice, right? Then stop flaming Windows users.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •