Update 'Apache-Installer_V0.1.sh'
This commit is contained in:
@@ -60,9 +60,7 @@ apt-get install phpmyadmin -y
|
||||
ln -s /usr/share/phpmyadmin /var/www/"$domain"/public_html
|
||||
systemctl restart php7.2-fpm
|
||||
# Redirect phpmyadmin -> database
|
||||
cd /var/www/"$domain"/public_html/
|
||||
ls -l
|
||||
mv phpmyadmin database
|
||||
mv /var/www/"$domain"/public_html/phpmyadmin /var/www/"$domain"/public_html/database
|
||||
|
||||
#-------------------#
|
||||
# POSTFIX #
|
||||
@@ -140,7 +138,6 @@ systemctl restart apache2
|
||||
# MYSQL SETTINGS #
|
||||
#-------------------#
|
||||
|
||||
cd /etc/mysql
|
||||
rm /etc/mysql/my.cnf
|
||||
cat > /etc/mysql/my.cnf <<- "EOF"
|
||||
# - "/etc/mysql/my.cnf" to set global options,
|
||||
|
||||
Reference in New Issue
Block a user