Minimal Configuration NAT PF Internet Gateway on OpenBSD 5.2
ext_if = "rl0" # macro for external interface - use tun0 for PPPoE int_if = "bge0" # macro for internal interface int_net = "192.168.2.0/24" pass out on $ext_if from $int_if:network to any nat-to ($ext_if) more
Redirect Spree URL on Heroku to Custom Domain
append to config/application.rb create file lib/no_www.rb it will redirect http://pasarcairo.herokuapp.com to http://pasarcairo.com ref: http://blog.misza.co.uk/2010/01/redirecting-in-rack.html http://stackoverflow.com/questions/4046960/how-to-redirect-without-www-using-rails-3-rack more
Disassembling Acer Travelmate 6292
published: 30 Jun 2012,
in category:
Hardware,
thermal pasta,
hmm,.. yep.. i was disassembling my laptop Acer Travelmate 6292. Wowfh.. it’s awesome.. we dont need bring it to Support Center hehe. I have to replace thermal paste cause noise and smell from HSF (Head Sink Fan). we need read manual documentation to disassembling it. Download at here. Happy Hacking... more
Custom Screensaver with xprintidle
xprintidle is a small program that prints the user’s idle time to stdout, using the X screensaver extension. It is meant for use in scripts. Other, xprintidle is a utility that queries the X server for the user’s idle time and prints it to stdout (in milliseconds). Install xprintidle grab... more
php ini not working on cPanel use suPHP
is suPHP apache trouble maker which php.ini on per user not working as well. and check now root@venus [/home/rottwe/www]# php -c php.ini t.php | grep globalrun command auto_globals_jit => On => On register_globals => On => On reference whmcpanel-per-user-php-ini-under-apache-2-x-and-suphp more
Load Balancing MySQL Replication Master to Master with HAProxy
Quick How to Load Balancing MySQL master to master with HAProxy On previous post, we’ve installed MySQL Server Replication Master to Master. Now, we can do that for Load Balancing with HAProxy. We need one server again to do this. Do this section on HAProxy server (on example). Installing HAProxy... more
Replicate Master to Master MySQL
Preparation Master 1, srv14: 111.68.112.43 Master 2, srv15: 111.68.112.44 Install mysql server on both server. look at previous post for this section. Configuration Master 1 Master 2 Setup Replication Setup Master 1 root@srv14 init.d# mysql -u root -p run command Enter password: Welcome to the MySQL monitor. Commands end with... more
Compiling MySQL 5.5.12 with CMAKE on CentOS
Install dependencies package yum install -y cmake.x86_64 gcc44-gfortran-4.4.4-13.el5 gcc-objc++-4.1.2-50.el5 gcc-4.1.2-50.el5 gcc44-4.4.4-13.el5 libgcc-4.1.2-50.el5 gcc44-c++-4.4.4-13.el5 gcc-c++-4.1.2-50.el5 gcc-gfortran.x86_64 ncurses-devel.x86_64 bison-devel.x86_64 Getting source and cmake wget -c http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.5/mysql-5.5.12.tar.gz tar -xvf mysql-5.5.12.tar.gz cd mysql-5.5.12 cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/mysql -DENABLE_DEBUG_SYNC:BOOL=OFF -DMYSQL_DATADIR:PATH=/home/mysql -DMYSQL_DATADIR=/usr/local/mysql/data -DSYSCONFDIR=/usr/local/mysql -DMYSQL_UNIX_ADDR:FILE_NAME=/usr/local/mysql/tmp/mysql.sock -DWITH_EMBEDDED_SERVER:BOOL=ON -DWITH_EXTRA_CHARSETS:STRING=all Make and make install make; make install groupadd mysql useradd -r... more
Install Nginx PHP and FCGI Perl on ubuntu
Quick How to Install Dependencies apt-get install nginx libfcgi-perl libfcgi-procmanager-perl FCGI perl on Nginx CGIWRAP-FCGI Perl Script Grab this script save as /usr/local/bin/cgiwrap-fcgi.pl . Nginx configuration for FCGI PERL Add this script to /etc/nginx/sites-available/default. for php engine, replace .pl extention. Run cgiwrap-fcgi.pl root@imam-MS-7636:/usr/local/src/FCGI-0.71# /usr/local/bin/cgiwrap-fcgi.pl FastCGI: manager (pid 30814): initialized FastCGI:... more
What is Hadoop - Apa itu Hadoop
published: 31 Jul 2011,
in category:
Jokes,
Sometimes, when we bored nothing get idea, my friend sometimes go ahead to chat. We are play jokes, but still serious. Try, Find, Getting out of the box is our mind. Here is one jokes that’s why i posted here. more



