{"id":3594,"date":"2014-06-03T11:23:18","date_gmt":"2014-06-03T16:23:18","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=3594"},"modified":"2022-12-16T06:10:34","modified_gmt":"2022-12-16T12:10:34","slug":"install-your-own-photo-gallery-using-piwigo-and-ubuntu-14-04-lts-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-your-own-photo-gallery-using-piwigo-and-ubuntu-14-04-lts-vps\/","title":{"rendered":"Install your own Photo Gallery using Piwigo and Ubuntu 14.04"},"content":{"rendered":"
In this article we are going through the steps of installing and setting up a private\/public Photo Gallery using Piwigo<\/strong> on one of our Ubuntu based virtual servers<\/strong><\/a>.<\/p>\n What exactly is Piwigo?<\/strong><\/p>\n It is open-source photo gallery software for the web, built by an active community of users and developers. Piwigo extensions make it easily customizable and highly flexible. Piwigo<\/b> is free and open source software.<\/p>\n <\/p>\n Before you start with the installation of Piwigo, make sure you are in a Piwigo requires a webserver, a database server and a PHP server\/support on your linux virtual server<\/a>. So, let’s set-up LAMP (Linux Apache MySQL and PHP)<\/strong> on the system.<\/p>\n Install Apache2 on your Ubuntu 14.04 VPS using:<\/p>\n Next, proceed with installing the MySQL database server in your system using<\/p>\n once installed, run the post-installation script install PHP support on the system using the following command:<\/p>\n check it out using<\/p>\n install GD PHP support in case it’s not already installed on the system<\/p>\n Install Piwigo in create a new MySQL database for Piwigo using MySQL command line or any other tool like phpMyAdmin. Using command line, this can be achieved by running the following SQL statements:<\/p>\n once the database is created, navigate to http:\/\/yourdomain.tld\/gallery\/ and set-up your Piwigo as shown on the screenshot below:<\/p>\n <\/p>\n that’s it.<\/p>\n Of course you don\u2019t have to do any of this if you use one of our Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Piwigo for you. They are available 24×7 and will take care of your request immediately.<\/p>\n PS<\/span>.<\/strong> 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.<\/p>\n","protected":false},"excerpt":{"rendered":" In this article we are going through the steps of installing and setting up a private\/public Photo Gallery using Piwigo … <\/p>\nscreen<\/code> session and your Ubuntu VPS is up-to-date by running:<\/p>\n
## screen -U -s piwigo-screen\r\n## apt-get update\r\n## apt-get upgrade<\/pre>\n
## apt-get install apache2<\/pre>\n
## apt-get install mysql-server<\/pre>\n
mysql_secure_installation<\/code> and configure it like this<\/p>\n
## mysql_secure_installation\r\n\r\n- Set root password? [Y\/n] y\r\n- Remove anonymous users? [Y\/n] y\r\n- Disallow root login remotely? [Y\/n] y\r\n- Remove test database and access to it? [Y\/n] y\r\n- Reload privilege tables now? [Y\/n] y<\/pre>\n
## apt-get install php5 php5-mysql<\/pre>\n
## php -v<\/pre>\n
## apt-get install php5-gd<\/pre>\n
\/var\/www\/html\/gallery<\/code><\/p>\n
## wget \"http:\/\/piwigo.org\/download\/dlcounter.php?code=latest\" -O \/tmp\/piwigo-gallery.zip\r\n## unzip \/tmp\/piwigo-gallery.zip -d \/var\/www\/html\r\n## mv \/var\/www\/html\/piwigo \/var\/www\/html\/gallery\r\n## cd \/var\/www\/html\/gallery\r\n## chown www-data: -R ..\/gallery\/<\/pre>\n
## mysql -u root -p\r\n\r\nmysql> CREATE DATABASE piwigo;\r\nmysql> GRANT ALL ON piwigo.* TO piwigo@localhost IDENTIFIED BY 'OkMT2gW9nT';\r\nmysql> \\q\r\n<\/pre>\n
\n