Closed donotos closed 4 years ago
I've updated the guide with what you suggested except the last part.
sudo mkdir -p /etc/nginx/certs
Do you mean to just add the -p? Did you have problems without it?
no, i just use it all the time and it's not useful here because there is only 1 folder to be created.
If you go for the 1 line route with the mysql command you need to add ; after quit
Edit: my bad i was the one to forget it in my initial post 👎
:+1: done
Hi.
I just reinstalled mangapie on a fresh debian 10 LEMP.
I have some suggestions to improve the wiki page.
In: Install required packages to build php modules:
I had a "not found" for "build-essentials" because it's "build-essential"
In: Configure, build, and install php-rar
add "cd ./php-rar/"
In: php-gd or php-imagick and: redis-server and: inotify > end_of_page
use
<code>
for the command syntaxIn: DBMS MySQL Install MySQL or MariaDB server.
change to:
You can choose to install either one. I recommend "your_recommendation"
sudo apt-get install mysql-server
orsudo apt-get install mariadb-server
Then use the helper to improve security for both mysql and mariadbmysql_secure_installation
In: Create a user and database
add the recommendation: "don't forget to change 'password' for something more secure"
Separate in 2 parts since it can't be done all at once
mysql -u root -p
create database mangapie; create user 'mangapie'@'localhost' identified by 'password'; grant all privileges on mangapie.* to 'mangapie'@'localhost'; flush privileges; quit
actually, you can do it in one line: sudo mysql -u root -p -e "create database mangapie; create user 'mangapie'@'localhost' identified by 'password'; grant all privileges on mangapie.* to 'mangapie'@'localhost'; flush privileges;"
in: web server nginx add: sudo mkdir -p /etc/nginx/certs