-
Part-1: Creation of Hard drive image using Clonezilla
Scenario: The scenario is really simple, in which I want to backup my Ubuntu server using the “CloneZilla Live” and also want to store it on another server which has an ip address of 192.168.179.141. If you want to learn more about CloneZilla, please visit this link. Let’s start the tutorial by inserting the CloneZilla […]
-
How to reduce the root partition in LVM
In this tutorial, I am using the CentOS6(I believe that its also applicable on other Linux distro but didn’t try yet) that has ext4 partition lv_root mounted as / and lv_swap as swap from the volume group vg_centos6 (which is default), that has two hard drives (66GB & 25GB). Due to some reasons, I want […]
-
How to extend the root partition in LVM
In this tutorial, I am using the CentOS6(but also applicable on other Linux distro) that has ext4 partition lv_root mounted as / and lv_swap as swap from the volume group vg_centos6 (which is default), we pretend that we are running out of space in lv_root(/) and volume group (vg_centos6) doesn’t have any free space. We […]
-
Fixing httpd: [warn] module php5_module is already loaded, skipping
I have a CentOS webserver with the Apache and PHP installed on it and it works perfectly but when I restart the Apache service, I get this error: [warn] module php5_module is already loaded, skipping To solve this problem, I have to verify this module load call in two files and need to remove/comment from […]
-
How to recover deleted Apache Log
Scenario: The server is running Apache and by mistake one of the log files gets deleted. How, we can recover it? Currently, Apache server is working perfectly: Login/Switch to as root user: Move to the httpd in log directory: cd /var/log/httpd Delete the log file: rm -f access_log So the log file has been deleted,now […]
-
How to Disable SELinux on CentOS without Rebooting
I have a lot of programs that crash by Selinux Policy and don’t have that much time to make rules for each program so that it perform properly, above all I want to disable the SELinux without rebooting the server. Note: But one thing keep in mind that by disabling SELinux you will be removing […]
-
Installing RPMforge Repository on CentOS 6
If you’re looking for a package on CentOS and can’t find in the main repos then there’s a good chance that you can find it, in the RPMforge repository. RPMforge is a collaboration of packagers and is not part of Red Hat or CentOS but is designed to work with those distributions. Download the rpmforge-release […]
-
How to Encrypt VNC Traffic with Putty
Before starting this tutorial, please read this post, to learn more about the VNC Server setting that we are using in this tutorial. By default, VNC is not secure protocol.VNC uses encryption during initial connection and login (passwords are not sent in plain-text). Once, we connected then all the VNC data is unencrypted and hacker […]