Crafting Web Experiences
//
Command to run:
If you have shell access to your server, you can change file permissions recursively with the following commands. For directories: For files: To do them both in current folder recursively: User correction: Full combined permission correction for current WordPress root folder:
Stress testing is essential for checking system stability, cooling performance, or power supply limits. The stress tool is a lightweight way to impose a configurable load on the system. Install Stress Tool On Debian, Ubuntu, or Proxmox, use the package manager to install it: Run the Stress Test The following command will stress 4 CPU…
Proxmox often sends the same SMART error notification repeatedly. You can configure the system to alert you only when errors increase or new ones occur. Edit SMART Configuration Open the configuration file: Update the Device Scan Line Comment out the original line and add the one with the attribute log flag: Apply Changes Restart the…
If you need to find out which folders or files are taking up the most space in your current directory, du (disk usage) is the go-to tool. List All Items in Current Directory This command shows the size of each folder and file one level deep in a human-readable format (KB, MB, GB): Alternative: Sort…
Ref: https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-18-04
Delete except a file:
SQL: This is for the wp_users table: And this is for admin capabilities: WP-CLI:
Append the following all and deny all NGINX config directives in server context: If your blog located in /blog/ sub-directory, try: Reference: https://www.cyberciti.biz/faq/nginx-block-url-access-all-except-one-ip-address/