Install MongoDB on MAMP

1. Add MAMP’s bin to the $PATH, make suit with your PHP version: export PATH=”/Applications/MAMP/bin/php/php5.x.x/bin:$PATH” 2. Download PHP source same with your PHP version and put into /Applications/MAMP/bin/php/php5.x.x/include 3. Configure PHP: cd /Applications/MAMP/bin/php/php5.x.x/include/php ./configure 4. When finish, install mongodb: sudo

Posted in Uncategorized

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

Install PHP Mongodb driver on MAMP OSX

If you use MAMP and want to use mongodb database, here’s the following step to install PHP Mongo driver. Requirements: Xcode installed. 1. Grab the latest PHP mongodb driver $ git clone https://github.com/mongodb/mongo-php-driver $ cd mongo-php-driver $ /Applications/MAMP/bin/php/php5.4.4/bin/phpize suit the

Posted in OSX

Reset factory openwrt using arduino

If you have an openwrt router and need to reset to factory setting, but you can’t enter the console such as lost IP for your router or wrong configuration so the router can’t accessible, you’re not alone. You need USB

Posted in Arduino Tagged with: ,

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 http://elrepo.org/RPM-GPG-KEY-elrepo.org Open this page http://elrepo.org/tiki/tiki-index.php to get the latest

Posted in CentOS, Linux

Downgrade BBM for BlackBerry

BlackBerry versi 8 baru saja dirilis. Mengusung fitur terbarunya: BBM Channels. BBM Channels ini mirip dengan Facebook fanpage. Pengguna bisa bergabung dengan channel atau bahkan bisa membuat channel sendiri. Namun demikian, bagi pengguna BlackBerry yang masih menggunakan OS7 dan dibawahnya,

Posted in BlackBerry Tagged with:

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 http://packages.atrpms.net/RPM-GPG-KEY.atrpms # 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

Selamat Idul Fitri 1434H

Posted in Uncategorized