Linux Server

How-To-Update-Apache-To-Latest-Version-On-DirectAdmin-Server

How To Update Apache To Latest Version On DirectAdmin Server?

Here are the steps to update Apache to latest version for direct-admin server First check current version of apache: / usr/sbin/httpd -v CustomBuild – current If you’re using custombuild (as most new boxes are), run the following cd /usr/local/directadmin/custombuild ./build update ./build apache ./build php n ./build rewrite_confs CustomApache – end-of-life If you are using customapache with the 1.3 version of apache to the most recent, run the following: cd /usr/local/directadmin/customapache ./build clean ./build update ./build apache_mod_ssl If you’re using apache 2.x, use “./build apache_2” isntead of apache_mod_ssl. This should update both the configure options and the [...]

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...
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...
Optimize-Apache-Web-Server

Optimize Apache Web Server

Apache 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 and optimize Apache web server  performance. 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 server performance is [...]

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...
24x7servermanagement