Install Varnish on CentOS/RedHat/SL 5 or 6 Rumi, December 5, 2012December 5, 2012 Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. It is installed in front of the web application and it speeds up the web application significantly. Since varnish is not available in CentOS repo, you have to add the EPEL repo. However Varnish suggests you to add its own repo to always get the latest version. rpm –nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release-3.0-1.noarch.rpm The –no-signature is only needed on initial installation, since the Varnish GPG key is not yet in the yum keyring Now lets install varnish # yum install varnish Make sure it can handle server reboots 🙂 # chkconfig varnish on Lets change some parameters to suit our enviornment. # vi /etc/varnish/default.vcl # This is a basic VCL configuration file for varnish. See the vcl(7) # man page for details on VCL syntax and semantics. # # Default backend definition. Set this to point to your content # server. # backend default { .host = "172.16.166.10"; //here goes your application server ip address .port = "80"; //the port number accepting web requests } Finally lets start varnish # service varnish start This is a very basic setup, you may tweak it a little more according to your requirement. Related Administrations Configurations (Linux) CentOSRedhatSLVarnish
Install Iptables on CentOS 7 April 23, 2020June 18, 2022 Disable FirewallD To disable the FirewallD on your CentOS 7 system, follow these steps: Type the following command to stop the FirewallD service: sudo systemctl stop firewalld Disable the FirewallD service to start automatically on system boot: sudo systemctl disable firewalld Mask the FirewallD service to prevent it from being… Read More
Hide the Apache Web Server Version number with ServerSignature and ServerTokens directives March 7, 2013 You can easily hide Apche (httpd) version number and other information. There are two config directives that controls Apache version. The ServerSignature directive adds a line containing the Apache HTTP Server server version and the ServerName to any server-generated documents, such as error messages sent back to clients. ServerSignature is… Read More
Install & configuration of Poppasswd server on CentOS 5.2 December 7, 2008December 7, 2008 1. Download Poppassd Daemon for Centos 5 Distro from here- http://rpm.razorsedge.org/centos-5/RE/poppassd-1.8.5-3.el5.re.i386.rpm 2. Install using “rpm -U poppassd-1.8.5-3.el5.re.i386.rpm“ Related Read More