Last active
April 30, 2020 13:30
-
-
Save conkonig/5425addf5d1b2300d8796783e76be470 to your computer and use it in GitHub Desktop.
ubuntu 16.04, 18.04, server setup for wp hosting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Initial Server Setup | |
- add a non root user | |
- give sudo privileges | |
- enable firewall | |
https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-18-04 | |
# Also allow http and https through the firewall | |
sudo ufw allow http | |
sudo ufw allow https | |
# Execute sudo with password every time | |
https://askubuntu.com/questions/147241/execute-sudo-without-password | |
# Install nginx and mariadb and wordpress | |
https://www.tecmint.com/install-wordpress-with-nginx-mariadb-php-on-ubuntu-18-04/ | |
# Fix the wordpress file permissions | |
https://gist.github.com/Adirael/3383404 | |
# Letsencrypt https | |
https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment