Here's what I've done to install OpenPanel in 12.04. I haven't completely tested it, so you're on your own in that regard.
Since there is no installation candidate for Precise as of yet, we'll let Ubuntu know to use the Oneiric version instead.
/etc/apt/sources.list
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.
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:
If the install-step fails, try repeating aptitude install -f to resolve iffy dependencies.
Of course, this means we'll have to let Ubuntu know that installation candidates for OpenPanel are coming from an Oneiric source, rather than a Precise source.
/etc/apt/preferences.d/30-pinning
If at this point we run
CODE: SELECT ALL
apt-get update
apt-get install openpanel-suggested
we get some errors about unmet dependencies. This is because some of the package dependencies are no longer present in Precise. We could handle this on a package-by-package basis, but I found this to be a lot simpler and more elegant.
First, we'll create a sources list for Oneiric
and then let Ubuntu know that some packages will come in from Oneiric at a lower priority than any matching Precise versions.
/etc/apt/preferences.d/30-pinning
At this point,
should work like a champ. However, as I mentioned up top, I haven't put this into a production system yet, so your mileage may vary.
Untested As an aside, it might be possible to simplify the pinning file as such.
/etc/apt/preferences.d/30-pinning
CODE: SELECT ALL
Package: *
Pin: release n=precise
Pin-Priority: 300
Package: *
Pin: release n=oneiric
Pin-Priority: 200
Now you need to run the deamon:
And set up a user
Now navigate to https://10.115.0.47:4089
deb http://download.openpanel.com/deb/ oneiric main deb-src http://download.openpanel.com/deb/ oneiric main
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4EAC69B9
wget -O- http://openpa.nl/key | apt-key add -
Package: openpanel-* Pin: release n=oneiric Pin-Priority: 400 Package: * Pin: release n=precise Pin-Priority: 300
sed -e 's/precise/oneiric/g' /etc/apt/sources.list > /etc/apt/sources.list.d/oneiric.list
Package: openpanel-* Pin: release n=oneiric Pin-Priority: 400 Package: * Pin: release n=precise Pin-Priority: 300 Package: * Pin: release n=oneiric Pin-Priority: 200
apt-get update apt-get install openpanel-suggested
/etc/init.d/openpanel start
openpanel-cli [openpanel]% password user openpanel-admin Enter new password: Retype new password: % Password updated [openpanel]% exit