How to Install WordPress on InterServer VPS using Froxlor

systemctl stop apache2
systemctl disable apache2
systemctl restart nginx
systemctl enable nginx
cd /var/customers/webs/web1/
rm -f index.html
rm -rf goaccess
wget https://wordpress.org/latest.tar.gz
tar -xzvf latest.tar.gz
mv wordpress/* .
rm -rf wordpress latest.tar.gz
chown -R www-data:www-data /var/customers/webs/web1/
find /var/customers/webs/web1/ -type d -exec chmod 755 {} ;
find /var/customers/webs/web1/ -type f -exec chmod 644 {} ;
ln -s /var/www/html/froxlor /var/www/html/froxlor/froxlor
nginx -t
systemctl restart nginx
systemctl restart php8.3-fpm
mysql -u root
SHOW DATABASES;
EXIT
chown -R www-data:www-data /var/customers/webs/web1/
chmod -R 755 /var/customers/webs/web1/
nano wp-config.php

Leave a Comment