CSF ConfigServer Firewall

Install and Configure CSF ConfigServer Firewall

Install and Configure CSF ConfigServer Firewall
About CSF Firewall
ConfigServer Security and Firewall, also known as CSF, is an opensource software firewall application. It is working based on iptables. Firewall configuration script created to provide better security for your server while giving you an easy to use, advanced interface for managing your firewall …Read More

Centos Recover broken rpmdb or missing packages

Centos Recover broken rpmdb or missing packages

Centos Recover broken rpmdb or missing packages
Did you ever encountered broken rpmdb ? Missing packages, filesystem corruption at /var/lib/rpm and ran out of backups or a restore isn’t possible ? You can fix it in Centos Recover broken rpmdb or missing packages  and on other RHEL based systems too.

Let’s assume that …Read More

20 IPtables Examples For New SysAdmins

Configure FirewallD in RHEL/CentOS 7 and Fedora 21/22

In a previous post I’ve showed how to disable firewalld and roll back to our favorite post-systemd iptables firewall. In this post we gonna see how to Configure FirewallD in RHEL/CentOS 7 and Fedora 21/22.

Firewalld is a dynamic daemon to configure and manage firewalls (iptables rules typically) with support for …Read More

Cpanel: Count and List all mailboxes

Cpanel: Count and List all mailboxes

Did you ever wanted to see how many mailboxes do you serve in total ?

You can see per user listing mailboxes in cPanel, but all of them is a pain. No such feature. It’s easy enough:

 

you can also try:

 

Want to check a complete list of all emails ? That’s even …Read More

Check / Determine Your Version of Tomcat and Java

Check / Determine Your Version of Tomcat and Java

Determine Your Version of Tomcat using console
Linux:

java -cp lib/catalina.jar org.apache.catalina.util.ServerInfo

Windows:

java.exe -cp lib\catalina.jar org.apache.catalina.util.ServerInfo

 

The output should be similar to this:

java -cp catalina.jar org.apache.catalina.util.ServerInfo
Server version: Apache Tomcat/7.0.42
Server built: Jul 18 2014 10:08:19
Server number: 7.0.42.0
OS Name: Linux
OS Version: 2.6.32-531.29.2.lve1.3.11.1.el6.x86_64
Architecture: amd64
JVM Version: 1.7.0_75-mockbuild_2015_01_22_07_15-b00
JVM Vendor: Oracle Corporation

 

Location of catalina.jar in cPanel server is:

/usr/local/easy/share/java/easy-tomcat7

 
Determine Your Version …Read More

Enable Apache UserDir In CentOS 7 / RHEL 7 with SELinux

Enable Apache UserDir In CentOS 7 / RHEL 7 with SELinux

Lets show you how to install userdir for Centos 7 with Selinux Enabled. In this method all users should have their own public_html directory.

1. Go to root user

2. Create /etc/httpd/conf.d/userdir.conf file

Install apache: 

Enable Apache Userdirs

add:

Restart apache

Then create user’s public_html and assign permissions.

Then here’s the other new things, especially you are using …Read More

Email Security - Blocking outgoing spoofed emails from cPanel server

Email Security – Blocking outgoing spoofed emails from cPanel server

As a company that proactively manages web hosting servers, we do regular security audits on them. One of the recurring issues we have seen with un-managed servers is loss of server reputation, and service up-time through outbound spam mails.

To combat spam, the first step is finding a common pattern that …Read More