domainmod funneee
This commit is contained in:
parent
881e5e3108
commit
4325c3e4e6
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#Installing da dependencies
|
#Installing da dependencies
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y nginx php-fpm php-mysql
|
sudo apt install -y nginx php-fpm php-mysql php7.4-curl curl openssl gettext
|
||||||
sudo systemctl start php7.4-fpm
|
sudo systemctl start php7.4-fpm
|
||||||
sudo systemctl enable php7.4-fpm
|
sudo systemctl enable php7.4-fpm
|
||||||
#Population da Nginx configs, replace dom.adastra7.net with your domain obv
|
#Population da Nginx configs, replace dom.adastra7.net with your domain obv
|
||||||
|
@ -45,16 +45,13 @@ sudo mv domainmod-master domainmod
|
||||||
sudo chown -R www-data:www-data /var/www/domainmod
|
sudo chown -R www-data:www-data /var/www/domainmod
|
||||||
|
|
||||||
# change em logins to what you want them to be here plz
|
# change em logins to what you want them to be here plz
|
||||||
mysql -u root -p <<MYSQL_SCRIPT
|
sudo mysql <<MYSQL_SCRIPT
|
||||||
CREATE DATABASE domainmod;
|
CREATE DATABASE domainmod;
|
||||||
GRANT ALL PRIVILEGES ON domainmod.* TO 'domainmod'@'localhost' IDENTIFIED BY 'legit-password.exe';
|
GRANT ALL PRIVILEGES ON domainmod.* TO 'domainmod'@'localhost' IDENTIFIED BY 'sexii';
|
||||||
FLUSH PRIVILEGES;
|
FLUSH PRIVILEGES;
|
||||||
EXIT
|
EXIT
|
||||||
MYSQL_SCRIPT
|
MYSQL_SCRIPT
|
||||||
|
|
||||||
#make prem prem initial database
|
|
||||||
mysql -u domainmod -p domainmod < /var/www/domainmod/install/database/database.sql
|
|
||||||
|
|
||||||
#set file perms
|
#set file perms
|
||||||
sudo chmod -R 755 /var/www/domainmod
|
sudo chmod -R 755 /var/www/domainmod
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue