Category: Server Management

How to install memcache & memcached in Cpanel

Steps to install memcache 1) Install “memcache” from cPanel/WHM (Module installers/PHP Pecl) 2) yum install libevent 3) yum install cyrus-sasl-devel 4) wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz 5) tar -zxvf libmemcached-1.0.18.tar.gz 6) cd libmemcached-1.0.18 7) ./configure 8) make && make install 9) Install “memcached”

Posted in Server Management, Web Hosting

Cpanel Server Hardening

Below are the steps to Harden the cPanel server: Contents 1 Create Wheel User 2 Change SSH Port & Disable Direct Root Login 3 Install ConfigServer Firewall (CSF) 4 Install Maldet Malware Scanner 5 Install ClamAV AntiVirus (From WHM/CPanel) 6

Posted in Server Management, Web Hosting

How to install plesk on Centos 6-64bit

Remove Exisiting Versions of Apache, PHP, MySQL and Cyrus These compents can and will cause conflits with the Plesk install so your best of removing them run the following: yum remove http* yum remove php* yum remove cyrus* yum remove

Posted in Server Management, Web Hosting Tagged with: ,

Extend Cpanel /tmp directory

It’s quite common for a cPanel server to need a larger /tmp partition. cPanel, by default, creates a loopback device that mounts to /tmp. The default size is only 512MB. This is quite small, especially for shared systems. Reasons /tmp

Posted in Server Management, Web Hosting Tagged with: , ,

conversions

Netmask Netmask (binary) CIDR Notes _____________________________________________________________________________ 255.255.255.255 11111111.11111111.11111111.11111111 /32 Host (single addr) 255.255.255.254 11111111.11111111.11111111.11111110 /31 Unuseable 255.255.255.252 11111111.11111111.11111111.11111100 /30 2 useable 255.255.255.248 11111111.11111111.11111111.11111000 /29 6 useable 255.255.255.240 11111111.11111111.11111111.11110000 /28 14 useable 255.255.255.224 11111111.11111111.11111111.11100000 /27 30 useable 255.255.255.192 11111111.11111111.11111111.11000000 /26 62

Posted in Server Management, Web Hosting Tagged with: , , , ,

Comparison suPHP – DSO – FCGI

suPHP DSO FCGI suPHP : suPHP is mainly about security. It will execute PHP scripts with the owner’s account. So, if you want maximum security, use suPHP. But, the biggest problem is, you can’t use any opcode caching modules! No caching,

Posted in Server Management Tagged with: , , , ,

Domainkeys & SPF for serverwide on Cpanel server

SPF & Domainkeys can be enabled via Cpanel Scripts on entire server: Described under is the method to enable cd /var/cpanel/users for user in * ; do /usr/local/cpanel/bin/domain_keys_installer $user ; done for user in * ; do /usr/local/cpanel/bin/spf_installer $user ;

Posted in Server Management

How to Setup an Email Server

Within these pages I attempt to document what I am doing to setup an Linux email server that gets user information from a Windows NT server. The main reason for doing this was to get rid of Microsoft Exchange. Not

Posted in Server Management

how-install-red5-centos-54

1. Download and Install Java yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel 2. Download and Install Ant cd /usr/src wget http://mirrors.kahuki.com/apache/ant/binaries/apache-ant-1.8.1-bin.tar.bz2 tar jxvf apache-ant-1.8.1-bin.tar.bz2 mv apache-ant-1.8.1 /usr/local/ant 3. Export all Variables export ANT_HOME=/usr/local/ant export JAVA_HOME=/usr/lib/jvm/java export PATH=$PATH:/usr/local/ant/bin export CLASSPATH=.:$JAVA_HOME/lib/classes.zip Make the commands

Posted in Server Management Tagged with: ,

DDOS Protection through a script

(D)DoS Deflate is a lightweight bash shell script designed to assist in the process of blocking a denial of service attack. It utilizes the command below to create a list of IP addresses connected to the server, along with their

Posted in Server Management Tagged with: ,