Add port 80 to firewalld CentOS 7

By default the port 80 for http connection is filtered on Redhat 7 as you can only access this port from the actual localhost and not from any other public host. To open a port 80 on RHEL 7 Linux we need to add an iptables rule. For this RHEL7 uses firewall-cmd. First add your … Read more

Stop firewalld on CentOS 7

To disable firewalld, run the following command as root: To stop firewalld, run the following command as root: To check the status of firewalld, run the following command as root: To enable firewalld, run the following command as root: To start firewalld, run the following command as root: Other information: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Security_Guide/sec-Using_Firewalls.html

Add different port ssh CentOS 7

Begin by opening the configuration file with your text editor as root: The first option that you may want to change is the port that SSH runs on. Find the line that looks like this: Change this to a different port Reload ssh After saving, don’t exit until you’ve completed these steps. By default, SELinux … Read more

Disabling Recursive DNS in the Plesk Panel and No Panels

To Disable Recursive DNS in the Parallels Plesk Panel Log in to the Parallels Plesk Panel as administrator. Click Tools & Settings. From the General Settings area, click DNS Template Settings. Click DNS Recursion.Select Localnets, and then click Ok. For Windows Servers: Log in to your  Server  through a Remote Desktop Connection. From the Start … Read more

Ghost Vulnerability

A very serious security problem has been found and patched in the GNU C Library called Glibc. It was announced on 27th January 2015.

Here are the affected Linux distros:

  • RHEL (Red Hat Enterprise Linux) version 5.x, 6.x and 7.x
  • CentOS Linux version 5.x, 6.x & 7.x
  • Ubuntu Linux version 10.04, 12.04 LTS
  • Debian Linux version 7.x
  • Linux Mint version 13.0
  • Fedora Linux version 19 or older
  • SUSE Linux Enterprise 11 and older (also OpenSuse Linux 11 or older versions).
  • SUSE Linux Enterprise Software Development Kit 11 SP3
  • SUSE Linux Enterprise Server 11 SP3 for VMware
  • SUSE Linux Enterprise Server 11 SP3
  • SUSE Linux Enterprise Server 11 SP2 LTSS
  • SUSE Linux Enterprise Server 11 SP1 LTSS
  • SUSE Linux Enterprise Server 10 SP4 LTSS
  • SUSE Linux Enterprise Desktop 11 SP3
  • Arch Linux glibc version <= 2.18-1

Read More to Fix the GHOST vulnerability on a CentOS/RHEL/Fedora/Ubuntu Linux

Read more

How to Setup networking on centos 7

Source: http://www.krizna.com/centos/setup-network-centos-7/ When installing Centos 7, You may not able to connect network in that machine. This will happen because Ethernet interfaces are not enabled by default and need additional configuration. Type “nmcli d” command in your terminal Recommended for beginners Step 1 » Type this command “nmtui” to open Network manager and press enter … Read more