Here’s a successful installation of the nascent WebGUI 8 as it stands, as of mid July 2014.
I fired up a barebones Debian 7.6 box. One from Linode would work nicely.
NOTE: If you want to use a later version of Perl than comes bundled with your Linux distribution, you’ll have to install it system-wide. The installer does not yet work with perlbrew.
For now you’ll have to run the installer as root, or with sudo. (The only step that fails is when
/etc/nginx/conf.d/webgui8.conf gets created; this should be corrected fairly soon)
I downloaded the latest pre-release installer into a temporary directory as follows:
$ git clone https://gist.github.com/scrottie/2973558 .
Before proceeding, you should install a database. I chose MariaDB. The installer does try to install Percona, but that fails because at least as of Debian 7.6, the module still depends on openssl0.9.8 which can’t be installed as it’s a downgrade from openssl1.0.x that comes with Debian.
Following the instructions at https://downloads.mariadb.org/mariadb/repositories/# use the following commands, for example:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
sudo add-apt-repository 'deb http://ftp.utexas.edu/mariadb/repo/10.1/debian wheezy main'
sudo apt-get install mariadb-server
You will also need a library for the PNG Imager. Per instructions from Imager::File::PNG documentation at http://search.cpan.org/dist/Imager/lib/Imager/Install.pod this should resolve the dependency:
$ sudo apt-get install libpng12-dev
Now, run the installer:
$ sudo perl webgui_installer.pl
and follow the prompts. If something goes wrong, you’ll have to follow the recovery procedure below. But if you get this far:
Running upgrade script…. Installation is wrapping up.
/data/webgui.sh shows how to manually launch WebGUI.
││Installation complete. Go to http:// ││
││www.example.com and set up the new site. ││
││The admin user is "Admin" with password ││
││Please hit any reasonable key to exit the││
you should be ready to, at last:
$ sudo service nginx restart
$ sudo bash /data/webgui.sh
and browse to your www.example.com (presuming you have defined www.example.com in /etc/hosts to point to 127.0.0.1)
To retry the installation, before re-running the installer, you must do:
sudo userdel webgui_user
mysql -u root -p
mysql> drop database www_example_com;
sudo rm -rf /data