Setting Up Ubuntu Server for the Delphi on Linux

by Dec 20, 2016

After part 1 you should be up Update Subscription so you can join the Godzilla beta. Here are the steps for installing Ubuntu 16.04.1 LTS Server and setting it up for use.

We are using Ubuntu Server because we don't need the extra parts for the desktop (like the GUI layer) and we do need the server components. We are using the LTS (long term support) release. You can download it from Ubuntu's website.

You can either install it in a virtual machine (I used Parallels on my macOS MacBook Pro) or as a bootable OS on your hard drive.

Once you have Ubuntu installed, you need to refresh and update the install using the apt-get package manager via the sudo command.

  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get dist-upgrade

Next we will install some additional packages necessary for development

  • sudo apt-get install joe wget p7zip-full curl openssh-server build-essential zlib1g-dev libcurl4-gnutls-dev

And finally we will do a little clean-up

  • sudo apt-get autoremove
  • sudo apt-get autoclean

These commands are useful when you want to reboot or shutdown

  • reboot
  • shutdown now

If you are installing under Parallels and want to install the Parallels Tools

  • sudo mount -o exec /dev/cdrom /media/cdrom
  • cd /media/cdrom
  • ./install

You can uninstall them later if you change your mind

  • sudo /usr/lib/parallels-tools/install -r

Check out the Ubuntu terminal command reference for more information

Make sure you are on Berlin Enterprise with Update Subscription so you are ready for Linux Server support!