My name is Stefan Ashwell and when I'm not coding personal projects or painting miniatures, I'm a Software Engineer at Holmes Media in Market Harborough.

This blog is a place for me to write about things that require that little bit extra to solve. We all have gaps in our knowledge and every now and then I need to reach out on search engines or blogs to find an answer. Often, these answers come from multiple sources. This blog serves as a personal resource, but if it's helpful for me I'm sure it'll help others too!

Installing Plesk on Ubuntu 14.04

Posted on 27 May 2015

This is a quick guide for installing Plesk onto a Digital Ocean Ubuntu 14.04 droplet. This is done on a completely blank droplet straight after it’s creation.

Install wget

Firstly, we need to make sure wget is installed. Run the following:

apt-get install wget

Plesk installation

Next we download the Plesk installer with the following command:

wget http://autoinstall.plesk.com/plesk-installer

Then run it:

sh ./plesk-installer

Press enter to use the defaults for the first 3 options, and then it will begin downloading files.

Press enter to use 2 more defaults and it will download more files.

Next it will ask which components to install, we can use the defaults here too so press Enter.

After running through the installation, you should now be able to access Plesk on https://<ip address>:8443

If you get a hostname error…

Open up /etc/hostname and enter the website domain you are setting the server up for

domain.tld

Change the hostname of the system by running:

hostname domain.tld

Then open up /etc/hosts and add the following line:

ip.ip.ip.ip   domain.tld   domain

What’s the admin password?

Run the following command to find out the admin password:

/usr/local/psa/bin/admin --show-password