Tips and Tricks, Windows

Windows Speedtest Software

So we all have heard of speedtest.net sure, but what about something that can test from different locations  and create a awesome report for slowdowns and such? I have found DownTester from nirsoft.net what a killer app, works so far on all Windows Desktops and Servers I have tested on. Its simple you install setup your locations and hit go.…

Continue Reading

CentOS, Tips and Tricks, VPS

Mount: special device /dev/xvdd does not exist When Installing XenServer Tools on Linux

According to the Citrix documentation, the command to mount the XenServer tools ISO image on a Linux OS is this: mount /dev/xvdd /mnt But this does not work on CentOS or Ubuntu virtual machines, because these use a different naming convention for CD-ROM devices. Mount XenServer Tools in CentOS sudo mount /dev/cdrom1 /mnt Mount XenServer Tools in CentOS 7 sudo…

Continue Reading

Tips and Tricks

Moving NOC-PS

Have you ever had hardware failure or just messed up your NOC-PS install? Well here is how you can backup, move, and restore your installation with the following commands.   On the old NOC-PS VM: == Enable SSH if you have not done before: – in the NOC-PS VM console press “escape” -> arrow down -> “OS shell” passwd www-data…

Continue Reading

CentOS, Tips and Tricks

Installing Zend Optimizer with IonCube Loader

Zend Optimizer and Ioncube, can safely be installed on an InterWorx server. Ref: http://www.interworx.com/faq/general To install Zend Optimizer. cd /usr/src/ wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz tar xzf ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz Now locate php.ini and extension directory. To locate php.ini, run following command: php -i |grep php.ini You will get a similar output. — Configuration File (php.ini) Path /etc/php-cgi.ini — Now locate extension_dir using following command:…

Continue Reading

Tips and Tricks

How to Create ISO Storage on XenServer

This post walks you through how to create local volume on a XenServer host to serve as ISO repo. 1. ssh to the XenServer host 2. Check free local disk space: df -h Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 4127440 1976852 1940924 51% / none 381120 4 381116 1% /dev/shm /opt/xensource/packages/iso/XenCenter.iso 52408 52408 0 100% /var/xen/xc-install 3. Check…

Continue Reading

Tips and Tricks

New Server or VPS Install Tweaks

As many of you know setting up a new vps or dedicated server can be a time consuming process, where you copy and paste the same commands and updates over and over again. If this sounds like something you do, I have created two scripts for you that fully automates this process.

General, Tips and Tricks

Delete Files Older Than x Days

The find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. We’ll use this in order to figure out what files are older than a certain number of days, and then use the rm command to delete them. Command Syntax find /path/to/files* -mtime +5 -exec rm {} \;…

Continue Reading

Tips and Tricks

Blocked at AOL

AOL as we know is still a large ISP, but a massive pain in the butt to hosting providers because one piece of spam and bang your IP is blocked. This is a simple test to tell if AOL has you blocked. First SSH into your server or vps the run this following command. telnet mailin-01.mx.aol.com 25 If you get…

Continue Reading