Block an IP using iptables
To block an IP using iptables, use Replace IPADDR with IP address you need to block. To block an IP
Encrypt a file using gpg
To encrypt a file using gpg command, run Now it will ask for a password. Once you enter password 2
AMD Ryzen 3 2200G on Ubuntu 18.04
New PC i have purchased have AMD Ryzen 3 2200G CPU. This come with Vega 8 iGPU. If you boot
Running wp-cron with cronjob
By default wordpress run cronjob everytime user visit your web site. This is bad idea for busy site. To run
Downloading youtube video from commandline
youtube-dl is a python package that allows you to download videos from youtube. You can also use yt-dlp, that is
LiteSpeed Web Server
LiteSpeed is a high performance web server. Install LiteSpeed Web Server Install CyberPanel on CentOS 7 Install OpenLiteSpeed on Ubuntu/Debian
pc
AMD Ryzen 3 2200G PC 2018-09 new pc
AMD Ryzen 3 2200G PC
AMD Ryzen 3 2200G 6600 +tax Gigabyte B450M-D3H 5500+tax (Died) ASUS PRIME B450M-A 8Gb Zion ram Blaze 3000Fsb 4650+tax ZION
netstat
To install netstat on Ubuntu/Debian, run To see all connections, run To see all listening connections, run To see routing
Ubuntu show package information
To see information about a package, run
Ubuntu find Dependencies for a package
To find dependencies for a package, run Example In above example, when you install php7.2, it install “libapache2-mod-php7.2”, that will
Repair Plesk Server
To repair Plesk server, run repair all To fix file system permissions for a website See Plesk