Zenphoto is a free and open source content management system for online image galleries. In this tutorial, we will guide you through the steps to install Zenphoto on Manjaro.
Before we start, please make sure that you have the following:
Follow the steps below to install Zenphoto on your Manjaro machine:
Ctrl
+ Alt
+ T
.sudo pacman -Syu
sudo pacman -S apache php php-apache mariadb
sudo systemctl start httpd
sudo systemctl start mariadb
sudo mysql -u root -p
zenphoto
:CREATE DATABASE zenphoto;
zenphoto
with a password:GRANT ALL PRIVILEGES ON zenphoto.* TO 'zenphoto'@'localhost' IDENTIFIED BY 'strongpassword';
Exit the MySQL prompt by typing exit;
.
Download Zenphoto by running the following command:
wget https://github.com/zenphoto/zenphoto/releases/download/1.5.7/zenphoto_1.5.7e.tar.gz
tar xzf zenphoto_1.5.7e.tar.gz
sudo mv zenphoto /srv/http/
sudo chown -R http:http /srv/http/zenphoto
Open your web browser and navigate to http://localhost/zenphoto
. You should see the Zenphoto setup page.
Follow the on-screen instructions to complete the Zenphoto setup. When prompted for the database settings, use the following details:
http://localhost/zenphoto/zp-core/admin.php
and using the username and password you set during the setup.Congratulations! You have successfully installed Zenphoto on your Manjaro machine. You can now start creating your own online image galleries.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!