• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install Piwigo 2.9.3 on Ubuntu 18.04

2889

To install Piwigo 2.9.3 on Ubuntu 18.04

Piwigo is an open source PHP based content management system used for creating gallery focused websites. It supports multiple media formats, integrated blogs, and custom pages. Piwigo is an ideal CMS tool for photographers, designers, filmmakers, and musicians.

Prerequisites

To install LAMP(Apache, MariaDB, php7)

In MariaDB (create database and user and give privileges to that user )

Php installation with required following modules

add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0  php7.0-common  php7.0-xmlrpc php7.0-soap  php7.0-xml 
php7.0-intl  php7.0-cli  php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl

Download a Piwigo package from the terminal using wget command

root@linuxhelp1:~# wget https://piwigo.org/download/dlcounter.php?code=latest
--2018-06-12 21:54:06--  https://piwigo.org/download/dlcounter.php?code=latest
Resolving piwigo.org (piwigo.org)... 87.98.147.22
Connecting to piwigo.org (piwigo.org)|87.98.147.22|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7818425 (7.5M) [application/zip]
Saving to: ‘ dlcounter.php?code=latest’ 

dlcounter.php?code=late 100%[==============================> ]   7.46M  35.6KB/s    in 87s    

2018-06-12 21:55:35 (87.9 KB/s) - ‘ dlcounter.php?code=latest’  saved [7818425/7818425]

The downloaded package is a zip file, so unzip the package as follows

root@linuxhelp1:~# unzip dlcounter.php?code=latest
Archive:  dlcounter.php?code=latest
   creating: piwigo/
  inflating: piwigo/.gitignore      
   creating: piwigo/_data/
 extracting: piwigo/_data/dummy.txt 
  inflating: piwigo/about.php       
  inflating: piwigo/action.php
.
.
  inflating: piwigo/tools/replace_version.pl 
  inflating: piwigo/tools/translation_analysis.php 
  inflating: piwigo/tools/triggers_list.php 
  inflating: piwigo/tools/ws.htm    
  inflating: piwigo/upgrade.php     
  inflating: piwigo/upgrade_feed.php 
   creating: piwigo/upload/
  inflating: piwigo/ws.php

Move the extracted file into the HTML location

root@linuxhelp1:~# mv piwigo /var/www/

Switch to the following directory

root@linuxhelp1:~# cd /var/www/

Change the ownership and permission of the file as follows

root@linuxhelp1:/var/www# chown -R www-data.www-data piwigo
root@linuxhelp1:/var/www# chmod -R 775 piwigo

Create a new virtual host configuration for accessing the Piwigo

root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/piwigo.conf
< VirtualHost *:80> 
ServerName www.linuxhelp1.com
DocumentRoot /var/www/piwigo/

< Directory /var/www/piwigo/> 
AllowOverride All
allow from all
< /Directory> 

< /VirtualHost> 

Enable the site access

root@linuxhelp1:/var/www# a2ensite piwigo.conf
Enabling site piwigo.
To activate the new configuration, you need to run:
  systemctl reload apache2

Disable the default site access

root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Enable the rewrite module

root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Restart the apache2 service

root@linuxhelp1:/var/www# systemctl restart apache2

Now you can proceed the further installation and configuration from the browser by navigating to the following URL of http://local IP (or) domain name

browser_url

version

Configure the Database setup and Admin user detail

complete_installation

Now the installation setup is complete to access Piwigo Photo gallery

piwigo_gallery

You can see the Piwigo photo gallery as shown here

admin_dashboard

You can see the Admin dashboard of Piwigo as follows

admin_page

with this, the method to install Piwigo 2.9.3 on Ubuntu 18.04 comes to an end.

Tags:
connor
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

Can I use my own domain name for Piwigo setup?

A

Yes, or a subdomain only. Open a support request and Piwigo will guide you through the process.

Q

Can I post photos on Piwigo?

A

You can post photos but No pornography, no nudity without private access, no illegal activities that would violate laws in the country you live in (such as explicit violence or historical revisionism).

Q

What happens at the end of the trial period on Piwigo?

A

At the end of the trial period, your account is suspended and kept for 3 months so that you can subscribe. As long as you do not decide to subscribe, no payment is required.

