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
To isolate the layer in which the issue is occurring, information concerning kernel, firewall and network interface states will help in resolving the issue at hand. | |
You should be able to leverage the Web Console for the droplet to evaluate the details of the following commands. | |
First, we would recommend reviewing the contents of your interface configuration file. | |
From here you can ensure that there is an entry for your public interface and that it contains correct information including your public IPv4 address, gateway, netmask, etc. | |
If needed, you can reference the information made available to you on the 'Networking' page of your Droplet or under your web console screen to ensure this information is correct. | |
cat /etc/netplan/50-cloud-init.yaml | |
Next, you will need to ensure that your network managing service is able to pick up on these details and bring up your public interface. |
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
#!/bin/bash | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
# | |
WP_OWNER=www-data # <-- wordpress owner | |
WP_GROUP=www-data # <-- wordpress group | |
WP_ROOT=$1 # <-- wordpress root directory |
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
Cpanel recommended configurations and tweaks after installation | |
# Activate license. | |
# Change Nameservers and Contact Information. | |
- Server Configuration | |
-- Basic WebHost Manager® Setup | |
# Change hostname. | |
- Networking Setup. | |
- Change Hostname. | |
# Enable Quota |
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
sudo find /var/www/html -type f -exec chmod 644 {} \; | |
sudo find /var/www/html -type d -exec chmod 755 {} \; | |
sudo chgrp -R www-data storage bootstrap/cache | |
sudo chmod -R ug+rwx storage bootstrap/cache |
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
[ | |
{ | |
"code": "AFG", | |
"name": "Afghanistan", | |
"eu": false | |
}, | |
{ | |
"code": "ALA", | |
"name": "Åland Islands", | |
"eu": false |
OlderNewer