Linux
Install Plesk On Linux Server
To install Plesk Control Panel on Linux Server, run Once install completed, you will be asked to log in to Plesk URL…
nc
To see if a connection to an IP/port can be established, run Transfer files between computers with netcat
Transfer files between computers with netcat
You can use netcat (nc) to copy file from one computer/server to another. On destination computer Run netcat in listening mode. nc…
Saving iptables firewall rules
To save iptables firewall rules, run iptables-save This will print the firewal rule. You can save it to a file. For example…
Displaying /proc/PID/cmdline with space
On linux, the file /proc/PID/cmdline shows the command line for the process. If you check content of this file, you will see…
apt-key
apt-key keyserver receive failed: No dirmngr MySQL 8 apt Error The following signatures were invalid
apt-key keyserver receive failed: No dirmngr
When running apt-key command, i get following error. To fix this, run
Install MongoDB 4 on Debian 9
You can see detailed instruction on how to install on MongoDB web site. First add key apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv 9DA31620334BD75D9DCB49F368818C72E52529D4…
Fix yum duplicate packages
On a CentOS server, when running yum update It failed with following error acl-2.2.51-14.el7.x86_64 is a duplicate with acl-2.2.51-12.el7.x86_64 alt-libcurlssl-7.60.0-1.el7.x86_64 is a…
Making POST request from curl
Here is an example POST request using curl curl -d “param1=value1¶m2=value2” -X POST http://sok.test/post.php Sending JSON string curl http://video.com/like -X POST –data…