World Backup Day 2014

31. March 2014 SysAdmin 0
Yes, Its 31st Mar 2014, [The World Backup Day]( and Just one day for April Fool’s Day !!!  ![;)]( So Be prepared, Back up your files on March 31st. For how to, Go through the site []( and see how you can backup your Personal Laptop / PC today. Please check my previous posts on how to Backup your Data ...

Apache 2.4 – Error during SSL Handshake with remote server

16. December 2013 SysAdmin 0
Issue Error during SSL Handshake with remote server Usually happens with the following scenario. Server 1 – Apache as SSL proxy to server2 Server 2 – Runs the web service such as apache or nginx. Environment This issue usually happens with apache 2.4.x . Resolution To solve this issue, Just add the following configuration to ...

How to rename eth1 to eth0

27. November 2013 SysAdmin 0
Issue – How to rename eth1 to eth0 – How to rename ethX to yourname Hey, Most of the time when you are dealing with cloned Virtual Linux Servers, You may get the Ethernet device name as eth3,4 etc and without eth0. How we can rename it to eth0, eth1 or even to AWSADMINZ !!! Lets ...

How to Reset wordpress admin password via MySQL query or PhpMyadmin

29. October 2013 SysAdmin 0
This is how you can reset the password of your wordpress admin user. – Connect to your wordpress database via phpmyadmin or mysql-clients like sqlyog – Select the database and get ready to run the following query. [sociallocker] UPDATE `wp_users` SET `user_pass` = MD5( ‘newpassword’ ) WHERE `wp_users`.`user_login` = “admin”; [/sociallocker] – Now you can ...

How to Test the disk write speed on the server

20. October 2013 SysAdmin 0
This command will create a 1000 MB file with name “jobnix-speedtest” . So, Make sure you have 1 GB free space before you run this command. Run the following command to test the write speed of the server disk. dd if=/dev/zero of=jobnix-speedtest bs=1M count=1000 conv=fdatasync

Simple script to scan LUNs, create pv, vg, lv, mounting it and creating new entries in fstab in RHEL. (Note:- Probably need slight modification as pe

16. October 2013 SysAdmin 0
#!/bin/bash MPATH=0 for i in `ls /sys/class/scsi_host/host*/scan`; do echo “- – -” > $i; done sleep 5 multipath -ll echo -n “enter mpath:” read MPATH pvcreate /dev/mapper/${MPATH} vgcreate -s 32 $VG /dev/mapper/${MPATH} lvcreate -l 100%VG -n $LV $VG mkfs.ext4 /dev/mapper/${VG}-${LV} echo -n “Enter mount point directory full path:” read MOUNTPOINT if [ ! -d $MOUNTPOINT ...