chiro-canto/INSTALL.md

776 B
Executable File

Install Chiro - Canto

Setup Database

sudo mysql
CREATE DATABASE chirocanto;
GRANT ALL ON chirocanto.* TO 'chirocanto'@'localhost' IDENTIFIED BY 'strongpassword';
FLUSH PRIVILEGES;

Setup php

sudo apt install php-fpm
sudo vim /etc/php/7.3/fpm/php.ini
upload_max_filesize = 20M

Setup nginx

sudo apt install nginx
sudo cp /var/Www/chiro-canto/chiro-canto.conf /etc/nginx/sites-available/chiro-canto.conf

Adapt parameter to configuration.

Create self-signed certifcates

sudo dnf install openssl
cd /etc/nginx/ssl/
openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privkey.pem -out cert.pem

Install PhpMyAdmin

sudo dnf -y install phpMyAdmin
sudo mv