Tag: Shell

Bash shell script to reverse text file contain using Shell array

This script also demonstrate how to use arrays under bash shell script. #!/bin/bash # Bash shell script to reverse text file contain i.e. concatenate files and # print on the standard output in reverse. This script also demonstrate how # to use arrays under bash shell script. # ————————————————————————- # […]

nginx Chroot Helper Bash Shell Script To Copy Libs To /lib64 and /usr/lib64

#!/bin/bash set -e # Use this script to copy shared (libs) files to nginx chrooted # jail server. This is tested on 64 bit Linux (Redhat and Friends only) # —————————————————————————- # Written by Vivek Gite <http://www.cyberciti.biz/> # (c) 2006 nixCraft under GNU GPL v2.0+ # Last updated on: Apr/06/2010 […]

How To Set Up MySQL Database Replication On Fedora 10

This tutorial describes how to set up database replication in MySQL. MySQL replication allows you to have an exact copy of a database from a master server on another server (slave), and all updates to the database on the master server are immediately replicated to the database on the slave […]

Shell Script To Build And Install PHP Xcache Opcode Cache Extension

#!/bin/bash # A simple shell to build and install xcache Opcode Cache as module for # PHP under # CentOS, Fedora and RHEL / Redhat Enterprise Linux # servers. # —————————————————————————- # Written by Vivek Gite <http://www.cyberciti.biz/> # (c) 2008 nixCraft under GNU GPL v2.0+ # —————————————————————————- # Home page: […]