Monthly Archives - September 2013

bridge-network-and-how-to-setup-it-on-Debian

What is bridge network and how to setup it on Debian.

How to setup Bridge Network on Debian. Network bridging describes the action taken by network equipment to allow two or more communication networks, or two or more network segments,  to create an aggregate network. Bridging is distinct from routing which allows the networks to communicate independently as separate networks.A network bridge is a network device that connects multiple network segments. In the OSI model bridging acts in the first two layers, below the network layer. Below are the few simple steps [...]

Read more...
Install-two-php-version-on-plesk

How to Install two php version on plesk

1. SSH to your Parallels Plesk Panel (PP) server as root, download the PHP source, unpack it, and configure it # cd /usr/local/src # mkdir php540 # cd php540 # wget http://www.php.net/get/php-5.4.0.tar.gz/from/at2.php.net/mirror # tar xzvf php-5.4.0.tar.gz # cd php-5.4.0 Note: You HAVE TO USE THE PREFIX SWITCH in order for your new PHP to be installed inside a single directory. For example: # ./configure '--with-libdir=lib64' '--cache-file=../config.cache' '--prefix=/usr/local/php540-cgi' '--with-config-file-path=/usr/local/php540-cgi/etc' '--disable-debug' '--with-pic' '--disable-rpath' '--enable-fastcgi' '--with-bz2' '--with-curl' '--with-freetype-dir=/usr/local/php540-cgi' '--with-png-dir=/usr/local/php540-cgi' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr/local/php540-cgi' '--with-openssl' '--with-pspell' '--with-pcre-regex' '--with-zlib' '--enable-exif' [...]

Read more...
your-server-is-under-DDOS-Attack

How to find your server is under DDOS Attack

Here is a command line to run on your server if you think your server is under DDOS attack.  The commands given below prints out list of open connections on your server and sorts them by connection amount. RedHat: netstat -ntu | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n BSD: netstat -na |awk ‘{print $5}’ |cut -d “.” -f1,2,3,4 |sort |uniq -c |sort -n You can also check for connections by running the following command. netstat -plan [...]

Read more...
Install-MariaDB-in-cPanel-WHM

How to Install MariaDB in cPanel/WHM

Installation Steps for installing MariaDB on Cpanel server. Easy steps. Step 1: Backup existing MySQL data Make sure to save all existing data just in case there are any issues. cp -Rf /var/lib/mysql /var/lib/mysql-old mv /etc/my.cnf /etc/my.cnf-old Step 2: Disable the targets so cPanel no longer handles MySQL updates The following will mark the versions of MySQL we distribute as uninstalled so they are no longer maintained by cPanel/WHM /scripts/update_local_rpm_versions –edit target_settings.MySQL50 uninstalled /scripts/update_local_rpm_versions –edit target_settings.MySQL51 uninstalled /scripts/update_local_rpm_versions –edit target_settings.MySQL55 uninstalled Step 3: Remove existing MySQL RPM’s so theres [...]

Read more...
24x7servermanagement