Live migration of a RedHat Enteprise Linux 8.0 to Centos 8.0
RHEL 8 to CentOS 8 migration guide.
If you tried a RHEL 8 Beta or you have a Developer’s License of RedHat Enterprise Linux 8 and you want / need to migrate to CentOS 8 for any reason (licensing, cost, hobby, …Read More
What is Virtualmin?
Virtualmin is a powerful and flexible web hosting control panel for Linux and BSD systems. Available in an Open Source community-supported version, and a more feature-filled version with premium support, Virtualmin is the cost-effective and comprehensive solution to virtual web hosting management.
Any of the below OSes and architectures:
Installing docker with Ubuntu 16.04 LTS, Mint 17 and CentOS 7
A brief introduction to virtualization
Today we will learn installing docker with Ubuntu, mint and CentOS 7 Linux, Before the evolution of the concept of virtualization, to run one application one dedicated server was required, if you wanted to run 20 …Read More
Perhaps you’ve been charged with developing a container-based application infrastructure? If so, you most likely understand the value that containers can provide to your developers, architects, and operations team. In fact, you’ve likely been reading up on containers and are excited about exploring the technology in more detail. However, before …Read More
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 natively: …Read More
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
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
Usually in Centos and RHEL 6 systems a soft link is enough to change the Timezone. On RHEL 7 a few things have change. Anyway. In this post I will show you how to Change Timezone Centos / RHEL 7 systems, plus the old way for 6.
Change Timezone Centos / …Read More
Introduction: How to Setup CentOS server
When you first Setup CentOS server, there are a couple setup steps that you ought to take at an opportune time as a feature of the fundamental setup.
This will build the security and ease of use of your server and will issue you a strong …Read More
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
yum install httpd -y
Enable Apache Userdirs
# UserDir is disabled by default since it can confirm the presence
# of a username on the system (depending on home directory
UserDir enabled nixpal
# To enable requests to /~user/ to serve the user's public_html
# directory, remove the "UserDir disabled" line above, and uncomment
# the following line instead:
Options Indexes Includes FollowSymLinks
##For apache 2.2,Please use:
Allow from all
#For apache >= 2.4,Please use :
Require all granted
systemctl restart httpd.service
Then create user’s public_html and assign permissions.
chmod 711 /home/nixpal
chown nixpal:nixpal /home/nixpal/public_html
chmod 755 /home/nixpal/public_html
Then here’s the other new things, especially you are using …Read More
Disable a Firewall In Red Hat Enterprise Linux / CentOS
RHEL 6.x and beyond:
A Linux firewall is an integrated collection of security measures designed to prevent unauthorized electronic access to a networked computer system. Red hat Linux kernel has firewall called iptables. It can be disabled by typing following command (login …Read More