How to Install Lychee on Ubuntu 17.04
To Install Lychee on Ubuntu 17.04
Lychee is a free and open source photo management application which is used for uploading, managing and sharing photos. All the photos stored in Lychee is stored in a very secure manner. Lychee runs on a server and installing it takes only a few minutes. This article briefs about the installation process involved with Lychee on Ubuntu 17.04.
Pre-requirements
Install LAMP (apache, php . mariadb-server)
In MariaDB (create database, user and give privilages to user)
For php Installation
- add-apt-repository ppa:ondrej/php
- apt-get update
- modules( php5.6 php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml php5.6-gd php5.6-imap php5.6-ldap php5.6-odbc php-pear php5.6-xmlrpc php-xml-parser)
Installing Lychee
Before you begin with the installation of Lychee, you need to enter into your html location.
root@linuxhelp11:~# cd /var/www/html/
From this location you need to download Lychee package. Make use of the following command for the same purpose.
root@linuxhelp11:/var/www/html# git clone https://github.com/electerious/Lychee.git
Cloning into ' Lychee' ...
remote: Counting objects: 10445, done.
remote: Total 10445 (delta 0), reused 0 (delta 0), pack-reused 10445
Receiving objects: 100% (10445/10445), 5.73 MiB | 387.00 KiB/s, done.
Resolving deltas: 100% (7137/7137), done.
Checking connectivity... done.
Now, you need to change the ownership and permission for the lychee directory.
root@linuxhelp11:/var/www/html# chown &ndash R www-data:www-data Lychee/
root@linuxhelp11:/var/www/html# chmod -R 775 Lychee/
Once it is done, you need to configure your Apache VirtualHost for that .conf file. You open a .conf file for Lychee by running the following command.
root@linuxhelp11:/var/www/html# vim /etc /apache2/sites-available/lychee.conf
In that file, you need to make the following modifications.
< VirtualHost *:80> ServerAdmin admin@linuxhelp12.com DocumentRoot /var/www/html/Lychee/ ServerName linuxhelp12.com ServerAlias www.linuxhelp12.com < Directory /var/www/html/Lychee/> Options FollowSymLinks AllowOverride All Order allow,deny allow from all < /Directory> ErrorLog /var/log/apache2/linuxhelp12.com-error_log CustomLog /var/log/apache2/linuxhelp12.com-access_log common < /VirtualHost>
And then give your machine ip and your domain name in your host file .
root@linuxhelp11:/var/www/html# vim /etc/hosts
192.168.7.240 linuxhelp12.com
Later, enable the newly configured file.
root@linuxhelp11:/var/www/html# a2ensite lychee.conf
Enabling site lychee.
To activate the new configuration, you need to run:
service apache2 reload
And then, you need to restart your apache service.
root@linuxhelp11:/var/www/html# systemctl restart apache2
You shall now continue the remaining process through your browser. Go to your browser and give http://yourdomain as URL. The installation page of Lychee gets displayed on your screen. Fill all the database details and proceed with the next step.

Fill the login details and click login option.

You will be taken to the dashboard of Lychee.

With this, the installation of Lychee on Ubuntu 17.04. comes to an end.
Comments ( 0 )
No comments available