Blog

Upgrade-MySQL-On-Plesk-CentOS-Linux

Upgrade MySQL On Plesk CentOS Linux

We had successfully upgraded from MySQL 5.0 to MySQL 5.1.47 along with PHP on one of our Plesk server. Please use this solution if you notice any package conflicts, or other concerns with using 5.1 in your environment. Like PHP, this will be a full change to the newer packages and the 5.0 series will be retired. The procedure is quite simple 1.) wget -q -O – http://www.atomicorp.com/installers/atomic.sh | sh 2.)  To upgrade: yum –enablerepo=atomic-testing upgrade MySQL That’s it,  And if you simply [...]

Read more...
Manual-Installation-Of-Nginx-In-cPanel-Apache-In-Proxy-Mode

Manual Installation Of Nginx In cPanel Apache In Proxy Mode

1. In order to get the cPanel server ready for nginx – you must first install an Apache module called mod_rpaf Login as root: # cd /usr/local/src # wget http://stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz # tar xvzf mod_rpaf-0.6.tar.gz # cd mod_rpaf-0.6 # /usr/local/apache/bin/apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c 2. Doing so will install the module into the Apache module directory. Then Go to your  Web Host Manager (WHM) follow the tree here: Main >> Service Configuration >> Apache Configuration > Include Editor > Pre Main Include and Select the Apache version that [...]

Read more...
Simple-Steps-To-Install-mod_flvx-With-Apache

Simple Steps To Install mod_flvx With Apache

Today we had to install mod_flvx on CentOs server and here are the steps you need to do. I guess you have already installed Apache web server being cpanel server.  Just be sure that you have Apache 2.2 version on the server or else you might have errors during compiling mod_flv. Download mod_flvx.c cd /usr/src wget http://github.com/osantana/mod_flvx/blob/master/mod_flvx.c Compile And Install Module: /usr/local/apache/bin/apxs -i -a -c mod_flvx.c Add the following handler in /usr/local/apache/conf/httpd.conf AddHandler flv-stream .flv Reload Configuration: service httpd restart

Read more...
ffmpeg-php-Compile-Error

ffmpeg-php Compile Error – Make: *** [ffmpeg_frame.lo] Error 1

If you are getting the following error while compiling the latest release of ffmpeg-php-0.6.0 , This will article will let you know how to get this fix. Error: /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function âzim_ffmpeg_frame_toGDImageâ: /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: âPIX_FMT_RGBA32â undeclared (first use in this function) /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: (Each undeclared identifier is reported only once /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: for each function it appears in.) /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function âzim_ffmpeg_frame_ffmpeg_frameâ: /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:421: error: âPIX_FMT_RGBA32â undeclared (first use in this function) make: *** [ffmpeg_frame.lo] Error 1 Solution:- Under the ffmpeg-php-0.6.0 directory modify the file: ffmpeg_frame.c with nano or vi [...]

Read more...
Binding-Multiple-Network-Interfaces-(NIC)-Into-Single-Interface

Binding Multiple Network Interfaces (NIC) Into Single Interface

Today we had successfully binded two NIC cards into one single interface , Basically the purpose is to increase the speed and bandwidth as Linux allows administrators to bind NIC’s together into a single channel using the bonding kernel module and a special network interface called a channel bonding interface. Channel bonding enables two or more network interfaces to act as one, simultaneously increasing the bandwidth and providing redundancy. Before proceeding make sure both the interfaces eth0 and eth1 [...]

Read more...
What-Is-VPN--Virtual-Private-Network

What Is VPN (Virtual Private Network)?

VPN stands for Virtual Private Network. A VPN uses the Internet as it’s transport mechanism, while maintaining the security of the data on the VPN. VPN’s commonly are used to connect local area networks (LAN’s) into wide area networks (WAN’s) using the Internet. Some Of The Basic Requirements For VPN 1] User Permission: Enable a user to access the VPN: To do this, go to AD Users and Computers, select the user who need to access the VPN, click Dial-in. [...]

Read more...
SolusVM-Error

SolusVM Error: Getting Connection Error When Adding A Slave To The Master In SolusVM

SolusVM Error: Getting Connection Error when adding slave to master. We had that problem with  while adding a Slave to the master in SolusVM control panel. Here Is What You Need To Do… In that case you need to check the IP address that is listed in /usr/local/solusvm/data/allow.dat on the slave matches the IP Address of the master. You can check the IP running the below command on your shell # curl -s http://checkip.dyndns.org/ | grep -o “[[:digit:].]\+” The result for above command should [...]

Read more...
Install-FFmpeg-On-CentOS-with-Yum

Install FFmpeg On CentOS with Yum

The easiest way to install FFMPEG and other modules is through yum. Follow the steps given below to install ffmpeg with yum command. First we will have to install the DAG RPM repositories which contains huge amount of rpm packages. It’s very easy. Just install the latest rpmforge-release package for your distribution and architecture.  This will automatically install the configuration and GPG keys that are for safely installing RPMforge packages. Please select the correct command from the following list: * Supported Red [...]

Read more...
Optimizing-Debian-Plesk-Server

Optimizing Debian Plesk Server

Today we had a very strange issue on one of our debian based plesk server where sites were loading too slow, After investigation we finally revealed that Debian switches on IPv6 by default, and then uses this before it uses IPv4 for DNS resolution hence causing DNS delays and site loading slow.  So we need to set the ipv6 to off and then reboot the server. Here is how it should be done on the server. Login into the server [...]

Read more...
Install-ImageMagick-With-PHP-Imagick-Extension-On-Plesk-CentOS-VPS

Install ImageMagick With PHP Imagick Extension On Plesk CentOS VPS

Here are the steps and procedures you need to follow for install Imagemagick on Plesk VPS. login into the server and give the following commands, This requires yum to be installed on the server. yum install ImageMagick yum install ImageMagick-devel yum install php-pear [for PECL] pecl install imagick if you are getting the following error then you do not have compiler installed. You can do that using yum install gcc configure: error: no acceptable C compiler found in $PATH See `config.log’ for more details.” Restart the [...]

Read more...