Monthly Archives: September 2016

Shell script to copy data from lftp and dump/restore mysql

If you need to copy any data from remote ftp backup space using lftp you can use next script

   

Posted in Linux Post | Leave a comment

How to change permissions on files and directories on Linux

Use next commands

This will change permissions in all folder and sub folderts to 755

This will change file permissions to 644

Posted in Linux Post, Scripting | Leave a comment

Shell script to reset ebtables on Linux

Ebtables is an application program used to set up and maintain the tables of rules (inside the Linux kernel) that inspect Ethernet frames. It is analogous to the iptables application, but less complicated, due to the fact that the Ethernet protocol is much simpler than the IP protocol. ebtables used with bridges on Linux. The […]

Posted in Debian, Firewall, Scripting, Ubuntu | Leave a comment

Add new rbl to exim on cPanel server

Exim config. manager in  cPanel, allow us to work only with two rbl list, spamhaus.org и spamcop.net. If you want to add additional RBL list such as dnsbl.njabl.org, list.dsbl.org or dul.dnsbl.sorbs.net, you need to do next 1) Move to directory /usr/local/cpanel/etc/exim/acls/ACL_RBL_BLOCK

2) Make a backup of of the next file

3) Open with nano this file spamhaus_spamcop_cannibal_rbl 4) Change adress […]

Posted in Hosting, Linux Post | Leave a comment

cPanel License troubleshooting

In this article we will troubleshoot cPanel license error on updates. For the beginning run one of the next commands:

Next enter the following URL and insert IP received from the scripts received above and check if license is valid.

This command also can provide you the same output, but this command should […]

Posted in Hosting, Linux Post | Leave a comment