Web Servers
Get help with Apache, Nginx, Tomcat, Varnish and Load-Balancing Web Servers. AGIX staff have the know-how and experience to help your organisation with best-practices, current technology in various Cloud environments including Amazon AWS. We support popular web engines such as PHP, Python, .net and more.
This page shows examples of our work that AGIX shares freely with you. For a fully supported compute environment, contact our team to find out how we can help your organization move forward in the right way.
See Our Blogs on Web Servers
Create your own Munin Plugin on Redhat/CentOS
All HowTo's
Linux
Redhat, Fedora and CentOS Linux
Web Servers
This article explains how to create your own munin plugin. We will monitor the number of Apache and/or Nginx processors running. On the munin-node (client), create a file as “/usr/share/munin/plugins/webserver-count” and put the following content into it: #!/bin/sh case $1 in config) cat <<'EOM' graph_title Webserver Count graph_vlabel load
Read More
Minimal Nginx and PHP-FPM on CentOS
All HowTo's
Linux
Redhat, Fedora and CentOS Linux
Web Servers
This article explains how to install a minimal Nginx server with php-fpm on a CentOS server. Install the packages: yum install nginx php-fpm php And here is the sample virtual-host config “/etc/nginx/conf.d/agix.com.au.conf”: server { listen 80; server_name agix.com.au *.agix.com.au; access_log /var/log/nginx/agix.com.au.access.log; error_log /var/log/nginx/agix.com.au.error.log; root /var/www/agix.com.au; index index.php; location / {
Read More
Your own YouTube in PHP – a web interface to your movies
All HowTo's
Scripting in Bash
Web Servers
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 More
How to Purge Varnish Cache Remotely
All HowTo's
Web Servers
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 More
Using Varnish to “Cap” Server Load – Redhat/CentOS
All HowTo's
Linux
Redhat, Fedora and CentOS Linux
Web Servers
This article demonstrates how to Cap or Limit the load on a Web Server using Varnish. The idea here is to specify a timeout value which, if exceeded, the web surfer will be diverted to a customised error page. By adjusting the timeout value, the administrator can choose what kind
Read More
Varnish Cache as a Load Balancer on CentOS/Redhat
All HowTo's
Linux
Redhat, Fedora and CentOS Linux
Web Servers
This article explains how to configure the Varnish Cache as a load balancer. In other words, you have two Web Servers with a Varnish server in-front of them. As illustrated below: Internet -> Varnish -> Web Server 1 -> Web Server 2 Varnish does it’s load balancing in a round-robin
Read More
Install Puppet Server & Client on Redhat & CentOS 6
All HowTo's
Ansible & Terraform
Linux
Redhat, Fedora and CentOS Linux
Web Servers
This article explains how to install the Puppet server (also known as the PuppetMaster) and client on a Redhat or CentOS server. Note that Puppet uses TCP ports 8140, 61613, and 443. First add the Puppet repo on both the puppet client and server systems. The following link has several
Read More
Configure Varnish Cache for Multiple Domains – CentOS/Redhat 6
All HowTo's
Linux
Redhat, Fedora and CentOS Linux
Ubuntu, Mint & Debian Linux
Web Servers
This article applies to Varnish 3. This article explains how to configure the Varnish Cache to cache for multiple domains on the same backend server. I’ve used CentOS 6.2 for this example. In this example, Varnish is listening on TCP port 80. The DNS “www” “A” record for the domains
Read More
Configure SNMP on CentOS for use with Nagios (monitor disk space)
All HowTo's
Linux
Redhat, Fedora and CentOS Linux
Web Servers
This article explains how to configure SNMP for use with Nagios on a CentOS server. It’s assumed you already have Nagios installed but not necessarily configure to use SNMP to monitor a host. We use “Disk Space” monitoring in this article. For this article, i’ve used the following versions: 1.
Read More
Need Help?
Click Here