This article explains how to install and configure VNC Server for Redhat or CentOS. This is the preferred graphical way to remotely manage a Redhat system. Our objective in this tutorial is to allow two users to log in via VNC; the “root” user and the “agix” user. Both will
Read moreBrowse through our full list of articles. Everything from Linux & Cybersecurity to automation and Windows topics.
Terminal Tip – Find your IP quicker
This one is old and simple but can save you time when trying to get the IP address of the machine you are working with, you will not have to scroll through other bits of information just to find your IP, this is designed for a system with a single
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 moreDisplay a message when users login (MOTD)
To display a message to all users who log into your server, you should edit the file “/etc/motd” as root. #### This is the Web Server for AGIX. #### Note that this message is displayed ‘after’ someone has logged in, not before. Nothing further needs to be done. Just try
Read more