Installing OpenPanel on localhost or actually your Ubuntu PC can be used for installation and management of various web softwares through a control panel. We previously shown the process of installing OpenPanel on server as Free Web Control panel, which has in the front end better graphics and clean interface than paid cPanel.
Installing OpenPanel on localhost or your Ubuntu PC : Warnings
The first thing you should know Installing OpenPanel on localhost or Ubuntu PC is– if you have a Static IP, your www folder and WordPress is actually accessible by default from Internet. This is great if you want to use your Ubuntu 12.04 PC as a test server. But if you do not have a static IP or IP changes too fast, then use http://localhost/ in browser or usual http://127.0.0.1/ IP to access your test installation. Second is, OpenPanel is designed to be installed on a clean Ubuntu 11.04 (Natty) or Ubuntu 11.10 (Oneiric) server. Having other web control packages packages installed can be a problem. So, be mentally prepared with a backup if you have installed hundreds of web control panel before hand. Installing OpenPanel on Ubuntu 12.10, Ubuntu 12.04 can be done without any problem, although officially not supported.
Installing OpenPanel on localhost or Ubuntu PC : Steps
As I am actually installing OpenPanel on my Ubuntu PC with already configured as server for various tutorials guides, you might face problem with a native desktop Ubuntu (I am not sure about OpenPanel). Open Terminal and run this command :
cat /etc/hosts | grep localhost
It should return the result like mine :
It is a funny screen shot. I took it while typing and dragged it on writing pane in WordPress. If it returns error, please install Apache2 (check Ubuntu docs or ask in forum).
Open the sources.list in graphically visible Gedit :
gksudo gedit /etc/apt/sources.list
Add these two line at the end of the file :
deb http://download.openpanel.com/deb/ precise main deb-src http://download.openpanel.com/deb/ precise main
And save it and close. You can edit in CLI instead of Graphical Gedit by running this command :
You must be logged as root user, so type these one by one :
Now add the key :
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4EAC69B9 Perform an update :
You need to have aptitude to be installed, most do not have aptitude installed, in case the next command returns error install aptitude then run this command :
aptitude install openpanel-suggested
Accept whatever comes with Y while installing Installing OpenPanel. Set it to ‘internet site’ in that GUI that will come. But you do not have SSH keys, so one by one :
ssh-keygen -t rsa -f ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
After this you need to install Apache2 SSL module and do the works for making https url working. Your OpenPanel will be at :