Zend OpCache

The Zend OpCache provides faster PHP execution through opcode caching and optimization. It improves PHP performance by storing precompiled script bytecode in the shared memory.

Installing Zend OPCache on PHP 5.3 or 5.4

1. Login to SSH on your server

2. Type the following commands:

#cd /usr/local/src

#wget http://pecl.php.net/get/ZendOpcache

# to get the latest (master) build do the following instead:

Continue reading…

Icinga2 for centos7

Icinga is a fork of Nagios monitoring system. There are lots of changes and upgrades compared to Nagios, especially in version 2. The main visible difference is UI which is built on ext js. Other significant differences are in hosts and services definitions. Icinga2 designed to monitor large complex environments.

Pre-requisites

We need to make sure Install LAMP stack and epel repository on the CentOS7 server for other dependency application which will support icinga2 . Icinga2 will collect the service information based on the monitoring plugins, so we need to install nagios plugins. Also we should install IDO modules for MySQL which will use for Icinga2 Web interface and other web interfaces. Then setup MySQL database (create icinga DB and  import Icinga 2 IDO schema into database).  Web interfaces and other icinga addons are able to send commands to Icinga2 through the external command pipe, for that we need to setup external command pipe.

Setup Icinga Web 2 Interface

Continue reading…

External Authentication Techniques Available With cPanel

The Manage External Authentications interface in WHM allows you to manage the OpenID Connect-compliant identity providers that your server’s users can use to log in to cPanel, WHM, or Webmail.

Today let see the common external authentication techniques available with cPanel and how to enable/disable these features :

1] External Authentication Via cPanelID

-> Steps for enabling and disabling WHM authentication via cPanelID as follows.

Configuring The External Authentication Via cPanelID

-> Log into WHM as root

-> Navigate to Security Center >> Manage External Authentications Continue reading…

Configuring cPHulk via WHM & command line

Now-a-days Brute force attacks to servers/websites are frequent. Brute force attack is generally a password guessing technique. It is a type of attack in which trying every possible combination of characters or data in order to find the decrypted message. A brute force guarantees finding the key – it’s trying every possible combination and does not rely on any potentially incomplete dictionaries or lists of possible keys.

cPHulk  Brute force Protection is an inbuilt protection used in WHM for preventing brute force attack. cPHulk Brute force Protection  will detect and will block continuous failed login IP address.

cPHulk is a brute force protection system developed by the cPanel team and is exclusive to cPanel / WHM control panels. It has been integrated with cPanel version 11. With cPHulk, you can set a threshold for authentication attempts on services like POP3, cPanel, WHM, FTP, etc. After a certain amount of attempts, the attacker will no longer be able to authenticate

We can enable/disable cPhulk via WHM and command line. Continue reading…