• Edit
  • Delete

ullright Webservice Setup (For Ubuntu Linux)

This guide explains how to install the webservice infrastructure (LAMP) for ullright using a fresh Ubuntu Linux installation.
Tested with Ubuntu 18.04LTS

This guide is valid both for installing a local dev environment, but also for a web server.

Use your favourite editor like nano, gedit, etc instead of vim if you like.

Install packages

  • sudo apt-get install lamp-server^
  • sudo apt-get install php-imagick php-gd php-imap subversion vim bzip2 optipng jpegoptim jhead

Configure PHP

Recommended PHP settings

  • sudo /etc/php/7.2/cli/php.ini
    • html_errors = Off
      
  • sudo /etc/php/7.2/apache2/php.ini
    • memory_limit = 512M
      post_max_size = 32M
      upload_max_filesize = 32M
      session.cookie_lifetime = 1000000
      session.gc_maxlifetime = 1000000
      

Configure Apache

  • sudo a2dissite 000-default default-ssl
  • sudo a2enmod rewrite headers expires
  • sudo service apache2 restart