How to install Leantime Project Management System
Quickloss3
Update Server: apt update && apt upgrade -y
set hostname: hostnamectl set-hostname ex.example.com vim /etc/hosts paste server_ip ex.example.com ex
Web server installation and setup: sudo apt install vim apache2 mariadb-server libapache2-mod-php php php-gmp php-bcmath php-gd php-json php-mysql php-curl php-mbstring php-intl php-imagick php-xml php-zip bzip2 zip unzip imagemagick php-fpm php-fileinfo
sudo a2enmod ssl rewrite headers deflate cache http2 proxy_fcgi env expires sudo systemctl start apache2 sudo systemctl enable apache2
Database: /usr/bin/mysql_secure_installation mysql -u root -p create database leantime CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; grant all on leantime.* to 'leanuser'@'localhost' identified by 'your_pass'; flush privileges; exit
Download and install Leantime: cd /var/www mkdir leantime && cd leantime wget https://github.com/Leantime/leantime/releases/download/v2.1.8/Leantime-v2.1.8.zip unzip Leantime-v2.1.8.zip rm Leantime-v2.1.8.zip rm -r /var/www/html/* shopt -s dotglob cd .. mv leantime/* html/ chown -R www-data:www-data /var/www/html
Create a virtualhost: cd /etc/apache2/sites-available vim leantime.conf paste ########### i'm changing angled bracket with square bracket ###### [VirtualHost *:80] ServerName example.com ServerAlias example.com DocumentRoot /var/www/html
[Directory "/var/www/html"] AllowOverride All Options -Indexes +FollowSymLinks [/Directory]
ErrorLog /var/log/apache2/example.com-error.log CustomLog /var/log/apache2/example.com-requests.log combined [/VirtualHost]
a2ensite leantime.conf a2dissite 000-default.conf systemctl restart apache2
edit php: cd /var/www/html mv config/configuration.sample.php config/configuration.php vim config/configuration.php update database credentials.
http://example.com/install ... https://www.youtube.com/watch?v=8oeRtkNPEwo
49378277 Bytes