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 ...

CyanogenMod 10 – USB mass storage

12. October 2013 SysAdmin 0
Here is how you can enable USB Mass Storage in CynogenMod 10. Please follow the below steps, Go to, **Settings >> Storage**, Then hit **Menu button**. Select **USB Computer Connection** From the menu. Enable **Masst Storage** on the menu. Click **Turn On USB mass storage** on the next screen.  

[How to] set a password for mysql root user

10. September 2013 SysAdmin 0
This is how to set a password for mysql root user. Run the following command to set a password `/usr/bin/mysqladmin -u root password ‘new-password’` Once the password is applied, Test it by accessing mysql as root from localhost. You will get something like this, “` [email protected]:~# mysql ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ ...

FTPbox – A Private DropBox Application

06. September 2013 SysAdmin 0
Ever thought “How to own a Private DropBox” ? [![ftpbox](]( Well, If you have an ftp account on your web hosting, You can turn it to your private Dropbox with [FTPbox ]( FTPbox is an open-source application that allows you to synchronize your files to your own host, via FTP. This way, you can access ...