![Nginx Redirect](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Nginx Redirect
Redirect site from www to non-www How to redirect a domain with html extension in Nginx Nginx Redirect HTTP to
![ufw](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
ufw
ufw is firewall in Ubuntu. To enable systemctl enable ufw To list available apps, run ufw app list To see
![PowerDNS](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
PowerDNS
Install PowerDNS Install PowerDNS on Ubuntu 20.04 PowerDNS Command line List all DNS Zones pdns_control list-zones pdns_control list-zones slave Delete
![gcloud](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
gcloud
Detach a disk from Google Compute Instance Install Google Cloud SDK Google Cloud apt signatures couldn’t be verified Google Cloud
![Detach a disk from Google Compute Instance](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Detach a disk from Google Compute Instance
To remove a disk from Google Compute instance, run gcloud compute instances detach-disk INSTANCE_NAME –disk=DISK Example Here “indiameds” is name
![btc](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
btc
See crypto-currency
![varnish](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
varnish
How to change varnish port in Ubuntu To clear cache, run /usr/bin/varnishadm -S /etc/varnish/secret -T 127.0.0.1:6082 “ban req.http.host ~ .*”
![proxy](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
proxy
Squid ShadowSocks Tor Reverse proxy proxychains Web Proxy debugging proxy Install mitmproxy proxy OWASP Zed Attack Proxy Project https://www.telerik.com/fiddler https://portswigger.net/burp
![install sysstat on centos](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
install sysstat on centos
To install sysstat/sar on CentOS, run yum install sysstat Enable and start sysstat systemctl enable sysstat systemctl start sysstat systemctl
![Amazon RDS ERROR 1040 (08004): Too many connections](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Amazon RDS ERROR 1040 (08004): Too many connections
On an Amazon RDS Aurora data base, when i connect, i get error root@ip-10-0-0-234:/var/www/html# mysql -h sok.cb21y0qmezhd.us-west-2.rds.amazonaws.com -u sok_wp -p0ZEkrkQx
![](https://serverok.in/wp-content/uploads/2022/07/disk-storage.webp)
hdd
blkidChecking NVMe DiskNo space left on devicesmartctlsfdiskSetup ZFS file system in UbuntuResize Amazon EC2 Boot DiskPartitioning hard disk for backupResize
![No space left on device](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
No space left on device
On a server, when creating new files, i get error – “No space left on device”. root@sok:~# touch 2 touch: