• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Zenphoto in Ubuntu

{{postValue.id}}

To Install Zenphoto in Ubuntu

Zenphoto 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. Zenphoto is an ideal CMS tool for photographers, designers, film makers and musicians. Installation of Zenphoto in Ubuntu is explained in this article.


To install Zenphoto

Before installing the Zenphoto, install LAMP server with the following link.

https://www.linuxhelp.com/how-to-install-lamp-by-using-tasksel-tool-in-ubuntu/

First create the database for Zenphoto.

root@linuxhelp:/home/user1# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with   or g.
Your MariaDB connection id is 53
Server version: 10.0.25-MariaDB-0ubuntu0.15.10.1 (Ubuntu)
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.
MariaDB [(none)]>  CREATE DATABASE zenphoto 
Query OK, 1 row affected (0.06 sec)
MariaDB [(none)]>  GRANT ALL PRIVILEGES ON zenphoto.* TO ' zenphotouser' @' localhost'  IDENTIFIED BY ' password'  
Query OK, 0 rows affected (0.11 sec)
MariaDB [(none)]>  FLUSH PRIVILEGES 
Query OK, 0 rows affected (0.05 sec)
MariaDB [(none)]>  exit
Bye

Download the Zenphoto package with the following command.

root@linuxhelp:/home/user1# cd /opt/
root@linuxhelp:/opt# wget https://github.com/zenphoto/zenphoto/archive/zenphoto-1.4.11.zip
--2016-11-18 03:06:00--  https://github.com/zenphoto/zenphoto/archive/zenphoto-1.4.11.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/zenphoto/zenphoto/zip/zenphoto-1.4.11 [following]
--2016-11-18 03:06:01--  https://codeload.github.com/zenphoto/zenphoto/zip/zenphoto-1.4.11
Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘ zenphoto-1.4.11.zip’ 
zenphoto-1.4.11.zip           [            < =>                          ]   9.59M  51.9KB/s   in 1m 40s
2016-11-18 03:07:42 (97.9 KB/s) - ‘ zenphoto-1.4.11.zip’  saved [10051853]

Once the package is downloaded, extract it.

root@linuxhelp:/opt# unzip zenphoto-1.4.11.zip
Archive:  zenphoto-1.4.11.zip
ffbaf9ddf30c0a57d5e2ebf31fedb2fa246d0aec
   creating: zenphoto-zenphoto-1.4.11/
  inflating: zenphoto-zenphoto-1.4.11/.gitattributes  
  inflating: zenphoto-zenphoto-1.4.11/.gitignore  
  inflating: zenphoto-zenphoto-1.4.11/LICENSE  
&hellip 
&hellip 
&hellip 
  inflating: zenphoto-zenphoto-1.4.11/zp-core/zp-extensions/zpCaptcha.php  
   creating: zenphoto-zenphoto-1.4.11/zp-core/zp-extensions/zpCaptcha/
  inflating: zenphoto-zenphoto-1.4.11/zp-core/zp-extensions/zpCaptcha/c.php  
   creating: zenphoto-zenphoto-1.4.11/zp-data/
 extracting: zenphoto-zenphoto-1.4.11/zp-data/.gitignore  

Move the extracted files to /var/www/html/zenphoto/ directory as follows,

root@linuxhelp:/opt# mv zenphoto-zenphoto-1.4.11/ /var/www/html/zenphoto/

Now change the ownership for Zenphoto directory.

root@linuxhelp:/opt# chown www-data:www-data -R /var/www/html/zenphoto

Here you need to create a new virtual host directive in Apache and the following lines in the file.

root@linuxhelp:/opt# touch /etc/apache2/sites-available/zenphoto.conf
root@linuxhelp:/opt# ln -s /etc/apache2/sites-available/zenphoto.conf /etc/apache2/sites-enabled/zenphot.conf
root@linuxhelp:/opt# nano /etc/apache2/sites-available/zenphoto.conf
< Virtualhost *:80> 
ServerAdmin admin@your-domain.com
DocumentRoot /var/www/html/zenphoto/
ServerName linuxhelp
ServerAlias www.your-domain.com
< Directory /var/www/html/zenphoto/> 
Options FollowSymLinks
AllowOverride All
< /Directory> 
ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common
< /VirtualHost> 

Restart the Apache web server to take effect.

root@linuxhelp:/opt# service apache2 restart

Open the web browser with the IP address, once the above process is completed. Enter the database configuration and click on save option.

Zenphoto-CMS-tool-Open-database-configuration

Click on Go option to proceed.

Zenphoto-CMS-tool-go-option

Created tables will display as shown in the below image. Just click on the respective option to set credential details.

Zenphoto-CMS-tool-setup

Accept the license agreement.

Zenphoto-CMS-tool-license-agreement

Now setup the Admin users details and click on Apply option.

Zenphoto-CMS-tool-users

Login with user name and password.

Zenphoto-CMS-tool-Login

Now you can view the Zenphoto overview.

Zenphoto-CMS-tool-overview

Upload your favorite images.

Zenphoto-CMS-tool-Upload-images

Zenphoto-CMS-tool-new-album

Tag management

Zenphoto-CMS-tool-Tag-management

You can create or edit the Albums.

Zenphoto-CMS-tool-edit-Albums

Some familiar options are shown below,

Zenphoto-CMS-tool-options

Themes

Zenphoto-CMS-tool-Themes

Plugins

Zenphoto-CMS-tool-Plugins

Logs

Zenphoto-CMS-tool-Logs

Tags:
logan
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

I’ve not received a confirmation email after registering with Zenphoto?

A

Go and recheck with the admin settings provided in the admin login of Zenphoto.

Q

How can I change the general chmod for uploaded pictures?

A

Check with the permission assigned on uploading the file from the server If you upload via FTP you might have set to the preferred ones.

Q

How to collect the storage from Zenphoto gallery?

A

Unfortunately not! Although they would expect to see your Zenphoto in an online store only.

Q

How could I make the pictures available to the public except those showing nudity, they should be visible to a group of users only?

A

Albums can be password protected. Then only users allowed to see the album can access it. You should read the section on user rights management for details.

Q

How to install LAMP on Ubuntu?

A

For installing LAMP via taskel prefer using the following link https://www.linuxhelp.com/how-to-install-lamp-by-using-tasksel-tool-in-ubuntu/.

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 Isaac ?
How to run windows application in linux

I need to run the windows application in my Linux machine, instead of installing from yum repo or any other repos. How to do that..??

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.