Q

What are the prerequisites of Piwigo?

A

Any modern browser will do the job. Compatible with Windows, Mac, and Linux. Minimum screen resolution 1024x768 pixels.

Q

Is Piwigo opensource?

A

Yes, Piwigo is free and opensource software.

Related Tutorials in How to install Piwigo 2.9.3 on Ubuntu 18.04

Related Tutorials in How to install Piwigo 2.9.3 on Ubuntu 18.04

How to install Meld tool in Ubuntu
How to install Meld tool in Ubuntu
Feb 25, 2017
How to install Dconf-Editor on Ubuntu 18.04
How to install Dconf-Editor on Ubuntu 18.04
Jul 14, 2018
How to install Tiki Wiki CMS Groupware on CentOS 7
How to install Tiki Wiki CMS Groupware on CentOS 7
May 31, 2018
How to install and update OpenSSL on Ubuntu 16.04
How to install and update OpenSSL on Ubuntu 16.04
Mar 9, 2017
How to install GLib 2.0 on Ubuntu 17.04
How to install GLib 2.0 on Ubuntu 17.04
May 22, 2017
How to Install Android Emulator on Ubuntu 20.4.1
How to Install Android Emulator on Ubuntu 20.4.1
Jul 13, 2021
How To Install AnyDesk on Ubuntu 16.04
How To Install AnyDesk on Ubuntu 16.04
Apr 4, 2018
How to install Genymotion 2.12.1 on Ubuntu 18.04
How to install Genymotion 2.12.1 on Ubuntu 18.04
Jul 9, 2018

Related Forums in How to install Piwigo 2.9.3 on Ubuntu 18.04

Related Forums in How to install Piwigo 2.9.3 on Ubuntu 18.04

Ubuntu
matthew class=
Failed to enable unit: Refusing to operate on linked unit file sshd.service
Apr 15, 2019
Ubuntu
mason class=
Passwd: You may not view or modify password information for root On Ubuntu 19.04
May 27, 2019
Ubuntu
isaac class=
/etc/apt/sources.list Permission denied
May 18, 2017
Ubuntu
yousuf class=
lsb_release command not working : Debian
Jan 18, 2018
ifconfig command
jackbrookes class=
what is the location of the ifconfig program on your machine?
Jan 4, 2018
Ubuntu
mason class=
"E: Package 'php-mcrypt' has no installation candidate" error on Ubuntu 20.4.1
Mar 15, 2021
NFS
luke class=
clnt_create: RPC: Program not registered
Apr 25, 2017
Apache
isaac class=
How to disable apache welcome page on Ubuntu
Dec 15, 2018

Related News in How to install Piwigo 2.9.3 on Ubuntu 18.04

Related News in How to install Piwigo 2.9.3 on Ubuntu 18.04

How To Install Mixxx on Ubuntu 16.04
How To Install Mixxx on Ubuntu 16.04
Oct 11, 2017
Ubuntu 17.04 released with greater expectations
Ubuntu 17.04 released with greater expectations
Apr 15, 2017
Ubuntu Core now available on i.MX6 based TS-4900 thanks to Technologic Systems Inc.
Ubuntu Core now available on i.MX6 based TS-4900 thanks to Technologic Systems Inc.
Mar 1, 2017
Ubuntu 17.10 Artful Aardvark Beta 1 is now here. Download Now
Ubuntu 17.10 Artful Aardvark Beta 1 is now here. Download Now
Sep 2, 2017
Ubuntu Unity is no more: One Linux dream has been axed
Ubuntu Unity is no more: One Linux dream has been axed
Apr 7, 2017
What’s next for Ubuntu Linux Desktop?
What’s next for Ubuntu Linux Desktop?
Apr 11, 2017
Say Hi to Ubuntu's new mascot
Say Hi to Ubuntu's new mascot
Mar 22, 2019
KDE Connect App was removed from Google Play Store and brought back in 24 hours
KDE Connect App was removed from Google Play Store and brought back in 24 hours
Mar 22, 2019
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Isaiah ?
What is the use of SUID & SGID commands

How to set the special permissions to the files and folders using SUID and SGID commands...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.