Category: DirectAdmin

DirectAdmin

Block wp-login and xmlrpc brute force attacks with CSF / DirectAdmin

xmlrpc wp-login are common attacks for WordPress installations, with CSF firewallwe can block them. First we define in CUSTOMx_LOG the log directory from which CSF will be able to search for wp-login.php and xmlrpc.php requests.Edit your /etc/csf/csf.conf like bellow:CUSTOM1_LOG = “/var/log/httpd/domains/*.log”If you have use CUSTOM1_LOG use the others After we have to create custom functions …

Apache, CentOS/Rocky Linux, Cloud Linux, Control Panel, CPanel / WHM, DirectAdmin, Installation, MySql

How to set max_open_files in MariaDB / MySQL in CentOS 7

Set the system wide open file limit: vi /etc/security/limits.conf Change/Add the following: * soft nofile 1024000 * hard nofile 1024000 * soft nproc 10240 * hard nproc 10240 Now do this for /etc/sysctl vi /etc/sysctl Add the following fs.file-max = 1024000 Set the changes sysctl -w fs.file-max=1024000 sysctl -p # check changes cat /proc/sys/fs/file-max Set …

Apache, Cloud Linux, Control Panel, CPanel / WHM, DirectAdmin, Plesk

How to easily encrypt/decrypt a file in Linux with gpg

No matter what you’re doing on your computer, you need to do so with an eye to security — that means using strong passwords, storing files in safe locations, and in some cases encrypting files. Fortunately, for nearly every usage, there are tools to enable you to encrypt your data…from transferring data online to storing …

Apache, Control Panel, CPanel / WHM, DirectAdmin

acme.sh SSL using manual DNS method?

To provision SSL certificate using acme.sh with manual DNS verification method, run acme.sh –issue -d DOMAIN_NAME –dns -d www.DOMAIN_NAME –yes-I-know-dns-manual-mode-enough-go-ahead-please When you run this command, you will get DNS TXT entry that needed to be added to your DNS server. Login to your DNS provider, add the DNS entry, then run the following command to …

cPanel, DirectAdmin, FTP

Could not connect to Server in FileZilla-SOLVED

Is FileZilla showing Critical error: Could not connect to the server? We can help you fix it. Usually, FTP clients like FileZilla shows a connection error due to the incorrect protocol or incorrect login credentials. Here at Bobcares, we often get requests from our customers to fix FileZilla errors as part of our Server Management …