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
Raspberry Pi is a credit card size ARM-powered mini computer which is very popular among embedded system developer and hobbyist. A vanilla Raspberry Pi is not come built-in with an operating system. The operating system for Raspberry Pi can be installed on an SD-card which is loaded during bootup process. So, to make your Raspberry Pi useful, you need to install an operating system into an SD Card, plug it Continue reading
When you do an SSH to a certain server and execute some command in terminal, you may notice a warning that said “warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)”. This caused a few problems when running some perl or installation scripts that would complain about the locale variables not being set. This warning occurs when I am trying to do a remote command to my Ubuntu server through an SSH from Continue reading
By default, Ubuntu (desktop) is different than Fedora in terms of iptables rules persistence. Ubuntu’s iptables rules are live and not persistent, so that Ubuntu’s rule will always reset after system restart. There are many ways to make it persistent, the one easy to do that is installing iptables-persistent package using apt-get. Below is a terminal output while installing iptables-persistent package. During installation, you will prompted whether you want to Continue reading
By default, Ubuntu are using sudo by a sudoer to issue a root-only command rather than using root user. Sometimes it is annoying while you are configuring your Ubuntu box by typing sudo and password on every (root-only) command that you type. You can activate the root user (and setup/change root password) using the following command: aryo@ubuntu:~$ sudo su – [sudo] password for aryo: root@ubuntu:~# passwd Enter new UNIX password: Continue reading
Ruby was come preinstalled on Mac OS X Mountain Lion, so for you who want to develop application using Ruby this one will come in handy. To check the Ruby version installed on your Mac, fire up the Terminal, and type: ruby -v For other OSes please refer to this article in downloading and installing Ruby on Mac, Linux, and Windows.
If you run your own web server on your Linux or Unix based operating system, including Mac OS X, then sometimes you would like to share another directory which reside outside of your web root directory.