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
{ | |
"explorer.openEditors.visible": 0, | |
"editor.snippetSuggestions": "top", | |
"emmet.showAbbreviationSuggestions": false, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.formatOnPaste": false, | |
"workbench.colorTheme": "Just Black", | |
"workbench.iconTheme": "vscode-icons", | |
"editor.fontLigatures": true, | |
"files.autoSave": "off", |
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
alexcvzz.vscode-sqlite | |
almenon.arepl | |
andys8.jest-snippets | |
apollographql.vscode-apollo | |
austincummings.razor-plus | |
bobsparadox.seti-black | |
BriteSnow.vscode-toggle-quotes | |
christian-kohler.npm-intellisense | |
christian-kohler.path-intellisense | |
CoenraadS.bracket-pair-colorizer |
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
animus-coop.vscode-phpstorm-formatter | |
christian-kohler.path-intellisense | |
CoenraadS.bracket-pair-colorizer | |
equinusocio.vsc-material-theme-icons | |
esbenp.prettier-vscode | |
formulahendry.auto-close-tag | |
formulahendry.auto-rename-tag | |
HookyQR.beautify | |
humy2833.ftp-simple | |
ms-python.python |
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
# Welcome to the lightsail-wordpress-cluster wiki! | |
## Instructions, commands and code snippets to use and follow along the Video Tutorial on YouTube. | |
## Create Four LightSail Ubuntu Servers with the appropriate sizing. Name Three instances WP1, WP2, WP3, and name 4th instance LoadBalancer | |
## | |
## Open Ports 443 and 9443 (on LoadBalancer and WP1 in the LightSail Instance networking section) | |
## Run all commands with root (sudo su) | |
### Run following on each of the 3 WordPress instances | |
`ufw allow 80,443,9443,3306,4444,4567,4568/tcp;` |
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
*Add snippes 1-7 to your .htaccess file* | |
1. Protect WordPress important files | |
<FilesMatch "^.*(error_log|wp-config\.php|php.ini|\.[hH][tT][aApP].*)$"> | |
Order deny,allow | |
Deny from all | |
</FilesMatch> | |
2. Prevent wordpress username enumeration |
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
Docker Install steps (Copy and Paste as is within the SSH terminal. Make you are you sudo as root sudo su). | |
apt-get update | |
apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
apt-key fingerprint 0EBFCD88 | |
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
apt-get update | |
apt-get install docker-ce docker-ce-cli containerd.io | |
docker run hello-world |