• 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 Lychee on Ubuntu 17.04

{{postValue.id}}

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.
browser

Fill the login details and click login option.
Lychee

You will be taken to the dashboard of Lychee.

Albums
With this, the installation of Lychee on Ubuntu 17.04. comes to an end.

Tags:
aiden
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Why Lychee is not working?

A

If Lychee is not working properly, try to open plugins/Diagnostics/index.php. This script will display all errors it can find.

Q

What do I need to run Lychee on my server?

A

To run Lychee, everything you need is a web-server with PHP 5.5 or later and a MySQL-Database.

Q

Does it stream music from internet?

A

That feature has not been added in the current version

Q

Why I can't upload photos?

A

If you experience problems uploading large photos, you might want to change the PHP parameters in .htaccess (if you are using the PHP Apache module) or in .user.ini (if you are using PHP >= 5.5 with CGI or FastCGI).

If possible, change these settings directly in your php.ini. We recommend to increase the values of the following properties:

max_execution_time = 200
post_max_size = 100M
upload_max_size = 100M
upload_max_filesize = 20M
memory_limit = 256M

Q

Which browsers are supported?

A

Lychee supports the latest versions of Google Chrome, Apple Safari, Mozilla Firefox, Opera and Microsoft Internet Explorer. Make sure you are always running the newest version.

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 Luk Van De Looverbosch ?
How to create a root ?

Hello,
How to create root@linuxhelp in Linux Mint 20.1 64-bit ?
Thanks in advance for your reply.
Best regards.

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.