Linux Server

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...
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...
Install-Wine-On-CentOS-5

Install Wine On CentOS 5

Trying to install wine using the usual yum command but here is what it says when giving the following command. shell>> yum install wine Loading “fastestmirror” plugin Loading mirror speeds from cached hostfile * base: centose.centos.org * updates: centosj.centos.org * addons: centosh3.centos.org * extras: centose-msync-dvd.centos.org Excluding Packages in global exclude list Finished Setting up Install Process Parsing package install arguments No package wine available. Nothing to do Well the reason is Wine software is not a part of standard CentOS. There is a section on 3rd party repositories called RPMForge. So we will [...]

Read more...
Optimize-Apache-Web-Server

Optimize Apache Web Server

Apache 2.x is a web server, designed to provide a balance of flexibility, portability, and performance, However there are compile-time and run-time configuration choices that can significantly affect performance. The server administrator can configure to tune the performance of an Apache 2.x installation. Some of these configuration options enable the httpd to better take advantage of the capabilities of the hardware and OS, while others allow the administrator to trade functionality for speed. The single biggest hardware issue affecting web [...]

Read more...
Apache-With-The-apachectl-Command

Apache With The apachectl Command

The Apache Web server is arguably the best and most powerful Web server software available for any operating system. While many learn to edit the configuration files and configure or enable various modules, the bulk of what most people do with Apache is manage the content that Apache serves, with very little attention paid to what Apache itself can do. Distributions provide initialization scripts for Apache that take the guesswork out of using it. For instance, service httpd start would [...]

Read more...
Integrating-XCache-Into-PHP5

Integrating XCache Into PHP5

How to integrate XCache into PHP5 on a Fedora 8 or CentOS 5.1 system (with Apache2).  From the XCache project page: “XCache is a fast, stable PHP opcode cacher that has been tested and is now running on production servers under high load.” It’s similar to other PHP opcode cachers, such as eAccelerator and APC. Tested this on a Fedora 8 server with the IP address 192.168.1.12 where Apache2 and PHP5 are already installed and working.  Apache’s default document root [...]

Read more...
RAID-Setup

RAID Setup

The following steps will explain you how to setup RAID 1 on a Linux Server:- Make sure you backup all-important data before using this tutorial. I will be not responsible for data loss. But what is a RAID 1? A single hard drive is mirrored i.e. an exact copy is made of the original drive. Thus, it result into the increased fault tolerance and easy data recovery option for single server. Why I am setting a RAID-1 on running system? Old system admin did [...]

Read more...