2013 will pass and I want to learn new operating system and use this blog as place of documentation of my learning. OpenBSD is my choose and perhaps NetBSD too. How to get it up and many more. Today I’ve install OpenBSD using VirtualBox under Ubuntu Linux 13.04. Error message came out when I try to ssh newly install OpenBSD box :

$ ssh alam@

Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
Please contact your system administrator.
Add correct host key in /home/alamsyah/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/alamsyah/.ssh/known_hosts:19
remove with: ssh-keygen -f “/home/alamsyah/.ssh/known_hosts” -R
ECDSA host key for has changed and you have requested strict checking.
Host key verification failed.

Get rid of that message :

$ ssh-keygen -f "/home/alamsyah/.ssh/known_hosts" -R

/home/alamsyah/.ssh/known_hosts updated.
Original contents retained as /home/alamsyah/.ssh/known_hosts.old
alamsyah@alamsyah-Aspire-E1-471:~$ ssh alam@
The authenticity of host ‘ (’ can’t be established.
ECDSA key fingerprint is ba:4b:ee:4c:b1:6d:02:41:62:e0:19:1e:c5:11:e7:0b.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘’ (ECDSA) to the list of known hosts.
alam@’s password:
Last login: Fri Dec 20 20:43:20 2013
OpenBSD 5.4 (GENERIC) #37: Tue Jul 30 12:05:01 MDT 2013

Welcome to OpenBSD: The proactively secure Unix-like operating system.

Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code.  With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.


Good call.

Lesson learned, I used to use same IP for experiment and this message came out. In future I’ll use different ip for different operating system.

Top 10 Cool FreeBSD T-Shirt, Hat and Mug

Hobbies at once paid is a luxury that should be in grateful. One of the hobbies that I like is learning the FreeBSD operating system. Many meet new friends, exchange the latest information and so forth. One nice thing also is when meeting with a friend who had the same hobbies.
Accessories are usually the mainstay of commonly used t-shirts, hats and mugs. Some friends ask me where can buy plus accessory can be custom fit if you wish, eg adding our name.

Search results bring into some design t-shirts, hats and mugs that can be seen below:

FreeBSD Big Logo T-ShirtsFreeBSD Big Logo T-ShirtsCHECK PRICE

FreeBSD Logo white T-ShirtFreeBSD Logo white T-ShirtCHECK PRICE

FreeBSD in your heart T-ShirtFreeBSD in your heart T-ShirtCHECK PRICE

FreeBSD Linux T-ShirtFreeBSD Linux T-ShirtCHECK PRICE

FreeBSD Big Logo wihout textFreeBSD Big Logo wihout textCHECK PRICE



 Why those FreeBSD stuff are cool

FreeBSD Big Logo T-Shirts – Big logo of FreeBSD with text “freeBSD” under the image. Looks cool.

FreeBSD Logo white T-Shirt – White T-Shirt with FreeBSD logo with text “freeBSD” next to the image.

FreeBSD in your heart T-Shirt – Good looking T-shirt with small FreeBSD logo along the text.

FreeBSD Linux T-Shirt – Quote what Linus Torvald said “if 386BSD had been availble when I started on Linux, Linux would probably never had happened”. FreeBSD Logo above the quote.

FreeBSD Big Logo wihout text – If you looking for Logo only T-Shirt then you’ll love this one.

FreeBSD Hat – Cool hat, if you going to hang out with your friend. Computer club meeting etc.

FreeBSD Mug – Good companion when you have ‘challenge’ in front of your monitor. Just coffe please :-)

Deploy google app engine : appcfg.py

Deploy php script aka application to google app engine is interesting. I came from traditional ftp-ing (so 1999 hehehe), scp and cpanel. Google app engine provide 2 ways of deployment; through appcfg.py and via git. I’ll try to explore both options now.


In this stage, application need to get register first to App Engine Administration Console. Visit this address to get it done :



Choose google account to use for this purpose.


click “Create Application” button.


make sure to check name availability and quota application (max 10).


Google app engine will need grant access from your google account.


Click ‘Accept” button to get started.


Deployment using appcfg.py

$ google_appengine/appcfg.py –oauth2 update digitalfusi/

08:59 PM Application: difuphp; version: 1
08:59 PM Host: appengine.google.com
08:59 PM
Starting update of app: difuphp, version: 1
08:59 PM Getting current resource limits.
Your browser has been opened to visit:


