CentOS/RHEL

How to setup Nginx Virtual Hosting in CentOS/Rhel 7.x

Setup Nginx Virtual Hosting in CentOS/Rhel 7.x   Prerequisites : https://www.natsav.com/blog/2017/01/28/how-to-install-and-configure-nginx-on-centosrhel-7-x You need to create websites to share the same IP address : #mkdir -p /var/www/virtualhost/site1.example.com #mkdir /var/www/virtualhost/site2.example.com #chmod 755 /var/www/virtualhost […]

How to Reduce LVM (Logical Volume Management) in CentOS/Rhel 7.x Prerequisites : https://www.natsav.com/blog/2017/01/09/configure-lvm-logical-volume-management-disc-management-on-centosrhel-7-x/ Now we reduce Logical Volume as follow : Now check the Logical Volume #lvs First we need to […]

How to Extend LVM (Logical Volume Management) in CentOS/Rhel 7.x Prerequisites : https://www.natsav.com/blog/2017/01/09/configure-lvm-logical-volume-management-disc-management-on-centosrhel-7-x/ Now we extend Logical Volume as follow : Adding a new Physical Volume we have to use fdisk […]

NFS client installation on CentOS/Rhel 7.x Prerequisites : https://www.natsav.com/blog/2016/12/31/nfs-server-installation-on-centosrhel-7-x/ Now we will install these packages at the CentOS/Rhel 7.x client : #yum install nfs-utils Now create the NFS directory mount point […]

NFS server installation on CentOS/Rhel 7.x Now we will install these packages at the CentOS/Rhel 7.x server as #yum install nfs-utils nfs_utils-lib Now create a direcory for sharing #mkdir /nfs_shared […]

iSCSI Initiator Configuration in CentOS/Rhel 7.x Prerequisites : https://www.natsav.com/blog/2016/12/27/iscsi-target-configuration-in-centosrhel-7-x/   Install the following packages for iSCSI Initiator : #yum -y install iscsi-initiator-utils configure the /etc/iscsi/initiatorname.iscsi,and change the default initiater name by […]