sudo apt-get update && sudo apt-get upgrade
sudo apt-get install -y apache2
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 this into your .htaccess file at the root of your WordPress installation. By Robin Scott of Silicon Dales. | |
| // See full details here: https://silicondales.com/tutorials/wordpress/lock-out-all-traffic-except-your-ip-from-login-admin/ | |
| <Files wp-login.php> | |
| Order Deny,Allow | |
| Deny from all | |
| Allow from X.X.X.X | |
| </Files> |
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
| @echo off | |
| set OPENSSL_CONF=./conf/openssl.cnf | |
| if not exist .\conf\ssl.crt mkdir .\conf\ssl.crt | |
| if not exist .\conf\ssl.key mkdir .\conf\ssl.key | |
| bin\openssl req -new -out server.csr | |
| bin\openssl rsa -in privkey.pem -out server.key | |
| bin\openssl x509 -in server.csr -out server.crt -req -signkey server.key -days 1825 -extfile v3.ext |