SysAdmin articles

135 posts

SysAdmin

How to rename eth1 to eth0

27 November 2013·1 min readArchive

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

Read article →
SysAdmin

How to Reset wordpress admin password via MySQL query or PhpMyadmin

29 October 2013·1 min readArchive

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

Read article →
SysAdmin

Esay way to check remote server status (whether it is up/down) from a list of servers using nmap

22 October 2013·1 min readArchive

Suppose, serverlist is the file-name which contain all the list of servers. Enter below nmap command from your jumphost:- nmap -iL serverlist -sP|grep up

Read article →
SysAdmin

How to Test the disk write speed on the server

20 October 2013·1 min readArchive

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

Read article →
SysAdmin

Easy way to get system installation date in RHEL

16 October 2013·1 min readArchive

tune2fs -l $(df -P / | tail -n1 | cut -d ‘ ‘ -f1 ) | grep ‘Filesystem created:’

Read article →
SysAdmin

Execute command without logging into history in RHEL

16 October 2013·1 min readArchive

history -d $((HISTCMD-1)) &&

Read article →
SysAdmin

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·1 min readArchive

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

Read article →
SysAdmin

Add new LUN or Disk, or Resize the LUN or Disk on a Linux without a reboot

16 October 2013·1 min readArchive

We often need to add or modify a disk to a running server. In this article, we will see how you can Add new LUN or Disk, or Resize the LUN or Disk on a Linux without a reboot Scenario 1 – Add a new...

Read article →
SysAdmin

CyanogenMod 10 – USB mass storage

12 October 2013·1 min readArchive

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

Read article →
SysAdmin

[How to] set a password for mysql root user

10 September 2013·1 min readArchive

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

Read article →
SysAdmin

FTPbox – A Private DropBox Application

6 September 2013·1 min readArchive

Ever thought “How to own a Private DropBox” ? Well, If you have an ftp account on your web hosting, You can turn it to your private Dropbox with FTPbox application. FTPbox is an open-source...

Read article →
SysAdmin

Git – How to transfer or move repository between accounts

23 August 2013·1 min readArchive

Some times you may need to move your git repository to another account, even between providers such as, github.com, butbucket.org, gitlab.com or even to your own git server. Pre-Requirements Write...

Read article →

Reading this because your AWS bill or uptime is a problem?

30 minutes, direct with the founder, no sales pitch: one specific recommendation for your AWS workload.

Book a free 30-minute review
30 min Free Consultation →