Blog

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...
WordPress-Blog-Brute-Force-Flood-Underway

WordPress Blog Brute Force Flood Underway !!

Recently we have seen on-going global attack on WordPress installations across every web host in existence. This attack is well organized and specially targets the file wp-login.php. Some of the ramifications of this attacks  are 1) Sites are loading extremely slow. 2) Unable to login to WordPress Admin Panel. 3) Website could even intermittently go down for undisclosed periods of time. So what needs to bed one. Here are some tips we will let you know to protect your WordPress blog. 1) Make sure [...]

Read more...
Disable-Reverse-Lookups-In-QMail

Disable Reverse Lookups In QMail

Open /etc/xinetd.d/smtp_psa with your favourite text editor (vi, nano etc) Find the line that starts with server_args and add “-Rt0” after the equals sign like so: BEFORE: server_args = /usr/sbin/rblsmtpd -r sbl-xbl.spamhaus.org /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true AFTER: server_args = -Rt0 /usr/sbin/rblsmtpd -r sbl-xbl.spamhaus.org /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true Then save the file and issue: service xinetd restart; service qmail restart as root to restart qmail and apply the changes. Make sure nothing else is modified apart from this as qmail will start to break horribly. Cheers.

Read more...
Important-Factors-To-Consider-Choosing-The-Right-Dedicated-Server

Important Factors To Consider Choosing The Right Dedicated Server

Its quite often seen that choosing the right dedicated server for webhosting is confusing specially for those people who had just put their first step in webhosting biz. Many times we’ve seen them coming on our live chats and asking for what server they should choose ? What operating system ? What should be the hardware configuration ? My site is having huge traffic, Who is the best provider in Industry ? What control panel will be better ? [...]

Read more...
How To Install Grsecurity On CentOS 6.0

How To Install Grsecurity On CentOS 6.0?

Ideal way to install Grsecurity on 32 bit CentOS is :  Just follow the steps given below. Fetch the sources: Download kernel from kernel.org #wget http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.32/linux-2.6.32.51.tar.gz Downlaod latest Grsecurity patch from below URL : #wget http://grsecurity.net/stable/grsecurity-2.2.2-2.6.32.51-201201021326.patch Extract: tar xjf linux-2.6.32.51.tar.gz Patch the kernel: #cd linux-2.6.32.51 #patch -p1 < ../grsecurity-2.2.2-2.6.32.51-201201021326.patch Now start making the kernel : # make clean && make mrproper Edit your kernel as per your need : # make menuconfig Compile your kernel and install it: # make bzImage # make modules # make modules_install Make sure it’s working ok with the help of following command [...]

Read more...
Install-SSL-On-Parallels-Plesk-Panel-10-And-Plesk-11

Install SSL On Parallels Plesk Panel 10 And Plesk 11

Log in to Parallels Plesk Panel as admin. If necessary, switch to Service Provider view From the Hosting Services menu, click Domains. Next to the domain name you want to use, click Open in Control Panel. Go to the Websites & Domains tab, and then click Secure Your Site with SSL Certificates. Under Certificate name, click the certificate you want to use. Next to the Certificate field, click Browse. Locate your signed CRT file, e.g., 24x7servermanagement.com.crt, and then click Open. Next to the CA certificate field, click [...]

Read more...
Install-AWStats-On-DirectAdmin

Install AWStats On DirectAdmin

You Can Install AWstats On DirectAdmin Using The Following Steps cd /usr/local/directadmin/custombuild nano options.conf change “awstats=no” to “awstats=yes” ./build update ./build awstats nano /usr/local/directadmin/conf/directadmin.conf change “”awstats=0” “awstats=1” cd /usr/local/directadmin/scripts ./awstats.sh echo ‘action=tally&value=all’ >> /usr/local/directadmin/data/task.queue /usr/local/directadmin/dataskq d /etc/init.d/directadmin restart   —————- Regards, Arun Pingale Level-3 Systems Administrator http://24×7servermanagement.com/ Email: Arun@24×7servermanagement.net

Read more...
*/