wget https://wordpress.org/latest.zip
unzip latest.zip
mv wordpress www
chown www-data:www-data -R www
cd www
# Change directory permissions rwxr-xr-x
find . -type d -exec chmod 755 {} \;
# Change file permissions rw-r--r--
find . -type f -exec chmod 644 {} \;
mysql -u root -p
CREATE DATABASE database_name;
GRANT ALL ON database_name.* TO 'database_user'@'localhost' IDENTIFIED BY 'user_password';
FLUSH PRIVILEGES;
EXIT;
Last active
March 11, 2020 20:00
-
-
Save marshallmick007/a83df0be059c7db151e3d4c8fcd0989b to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment