Distributed File System with GlusterFS

Recently I had an itch about my 3 unused VMs. Each of them only has 512 MB RAM, 1 vCore and 10 Gigs of SSD. It’s limited in resource but this is what you get for US$ 1/month. From the 10 Gigs SSDs, I had approximately 21 Gigs of free space combined. This got me thinking. What if I could combine all the free space and have a mega volume? ...

March 23, 2014 · Batista Harahap

Cubieboard - Part 1

Yesterday, my Cubieboard A10 board arrived, Yeay! I got it from Ebay for US$ 58. Long story short, I now have the most powerful remote control for 10 Watts. To top it up, I created a DIY case from the foam provided on the package. Installing Lubuntu into NAND I don’t have a micro-SD card handy right now so I scoured the Internet on how get Linux running in it without a micro-SD card. Turns out, I can install easily into the NAND provided. ...

December 20, 2013 · Batista Harahap

Compiling nginx 1.4.0 With SPDY on CentOS 6

Just a few days ago, the latest version of nginx at 1.4.0 was released to the public. The version bump adds a lot of new capabilities for your web stack. The most interesting for me was support for SPDY 2 protocol. Excerpts from Chromium SPDY’s page reads below: As part of the "Let's make the web faster" initiative, we are experimenting with alternative protocols to help reduce the latency of web pages. One of these experiments is SPDY (pronounced "SPeeDY"), an application-layer protocol for transporting content over the web, designed specifically for minimal latency.  In addition to a specification of the protocol, we have developed a SPDY-enabled Google Chrome browser and open-source web server. In lab tests, we have compared the performance of these applications over HTTP and SPDY, and have observed up to 64% reductions in page load times in SPDY. We hope to engage the open source community to contribute ideas, feedback, code, and test results, to make SPDY the next-generation application protocol for a faster web. In order for SPDY to work, one will need an SSL certificate and OpenSSL 1.0.1c at least to compile and run a website successfully with nginx. SPDY needs NPN enabled with OpenSSL and CentOS only provides 1.0.0. According to a blog post here, we can just add a repo to get OpenSSL to work nicely. Here are the steps needed to compile nginx with SPDY support: $ rpm -ivh --nosignature http://rpm.axivo.com/redhat/axivo-release-6-1.noarch.rpm $ yum --enablerepo=axivo update openssl $ cd /opt/src $ wget http://nginx.org/download/nginx-1.4.0.tar.gz $ tar xfz nginx-1.4.0.tar.gz $ cd nginx-1.4.0 $ ./configure --with-pcre --with-http_ssl_module --with-http_spdy_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_stub_status_module --prefix=/usr/local/nginx $ make -j4 $ make install ...

May 6, 2013 · Batista Harahap

Cloud Install Linux With a Browser!

So these past days, I’ve been looking for a nifty replacement (new home) for hostingMUREH.com - The only webhosting with 10 gigs web space for just 200K/year! Sorry for the hard selling gesture, completely intentional :p After a few sessions with Google, I stumbled CloudSigma.com, it comes with a 7 days free trial I might add. First look at its website does not resemble anything like the other cloud server providers. No fancy stuffs, the get right to the point. ...

January 5, 2011 · Batista Harahap

KanalFOTO.com - Stock Photo Indonesia

This website is aimed as THE portal of Indonesian stock photos. Currently still in the process of piecing it all together. What I can tell you, it’s a purebred of OpenSource magic and Facebook will be its best friend. A first for me to incorporate Facebook wonders with websites. My first start was Facebook Connect. The Connect feature is already live on the homepage. Although now not 100% yet, it’s a preview of what’s to come. The next step is an application. ...

March 25, 2009 · Batista Harahap