How to easily install Vesta Cpanel in a fresh server

If you are a developer who uses cloud often, you must have come across situations where you needed to quickly host a new website on your server. But often it takes a considerable amount of work to get a fresh server ready and hardened for hosting websites. Installing the required software packages, like a web …

How to Install MySQL 5.7 on Centos/RHEL 6.X/7.X

Step 1: Save the Repo File for The MySql 5.7 or Install the RPM for Mysql 5.7 vi /etc/yum.repos.d/mysql-community.repo [mysql57-community] name=MySQL 5.7 Community Server baseurl=http://repo.mysql.com/yum/mysql-5.7-community/el/6/$basearch/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql — save n quit (:wq) — or, ————— On RHEL/CentOS 7 ————— wget http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm yum localinstall mysql57-community-release-el7-7.noarch.rpm ————— On RHEL/CentOS 6 ————— wget http://dev.mysql.com/get/mysql57-community-release-el6-7.noarch.rpm yum localinstall mysql57-community-release-el6-7.noarch.rpm …

How to Install uTorrent on Centos/RHEL 6.X

Step 1: Install needed packages yum install -y wget glibc openssl* libgcc unzip Step 2: Create sym link for libssl because the CentOS 6 has newer version of uTorrent required For x86_64 ln -s /usr/lib64/libcrypto.so.0.9.8e /usr/lib64/libcrypto.so.0.9.8 ln -s /usr/lib64/libssl.so.0.9.8e /usr/lib64/libssl.so.0.9.8 Step 3: Download uTorrent for Linux and Extract it cd /mnt && wget -qO – …

How to Install LAMP on Centos/RHEL 6.X

Install LAMP With Php and MySLQ 5.6 Version on Centos/RHEL 6.X Requirement: A. Centos/RHEL 6.x OS Server B. Apache Web Server 2.0 (httpd) C. MySQL Database Server 5.6 D. PHP Scripting Language 5.6 E. phpMyAdmin 4.3.10 – Web based MySQL Administration Tool Step 1. Install Apache: # yum -y install httpd httpd-devel Step 2. Edit …

How to Install Usermin on Centos

Step 1: Login to the VPS or server you want to install Usermin at and open your terminal. Now execute the command below to download the latest version of Usermin and unpack it. wget http://download.webmin.com/download/yum/usermin-1.470-1.noarch.rpm rpm -Uvh usermin-1.470-1.noarch.rpm Now we need to open a text editor using the command below vi /etc/usermin/miniserv.conf Now add the …

Blocking countries using .htaccess with cloudflare

Need to block users from a certain country from visiting your website using .htaccess but still want to keep using Cloudflare optimization services? Just add this piece of code to your .htaccess SetEnvIf CF-IPCountry IN BuzzOff=1 Order allow,deny Allow from all Deny from env=BuzzOff In the above code, we are blocking all users from India(IN), …

Quickly fix a base64-infected website

Base64 attacks are becoming more and more common these days. They involve exploiting a PHP vulnerability on a website and injecting malicious, base64-obfuscated code. The main targets of such attacks are poorly coded plugins that feature security holes. The encoded code is decoded when the infected .php file is loaded and the actual attack is carried …