nginx code igniter remove index.php prefix
Objective Remove the index.php prefix from your nginx code igniter instance. Assumptions In your main nginx […]
Objective Remove the index.php prefix from your nginx code igniter instance. Assumptions In your main nginx […]
Recently I tried passing a bash variable to perl command in bash script, it didn’t end well. […]
Objective: Append multiline text with cat Examples Replace contents of /etc/apache2/mods-available/geoip.conf cat <<‘EOF’ > /etc/apache2/mods-available/geoip.conf <IfModule […]
To install geoip php centos follow these steps Install Steps # cd /tmp # wget http://pecl.php.net/get/geoip-1.0.8.tgz […]
To install Django on Centos or Redhat echo “Installing httpd and httpd-devel” yum -q -y –enablerepo=ius […]
To Install Python 2.7.2 on redhat or centos echo “Install Python 2.7.2” mkdir -p /usr/local/src/python.2.7.2.install cd […]
To install varnish on centos or redhat #!/bin/bash echo “Adding Varnish Repository and installing varnish” rpm […]
To install rabbitmq-server on redhat or centos wget -O /root/rabbitmq-server-2.8.7-1.noarch.rpm http://www.rabbitmq.com/releases/rabbitmq-server/v2.8.7/rabbitmq-server-2.8.7-1.noarch.rpm rpm –import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc yum install […]
Testing an https redirect In this example we will be testing an https redirect via curl […]
Objective: Prep dev httpd.conf for production Tasks: Remove jenkins virtual host entry (which starts with a […]