Home » Archive

Articles in the Linux tips Category

Linux tips »

[31 Jan 2018 | 2 Comments | 572 supporters]
Cpanel server infected with mining software

Recently one of server under my control infected with mining software. It cause unnecessary load and waste of server resource.
Since the server is using Cpanel, I must use WHM to track down the source. I check WHM ‘Process Manager’ and ‘Daily process log’ and found something similar like :
impxxxx impxxxxketing.com 98.5 -bash -a cryptonight -o stratum+tcp://xx.xx.xx.xx:14444 -u

Linux tips »

[23 Jan 2018 | No Comment | 569 supporters]
Clussterssh cannot connect

When using clusterssh sometime cannot connect to cssh due to recent upgrade.

gatekeeper@localhost:~> cssh
Connection to server failed — (version 11.0)
No protocol specified
at /usr/lib/perl5/vendor_perl/5.26.1/App/ClusterSSH.pm line 1983.
gatekeeper@localhost:~> echo $DISPLAY
:1

articles, Linux tips, Tutorial »

[9 Nov 2016 | No Comment | 1,397 supporters]
Bash script to backup and restore MySQL, InnoDB database for Cpanel server

If you want to dump a few database the command ‘mysqldump’ is sufficient. How about the server that have several hundred databases inside. It is easier if we create Shell scripts to do the task. There are 2 version of scripts I normally use. One is to backup whole MySQL database, the other is to backup InnoDB database only.
The databases will be dumped in the folder that we created first and dumped as *.sql.