# Install Chiro - Canto ## Setup Database ```bash sudo mysql ``` ```sql CREATE DATABASE chirocanto; GRANT ALL ON chirocanto.* TO 'chirocanto'@'localhost' IDENTIFIED BY 'strongpassword'; FLUSH PRIVILEGES; ``` ## Setup php ```bash sudo apt install php-fpm sudo vim /etc/php/7.3/fpm/php.ini ``` ```textile upload_max_filesize = 20M ``` ## Setup nginx ```bash 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 ```bash 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 ```bash sudo dnf -y install phpMyAdmin sudo mv ```