csf error path to iptables is either not set or incorrect
Whem install csf firewall on Ubuntu 20.04, i get following error root@ok:~# csf *Error* The path to iptables is either
Change Email address of LetsEncrypt SSL
To change email address of LetsEncrypt SSL certficate account, run certbot update_account –email [email protected] See LetsEncrypt
View SSL certficate Details
To view certificate details openssl x509 -text -noout -in SSL_FILE.crt For web server openssl s_client -showcerts -connect serverok.in:443 Or curl
Linux User
Lock User Account in Linux usermod How to change home directory of a Linux user
Disable systemd-resolved on Ubuntu/Deb/CentOS
systemd-resolved provide DNS resolver facility in newer version of Linux servers running systemd. I prefer manually editing /etc/resolv.conf and add
Enable rc.local
To enable /etc/rc.local file run on system startup on servers runing systemd, you can run systemctl enable rc-local Now you
Connecting to VNC Server from a Mac computer
On Windows and Linux there are many free open source VNC clients available. For Mac, if you google, most VNC
proxychains
proxychains allow you to route traffic using proxy servers. This is useful for routing traffic throihg applications that do not
Delete LetsEncrypt SSL certficate
To list all available LetsEncrypt SSL certificates, run To delete a certificate, run You can find NAME_OF_SSL_CERT from the command
Nginx upstream sent too big header
When I log in to a PrestaShop website, I get an error on a Plesk server. 502 Bad Gateway On
Server Load
Here are some useful commands to check server load. iostat shows disk IO usage. %iowait shows how much time the
Find MySQL Database and Table Size
To find the size of databases using SQL command, run the following SQL in MySQL prompt. Example FInd disk usage