Help with Installing Kirby on DigitalOcean

Hi,
I’m trying my hand at installing Kirby on Digital Ocean and just getting stuck. The following are the steps I’ve taken and wondering if someone could point me in the right direction.

  1. Install Ubuntu 14.04 following this tutorial and created a non root user
    https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04
  2. Setup Apache Virtual hosts - https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts
  3. Tried changing permissions based on this forum post and still cannot get my site to load
    Kirby on DigitalOcean LAMP URLS doesn’t work

Anyone have a few minutes to direct me in the finer points to a proper install on Digital Ocean I would be grateful. Thanks

What exactly does not work/load for you? Do you get the homepage? Or does even that return a white page or an error message?

do you have install your webserver? (LAMP), or what exactly do you mean

You could use https://serverpilot.io to make things a lot easier. Serverpilot connects to your droplet and creates a LAMP environment with its own user. After that, it’s just a breeze to create apps through SP and manage domain networking at DO. Kirby works flawlessly there, I’ve tested it many times. :slight_smile:

This is all you need for your droplet:

Your server must be Ubuntu 16.04 or 14.04 (64-bit).
Only clean servers (no Nginx, Apache, or MySQL installed) can be connected to ServerPilot.

2 Likes

Hello,

If you don’t have much experience with servers and permissions, personally I recommend to use the Vesta Control Panel which do a lot of task for you.

  1. Start with a new Droplet (Ubuntu 14.04). Possible you must fix the locale issues with Ubuntu

  2. Install Vesta CP:

     # Connect to your server as root via SSH
     ssh root@your.server
    
     # Download installation script
     curl -O http://vestacp.com/pub/vst-install.sh
    
     # Run it
     bash vst-install.sh
    

    This will install a LAMP stack. You can manage the firewall, virtual hosts, and users with ease.

  3. Create an new user with vesta and login with it. Enable the ‘bash’ option if you want to use the terminal to install kirby using git.

  4. Add the hosting and domain to the new user and install Kirby or upload your site using FTP or SFTP.

  5. (Optional) You should disable the root login as is mentioned in the Digital Ocean article https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04#step-five--configure-ssh-daemon.

I’ve done a lot of droplets and some of them with kirby + vesta working like a charm.

Best Regards

This is really helpful. Thank you!

I am also very happy using Server Pilot in combination with Digital Ocean. All the upsides of a panel-like system with the speed of an SSD server. And you get free security updates and SSL too!

1 Like

Thanks everyone for taking the time to answer my question. I have enough information to move forward. Appreciate the support of this community.

Can you use deploybot with this?