Category: Centos / RHEL

Setting up PPTP VPN server on CentOS Server

Setting up PPTP VPN server on CentOS Server There are 3 basic types of VPN servers: Point-to-Point Tunneling Protocol (PPTP), Layer 2 Tunneling Protocol(L2TP) and OpenVPN. (Yeah there are more but let’s deal with the basics here). In this post I will use PPTP as it’s supported by almost all devices and OSes

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.

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

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

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 su – root 2. Create /etc/httpd/conf.d/userdir.conf file Install apache:  yum install httpd -y Enable Apache Userdirs vi  /etc/httpd/conf.d/userdir.conf add: <IfModule mod_userdir.c> #

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