Enable DHCP Server on MacOS X Mountain Lion

MacOS X comes with DHCP server out of the box, but it is not enabled by default. The server, which is called bootpd in MacOS X, serves as DHCP server and BOOTP server. However, if you just need to enable DHCP server on your MacOS X, it is very easy. You need to create bootpd configuration file which is contains DHCP server configuration. The bootpd configurations are stored in /etc/bootpd.plist Continue reading Enable DHCP Server on MacOS X Mountain Lion

Android REST: HTTP GET Example

In developing a mobile application on Google Android platform often requires client-server communications. The communication itself often uses TCP/IP protocol on port 80 (HTTP) to represent a client state to a (service) server. This communication style often known as Representational State Transfer (REST). REST is a style of software architecture for distributed systems such as the World Wide Web. REST has emerged as a predominant Web service design model (wikipedia). If REST implemented in HTTP, it is often called Continue reading Android REST: HTTP GET Example

MacOS X: Configure Apache HTTP Server to Support HTTPS

MacOS X 10.8 – Mountain Lion has built in Apache HTTP server as I previously mentioned here. By default, the web server has disabled it’s functionality to handle HTTPS request, it is HTTP over SSL a.k.a Secure HTTP. It is a good idea to test your HTTPS web application on localhost during development. Then enabling HTTPS functionality in Apache web server is a must. The steps to enable HTTPS functionality Continue reading MacOS X: Configure Apache HTTP Server to Support HTTPS

Start Apache HTTP Server Service on Mac OS X Mountain Lion

Apache HTTP Server (httpd) was included out of the box of Mac OS X Mountain Lion (10.8) if you don’t know already. Prior to Mac OS X 10.8 (Mountain Lion) can simply turn on “Web Sharing” to start Apache Web Server service, but from 10.8 onward you’ll need to use command line to start the Apache web server. osxdaily.com mentioned here that we can use apachectl command to start and stop Continue reading Start Apache HTTP Server Service on Mac OS X Mountain Lion

Easy Install PHP Mcrypt Extension on Ubuntu Linux

Most of web-based application development todays were developed using database. The most popular one is using PHP and MySQL. When developing using MySQL most of beginners were using phpMyAdmin as their power tools in database CRUD (Create-Read-Update-Delete) as well as databases/tables creation and manipulation. PhpMyAdmin supports encryption feature which enables database developers to raise their application security bar in database. In order to use encryption feature in PHP, phpMyAdmin need Continue reading Easy Install PHP Mcrypt Extension on Ubuntu Linux