How To Install Gallery3 on Ubuntu 14.04

r00t August 1, 2015

install gallery3 on ubuntu 14.04

In this tutorial we will show you how to install Gallery3 on Ubuntu 14.04. For those of you who didn’t know, Gallery3 is an open source photo sharing web application, based on PHP and MySQL. Gallery 3 has intuitive photo management administration and you can use it into your own website no matter whether you’re running a small personal site or a large community portal.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Gallery3 in Ubuntu 14.04 server.

Install Gallery3 on Ubuntu 14.04

Step 1. First of all make sure that all packages are up to date.

Step 2. Install LAMP server and include some PHP extension.

Next, edit your PHP configuration file and set the following:

Start service Apache web server and MySQL also enable it to start on boot of the server:

Step 3. Configure MySQL Database for Gallery3.

By default, MySQL is not hardened. You can secure MySQL using the mysql_secure_installation script. you should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MySQL.

Next we will need to log in to the MySQL console and create a database for Gallery3. Run the following command:

This will prompt you for a password, so enter your MySQL root password and hit Enter. Once you are logged in to your database server you need to create a database for the Gallery3 software:

Step 4. Install Gallery3.

Download the latest stable version of Gallery3, At the moment of writing this article it is version 3.0.9:

Step 5. Accessing Gallery3.

Gallery3 will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/gallery3 or http://server-ip/gallery3 and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel.

gallery3-web-installer

Congratulation’s! You have successfully installed Gallery3. Thanks for using this tutorial for installing Gallery3 in Ubuntu 14.04 system. For additional help or useful information, we recommend you to check the official Gallery3 web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!
Share on Google+0Share on Facebook2Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon1Share on Reddit0Pin on Pinterest2
The Tags:

Leave a Comment