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
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
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
Upgrade MariaDB 5.5 to 10.1 on CentOS 7 Plesk Server
EDIT 2022-05: Now Plesk has an easy MySQL upgrade script, to do the upgrade, run For more information, see https://support.plesk.com/hc/en-us/articles/12388091703703
Open MySQL Port 3306 in CentOS 7
To allow MySQL to connect from remote server on CentOS 7 server, you need to enable port 3306 in firewall.
yum repolist
List all Repositories List packages from a specific repo Following command disable all repos and enable EPEL repo. See yum
Install python 3.6 on CentOS 7
CentOS 7 come with Python 2.7. To install python 3.6, first install the EPEL repo. Install IUS repo. https://ius.io/setup For
Install Python 2.7 on CentOS 6
CentOS 6 comes with python 2.6, to install python 2.7, first install gcc and dependencies yum Download latest Python 2.7
Using Host Header in curl
When you have multiple web site hosted on a server, if you want to access one of the site using