This is a simple backup script for Windows Servers, this script can use network shares or local paths however for this example we have used local paths. In this example the data that we want to backup is on A:AGIX and the directory that we want to store it on
Read moreConnect to SMBFS Shortcut Mac
If you need a way to connect to your home Windows File Server from your Mac without dropping to the command line all the time then the following will be for you. Open Terminal and run the following cd ~/ mkdir Stacks cd Stacks mkdir Server_Connect cat > connect.txt mkdir
Read moreWindows Deployment Services Server
Until I get the chance to write up a new entry this will be my first entry into the Windows tutorials, this is from my old blog and was actually two entries but should be pretty helpful. I have found no matter which company that you work for, there is
Read moreInstall VMWare Tools on Redhat/CentOS
This article explains how to install VMWare Tools on a CentOS or Redhat system. Consider taking a snapshot of the guest first as the installer plays around with the kernel. From within the VMWare client on your Windows system, right click on the virtual machine and choose “Guest” and then
Read moreYour own YouTube in PHP – a web interface to your movies
This is a simple script (very simple, nothing fancy) that gives you a nice web interface to your movies. Your movies and the following php script must be in the same directory and that directory must be servable by apache or whatever web server your using. For example, put your
Read moreHow to Purge Varnish Cache Remotely
This article explains how to purge a Varnish cache from a remote system. For example, if your proxy server is on a different physical server from your web server, you may find it hard to devise a trigger for a Varnish cache flush (purge). This article explains how you can
Read moreGet notified of Yum updates
You can use this script to get notified of YUM updates. Just add it to your crontab and wait for the emails: Create the script file in “/usr/bin/yum-update-notification.sh” and make it executable. Make sure to change the variables at the top of the script and also the packages to check
Read moreHow to Stress-Test a WebServer (Siege, Gatling and basic Maths)
It’s important to know how many people a website server can handle at a given time. Tools like Siege and Gatling are open-source tools that can help. Stress testing tools such as Siege and Gatling make a given number of TCP connections to the target webserver. A typical web browser
Read moreBasic Website Stress-Test with Gatling2
This article demonstrates how to run a basic website stress-test using Gatling2. See the previous article on how to install Galting2. In this example, i’m running Gatling2 from “/root/gatling2/”. Create a file in the “/root/gatling2/user-files/simulation/” directory called “MyTest1.scala” (/root/gatling2/user-files/simulation/MyTest1.scala). Add the following content to it: import io.gatling.core.Predef._ import io.gatling.core.session.Expression import
Read moreInstall Gatling Website Stress-Tester on CentOS 6/Redhat 6
Gatling is a website stress-testing tool. It runs on Java so you need to install JRE7. This article is based on CentOS 6.4. Note that “good” documentation for Gatling basically doesn’t exist. The website (http://gatling-tool.org/) doesn’t have much information and i can’t find anything significant elsewhere. So here are my
Read more