Install Plogger web photo gallery on a CentOS VPS
Plogger is a simple yet powerful open-source web photo gallery system for creating, editing and managing online photo galleries. Plogger’s interface is very user-friendly and it is easy to use and integrate with your website. Plogger can run on every server with at least MySQL version 3.23, GD version 1.0, PHP version 4 and a web server (Apache or nginx) installed on it.
In this blog article we will guide you through the process of installing Plogger on a CentOS VPS in less than 10 minutes.
Log in to your CentOS box as user ‘root’ and make sure that all packages are up-to-date
yum -y update
Next, go to Plogger’s official website and download the latest available release of Plogger on your server
Inside the document root directory create a directory for Plogger’s installation files
You can find your document root directory using the following command
grep -i '^documentroot' /etc/httpd/conf/httpd.conf DocumentRoot "/var/www/html"
Unpack the downloaded zip archive to the newly created directory
unzip plogger-1.0RC1.zip -d /var/www/html/plogger/
Change the ownership of the ‘plogger’ directory
chown -R apache:apache /var/www/html/plogger
Log in to your MySQL server and create a MySQL database and user
mysql -u root -p Enter password: mysql> create database plogger; mysql> CREATE USER plogger@localhost IDENTIFIED BY "YOUR_PASSWORD"; mysql> GRANT ALL ON plogger.* TO plogger@localhost; mysql> FLUSH PRIVILEGES; mysql> exit
Now, point your web browser to http://YOURDOMAIN.TLD/plog-admin/_install.php and continue the installation.
At the first screen, enter the information of the plogger MySQL database we’ve created above and create your administrator account. Once you fill out the fields, click ‘Proceed’
Before you can proceed with the installation, you need to click the ‘click here’ link to download configuration file for the gallery. You need to upload the file in the Plogger’s installation directory. In our case it is ‘/var/www/html/plogger’
That’s all. You have successfully installed Plogger on your CentOS server. You can start to upload images and create your online galleries.
Of course you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install Plogger for you. They are available 24×7 and will take care of your request immediately.
PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.