A Bash Script to Detect OS Info #!/bin/bash ### Getting OS Information if [ -f...A Simple FTP Status Daemon
Here is a clumsy script to check on an FTP Service on a remote server if running or down. The...Add New Hosting to a System Installed With Plugged.sh
If you use our LAMP installer script and want to add a new domain afterwards, we’ve created...Adding Job to Crontab Using BASH
Adding a task into crontab is relatively easy. You just enter the crontab with “$ crontab...Backuppc filelistreceive failed – Solution
BackupPC uses ssh and rsync to connect to the client hosts, backuppc user’s shared key must...Building PHP 5.4.3 on CentOS
Even though it’s easier to use yum, sometimes we need to compile PHP from source code....Compile and build Apache + MySQL + PHP from the source [cite]
This is a complete working solution to build Apache (httpd-2.2.25), MySQL (MySQL-5.6.14) and PHP...Determine folder size with “du” including sub folders
You can use du command to see the folder size in LINUX including subfolders.: With du du -h #...Find the Largest Files
The other day I was working on a server and needed the LARGEST files on some directory –...Firewall Settings With IpTables on CentOS and RedHat [cite]
Here on this article we’ll discuss some basic methods to quickly apply to the iptables...Getting Network Information in Bash Scripts
Sometimes when writing your bash scripts, you may need some information about the network, such...How to Export Subscribers from a Cpanel Mailman List?
Cpanel’s Mailman is an open-source mailing list application. The problem is that there is...How to clear contents of a file?
If you want to clear contents of a file in unix, you could just delete the file and recreate it....How to grep Compressed Files?
Sometimes you need to search the contents of .gz files in your system. Unfortunately, grep...Install JSON Support to PHP on CentOS
Here’s a way to add JSON support for PHP on your CentOS server. yum install php-pear...Install mod_python on Centos 6
mod_python is one of the easiest ways to use your Python Scripts as web pages. To install...Installing IonCube Loader on Linux
Installation of IonCube Loader on any variaty of Linux is very simple.Just get the copy from...Installing MS SQL Module to PHP on DirectAdmin [cite]
If you need to connect to an MS Sql Server remotely from your DirectAdmin server via php, you...PHP : Convert/Replace Short Open Tags
Using short open tags, such as <? on your PHP code is not so clever. Other than the debate...Resetting MySQL Root Password on CentOS
It is not uncommon for you to need the MySQL root password of a server, especially when...Some Tips for VIM Users
VIM, one of the best text editors of all time, has a lot of useful options which are usually...Using vi Editor
Vi is the one of the mostly used editor in Linux via terminal. In most cases where Linux is used...