FreeBSD 10 pkg update and pkg upgrade

As ports lover I’m bit confuse when my friend told me about pkg. The page list the difference between pkg vs pkg_ command. I decide to try it on my experiment vps that almost abandoned. The machine already have a few package installed. A perfect companion for the experiment. # pkg info apache22-2.2.26                Version 2.2.x …

More

Remove all php on FreeBSD 10

Just quick note for my self. New php application use php 5.3+ and FreeBSD box have php 5.2 installed. # pkg info | grep php php52-5.2.17_15                PHP Scripting Language php52-ctype-5.2.17_15          The ctype shared extension for php php52-curl-5.2.17_15           The curl shared extension for php php52-dom-5.2.17_15            The dom shared extension for php php52-filter-5.2.17_15         The filter shared extension …

More

Using multiple php inside one Ubuntu machine

Another challenge came. One of our application finally updated. The application development use php 5.3 + and already pass with php 5.5+ version. Time for migration schedule and the requirement is obvious : the machine able to run 2 different php (php 5.2.17 is a must and other php version is at least 5.3+). The …

More

Compile PHP 5.2.17 using phpfarm

In general phpfarm is working well in case you need multiple php environment in single machine. Special case is for PHP 5.2.17 (latest version of 5.2 generation), I got this error when compile : opt/phpfarm/src/php-5.2.17/ext/dom/node.c: In function ‘zim_domnode_getNodePath’: /opt/phpfarm/src/php-5.2.17/ext/dom/node.c:2002:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = xmlGetNodePath(nodep); ^ make: *** [ext/dom/node.lo] …

More

Quick DNS Server for Centos 5.10

I used to use Bind as dns server. The server itself is not for complex task such master or slave dns server. Only for authoritative and local dns cache (optional). As I love copy and paste I often post my experience here at least for my future reference in case I have problem. Today, my …

More

Install git on CentOS 5.10

New project update need to manually applied to vps server. Since the project use gitlab as source code basis then I need to clone it using git. Git is not available using yum # yum install git Loaded plugins: fastestmirror Determining fastest mirrors * base: mirror.es.its.nyu.edu * extras: mirrors.greenmountainaccess.net * updates: mirrors.rit.edu base                                                                                                                                             | 1.1 …

More

Git for Windows : Installation

As new standard introduced by management we start using private git using self hosted gitlab .  Digitalocean give free $10 credit that allow us to use the server and feel the ‘taste’ of collaboration using git. Due to varied operating system we use I decide to write installation steps for Windows user. Get latest msysgit …

More

How to install FTP Server (pureftp) on CentOS 5.10

Due to backup provider that we use is closing their service I decide to build simple ftp server for this purpose. The problem are I forgot which version of CentOS I use on the server and which ftp server that work well (easy to install). Solution for 1st problem is using cat. # cat /etc/redhat-release …

More

WARNING: the tzconfig command is deprecated

Quick note for myself : # date Sat Jun 21 01:30:45 EDT 2014 # tzconfig WARNING: the tzconfig command is deprecated, please use: dpkg-reconfigure tzdata # dpkg-reconfigure tzdata perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_PAPER = “id_ID.UTF-8″, LC_ADDRESS = “id_ID.UTF-8″, LC_MONETARY = …

More

cat 6

Maintain small network where you only dealing with 3 or 4 computer plus a few (around 4 laptop that use wireless connection) machines is simple. Just plug the ADSL modem and turn on dhcp with default setting but when happy problem came (grow bigger to thousand computer)  then its no more room for playing Yes, …

More

How to install Gammu on Lubuntu 14.04

My friend bought Wavecom 1306B gsm modem for his campus last task. He use Windows XP and trying to use the modem without success. He try it on his friend laptop that run Windows 7 also not work and he ask me to try it. Just to test the modem. If its not work might …

More

MySQL Tuner on FreeBSD 9.2

I just know if mysqltuner is available via ports. Quick heads up : # cd /usr/ports/databases/mysqltuner # make install # whereis mysqltuner.pl mysqltuner.pl: /usr/local/bin/mysqltuner.pl # /usr/local/bin/mysqltuner.pl >>  MySQLTuner 1.2.0 – Major Hayden <major@mhtx.net> >>  Bug reports, feature requests, and downloads at http://mysqltuner.com/ >>  Run with ‘–help’ for additional options and output filtering Please enter your …

More

Install PHP 5.2.17 on CentOS 5.10

Another server came with specific hardware that require me to install CentOS 5.10 64 bit with base only package. Since CentOS 5 use PHP 5.1 by default so I decide to find a way for PHP 5.2.17 (latest version of PHP 5.2 generation).   I use Jason package from jasonlitka.com # nano /etc/yum.repos.d/utter-ramblings.repo fill these …

More

Install Lua on Linux Ubuntu

As Android world use Java mostly for its language then I found Lua is another language that powering many games. I want to try it on my Ubuntu desktop and see how it goes : $ sudo apt-get install lua [sudo] password for alamsyah: Reading package lists… Done Building dependency tree Reading state information… Done …

More