How to install OpenPanel and Drupal on Ubuntu 10.04 64 Bit Server With Recommended Drupal Permissions (Step 1 of 3)

Printer-friendly versionPDF version

If you are looking for an attractive, feature rich web hosting control panel, then OpenPanel is for you. It has a handful of features that make it stand out from the crowd, including an easy installation, sleek design, and simple management. Installing OpenPanel on Ubuntu, as you will see, is quite easy. It is all done through an OpenPanel repository and the package manager. Among other Open Source web hosting control panels, it is safe to say that OpenPanel has a much more attractive design than the others. Not only can you manage web servers with OpenPanel, you can manage the entire system very easily, including email, FTP, DNS, and updates. This tutorial is for beginners that are new to OpenPanel and need a step-by-step guide to the installation and configuration of OpenPanel.

To begin, I will assume you already have Ubuntu 10.04 installed, updated, and configured with a static IP address. The only additional packages you will need during installation are SSH. It is recommended that OpenPanel be installed on a fresh system with no additional servers running on it, so DO NOT install LAMP or anything else during the install of Ubuntu. All commands are ran as a normal user with sudo, unless otherwise noted.

To add the OpenPanel repository and install OpenPanel:

sudo sh -c 'echo "deb stable main

 deb-src stable main" >> /etc/apt/sources.list'

 sudo apt-key adv --keyserver --recv-keys 4EAC69B9

sudo apt-get update

sudo apt-get install openpanel-suggested

As you see, OpenPanel installs quite a few packages and configures them for you. Here is a list of packages OpenPanel installs:

OpenPanel Packages

Enter the MySQL root password and then confirm it:


Postfix configuration. We will be selecting the defaults for everything Postfix. Hit OK to continue:


Choose "Internet Site":


Hit OK to select the defaults:


Select No for "Create directories for web-based administration":


Select OK to generate a self-signed certificate:



To set the openpanel-admin password:

sudo openpanel-cli

password user openpanel-admin


Now reboot:

sudo reboot


Conratulations, you now have OpenPanel installed. To access the web GUI: https://ipaddress:4089

Login with username "openpanel-admin" and whatever password you set in the last step.

In step 2, we will learn how to use OpenPanel by setting up a website, domain, ftp user, and email account.

If you have any questions or comments about this step, please feel free to leave a comment below.

Step 2

Step 3

File attachments: 

I am new to LInux and would like to know which directory I should upload the OpenPanel script? Using Ubuntu 10.04.



Which script are you referring to? The method we are using involves installing through the repositories.

Trying to install OpenPanel, with little Linux experience. How may I do this, I have ssh and Win SCP. Where to I upload it and how do I install?

I will not be able to respond anymore, the capcha is most difficult. Contact me on Skype: rick-eiproject

If you register, you will not be required to enter CAPTCHA, however, I eased the difficulty of the CAPTCHA anyway.

I do not know what script you are referring to. This tutorial is designed for people that are new to Linux. You should be able to follow the steps listed to install OpenPanel. If you are having trouble with one of the steps listed, please let me know your problem and I would be glad to help.

You will need SSH enabled on your server, but you won't need WinSCP for anything.

I stated this now 2 times: Trying to install OpenPanel / Trying to install OpenPanel / Trying to install OpenPanel / Trying to install OpenPanel

Here is how you install OpenPanel on Ubuntu (this is from the tutorial, btw):

Ubuntu 10.04 server edition is very easy to install. You need a fresh install of Ubuntu with OpenSSH (you can install ssh server during the installation process). This tutorial does not cover installing Ubuntu because that is a whole other topic.

After you have Ubuntu installed, run these commands from the command line:

sudo sh -c 'echo "deb stable main

 deb-src stable main" >> /etc/apt/sources.list'


 sudo apt-key adv --keyserver --recv-keys 4EAC69B9

sudo apt-get update

sudo apt-get install openpanel-suggested

That is all you need to in order to install OpenPanel. Should work on most versions of Ubuntu, but this guide has specifically been tested on the LTS version of Ubuntu 10.04.

Where are you running into problems on those steps?


Hi ingram,

I have to create all of those directories and download each file in stable main ?


I am logged in and still have to deal with Captcha.

No, you don't have to manually create any directories. If you run this command:

sudo sh -c 'echo "deb stable main

 deb-src stable main" >> /etc/apt/sources.list'

(that's all in one line)

It will add the openpanel repository to your sources.list file. The commands after that simply update your repositories and then install the openpanel packages.

It's very simple. Basically, 4 commands and you should have openpanel installed

Hi again,

I am a Windows head and I am intimated by Linux. To which folder do I upload OpenPanel. If you contact me on Skype I would be willing to pay for your services. Skype: rick-eiproject

Kind regards,




Hi.. I accidently chose yes to the question "Create directories for web-based administration":

what affect will this have?


Can you please update this for Ubuntu 12.04.

I got wrong sources.list entry and something about expect stable and got lenny. Thanks!

Currently there is an issue with the repository's on that site. I would recommend using 10.04 with this until the owner fixes this. I tried with 12.04 and was pointing to natty lol so no good...

hi, i have installed openpanel . installation went through without any error. but 4089 port is not opening. port 80 is opening with default page. also i cannot start the openpanel cli. that shoes error. what could be the problem ?

please help

Post new comment