Blog Archives

How To Store PHP Sessions in Memcached on a CentOS

Store PHP Sessions in memcached will improved the performance for busy server. Why? Because memcached will store session in memory instead of files. The following how to install Memcached and buold PHP memcached extension: 1. Install Memcached: # yum install

Posted in CentOS, Linux

Install H264 Streaming Module for Apache on CentOS

If you have site has mp4 video, the visitor will need to get all mp4 video downloaded. It’s bad for video longer and has low bandwith. You need a plugin for pseudo-streaming. The H264 Streaming Module is a plugin for

Posted in CentOS, Linux

Mounting HFS+ Volume on CentOS

The easy way to mountint HFS+ Volume on CentOS is using elrepo. But right now it’s only read only mount. First you need to import elrepo GPG Key: # rpm –import Open this page to get the latest

Posted in CentOS, Linux

Install php-ffmpeg on CentOS

The easy way to install php-ffmpeg. The following works for CentOS 5 and CentOS 6. Install ffmpeg and ffmpeg-devel # yum remove libvpx libogg libvorbis libtheora lib´╗┐x264 x264 ffmpeg # rpm –import # vim /etc/yum.repos.d/atrpms.repo [atrpms] name=Fedora Core $releasever

Posted in CentOS, Linux

Install SSL Certificate on zPanel

The following is an simplified how to install SSL Certificate on zPanel. You can use a self-signed SSL Certificate or buy. First create ssl directory to easy maintain: $ mkdir /var/zpanel/hostdata/zadmin/ssl Then go to ssl directory: $ cd /var/zpanel/hostdata/zadmin/ssl Generate

Posted in CentOS, Linux, Ubuntu, zPanel