IT Knowledge Base

Technical Repository

HowTo: Rename EMC VNX Control Station Name

SSH into the Control Station and as root, run the following commands: Rename the Control Station and save your changes. # cd /etc/sysconfig # vi network Rename the appropriate Control Station name entry # vi /etc/hosts Save the change. Reboot the control stations.

Read More


HowTo: Linux – Configure SSH-Key Based Authentication

Let’s assume that you have two servers, ServerA and ServerB. You want to be able to be able to use certificates to log onto ServerB from ServerA without having to type in a username and password. To do this, we need to generate a public and private key pair on ServerA and then copy ServerA’s […]

Read More


HowTo: Configure Lighttpd to redirect HTTP to HTTPS

$HTTP[“scheme”] == “http” { # capture vhost name with regex conditiona -> %0 in redirect pattern # must be the most inner block to the redirect rule $HTTP[“host”] =~ “.*” { url.redirect = (“.*” => “https://%0$0”) } }

Read More


HowTo: Nginx/PHP, Fix the “Upstream sent too big header while reading” error

tail -f /usr/local/nginx/logs/error.log [error] 17142#0: *4 upstream sent too big header while reading response header from upstream Add this to your http {} of the nginx.conf file normally located at /etc/nginx/nginx.conf: proxy_buffer_size 128k; proxy_buffers 4256k; proxy_busy_buffers_size 256k; Then add this to your php location block, this will be located in your vhost file look for the block that begins with location […]

Read More


HowTo: VMware vSphere ESXi 5.5 – Enable Round Robin Multipathing/Load Balance 1IOP per Path

Run this command to return all the properties of the mapped LUNS. Use this to get the device name. esxcli storage core path list Configure VMware’s Path Selection Policy to use Round Robin esxcli storage nmp device set –device naa.600c0ff00010d5c79f67da5301000000 –psp VMW_PSP_RR Configure the Path Selection Policy to load balance packets to round robin every […]

Read More



HowTo: Linux – How to find out which file system is causing the DF command to hang

If you type “df -k” in a terminal window, and the command hangs (does not return), to find which filesystem is causing the hang: 1. Type mount -p to print the list of mounted file systems: # mount -p 2. Now type your df command again: # df -k Compare the output of the two commands, […]

Read More


HowTo: Excel – Delete all blank rows.

After selecting the data range, continue as follows: 1. Press [F5]. 2. In the resulting Go To dialog box, click Special. 3. Click the Blanks option and click Ok. Doing so selects the blank cells (what you might think of as rows) in the selected range. 4. Now you’re ready to delete the selected cells.

Read More


HowTo: Optimize MySQL Tables

Optimize a specific table mysqlcheck -u [username] -p[password] -o [database name] Optimize all tables mysqlcheck -u [username] -p[password] -o –all-databases

Read More


HowTo: Running logon script from mapped drive

By default you cannot run a bat file from a network share, UNC paths are not supported. To get this to work, you would run pushd and popd. This will map out a temporary drive letter so that the bat commands will be able to run off the ‘mapped’ share and then the connection will […]

Read More