Friday 20 December 2013

How to install Openpanel on linux

Installation
To install OpenPanel, add the following lines to your /etc/apt/sources.list:

deb http://download.openpanel.com/deb/ precise main
deb-src http://download.openpanel.com/deb/ precise main

where <distribution> should be replaced by the code name for your distribution. e.g. lenny, squeeze or wheezy for Debian, or lucid, maverick, natty, oneiric or precise for Ubuntu.
Then start the installation with the following commands. Make sure you execute these commands as user root. If you’re not root, type sudo -i first.

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4EAC69B9
apt-get update
aptitude install openpanel-suggested

If exim4 is currently installed on your system, aptitude will suggest removing it. If so, aptitude will ask you to confirm this. Enter y when asked to do so.
During installation, you may be asked about the configuration for postfix. Set it to ‘internet site’ with all defaults.
If the apt-key step fails, try:

 wget -O- http://openpa.nl/key | apt-key add -

If the install-step fails, try repeating aptitude install -f to resolve iffy dependencies.
After installation you will need to set the password for the openpanel-admin user before you can log in through the gui. The installation procedure may ask you for a password. If not, start openpanel-cli (as root) and enter the following command:

When the setup is done, you need to set the admin password (without brackets):

sudo openpanel-cli
update user openpanel-admin password=< YOURPASS >
exit

If the above step fails, try the following (due to a bug) (also log in with these credentials afterwards, not openpanel ;) ):

openpanel-cli
create user username password=password name_customer="Full Name" emailaddress="emailaddress"
exit

Please note that the "create" line is on 2 lines, it ends with the emailaddress!

Now you can launch OpenPanel in your browser (Accept the untrusted certificate, as there is no SSL certificate for this machine):
https://< IP OF NAS >:4089
login: openpanel-admin
pass: < YOURPASS >

No comments:

Post a Comment