If your browser is on a different machine then exit and re-run this
application with the command-line parameter


(process:3287): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0′ failed
Authentication successful.
09:01 PM Scanning files on local disk.
09:01 PM Cloning 2 application files.
09:01 PM Uploading 2 files and blobs.
09:01 PM Uploaded 2 files and blobs
09:01 PM Compilation starting.
09:01 PM Compilation completed.
09:01 PM Starting deployment.
09:01 PM Checking if deployment succeeded.
09:01 PM Deployment successful.
09:01 PM Checking if updated app version is serving.
09:01 PM Completed update of app: difuphp, version: 1

Testing the result by visit http://difuphp.appspot.com


appcfg.py is very straightforward command. Combine with oauth option I can upload all my php script to google infrastructure. Awesome.


install php sdk for google app engine on ubuntu 13.04

Another need for try php on google app engine make install all required stuff :

Install python

$ sudo apt-get install python

Check version :

$ python -V
Python 2.7.4

Install PHP CGI

Download latest php 5.4 from download page :

$ wget -c http://au1.php.net/get/php-5.4.22.tar.gz/from/this/mirror -O php-5.4.22.tar.gz

$ tar xvzf php-5.4.22.tar.gz

$ cd php-5.4.22/

$ sudo apt-get install gcc libmysqlclient-dev libxml2-dev

$ ./configure --prefix=$PWD/installdir --enable-bcmath --with-mysql

$ make install

Check version :

$ pwd


using absolute path

$ /home/alamsyah/php-5.4.22/installdir/bin/php-cgi -v

PHP 5.4.22 (cgi-fcgi) (built: Nov 23 2013 11:22:27)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

Google APP engine SDK for PHP

Download latest version from here.

$ cd

$ wget -c http://googleappengine.googlecode.com/files/google_appengine_1.8.8.zip

$ unzip google_appengine_1.8.8.zip

MySQL Server

$ sudo apt-get install mysql-server-5.5 mysql-client-5.5

check :

$ dpkg -l | grep mysql

ii  libdbd-mysql-perl                         4.021-1                                i386         Perl5 database interface to the MySQL database
ii  libmysqlclient-dev                        5.5.34-0ubuntu0.13.04.1                i386         MySQL database development files
ii  libmysqlclient18:i386                     5.5.34-0ubuntu0.13.04.1                i386         MySQL database client library
ii  mysql-client-5.5                          5.5.34-0ubuntu0.13.04.1                i386         MySQL database client binaries
ii  mysql-client-core-5.5                     5.5.34-0ubuntu0.13.04.1                i386         MySQL database core client binaries
ii  mysql-common                              5.5.34-0ubuntu0.13.04.1                all          MySQL database common files, e.g. /etc/mysql/my.cnf
ii  mysql-server-5.5                          5.5.34-0ubuntu0.13.04.1                i386         MySQL database server binaries and system database setup
ii  mysql-server-core-5.5                     5.5.34-0ubuntu0.13.04.1                i386         MySQL database server binaries

Great, client and server installed.

At this stage all requirement has installed correctly. I need php editor and I choose sublime text 2.

Install Sublime Text 2

$sudo add-apt-repository ppa:webupd8team/sublime-text-2

$sudo apt-get update

$sudo apt-get install sublime-text



old-releases.ubuntu.com vs us.archive.ubuntu.com

As copy paste user I never realized the difference between that address :us.archive.ubuntu.com



Yes, old-release hold old version ubuntu that not supported any longer. I see that when I need to install php5-curl on Maverick and I get 404 message.

Change sources.list entry from us.archive.ubuntu.com to old-releases.ubuntu.com give me php5-curl :-)

# apt-get install php5-curl
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libfreeradius2 freeradius-common freeradius-utils libperl5.10
Use ‘apt-get autoremove’ to remove them.
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 125 not upgraded.
Need to get 25.5kB of archives.
After this operation, 127kB of additional disk space will be used.
Install these packages without verification [y/N]? y

Check install :

# dpkg -l | grep curl
ii  libcurl3                        7.21.0-1ubuntu1                   Multi-protocol file transfer library (OpenSSL)
ii  libcurl3-gnutls                 7.21.0-1ubuntu1                   Multi-protocol file transfer library (GnuTLS)
ii  php5-curl                       5.2.10.dfsg.1-2ubuntu6            CURL module for php5

don’t forget to restart apache to get into business.