Linux
Set up Centos yum repository to Kambing UI server (kambing.ui.ac.id)
by jimmy on Jan.19, 2010, under Indonesia, Linux
Untuk menggunakan server kambing.ui.ac.id sebagai repository di Centos :
- Buat file dengan extension repo di directory /etc/yum.repos.d/ (Contoh: vim /etc/yum.repos.d/Kambing-Base.repo)
- Isi file:
Bind JBoss to specific IP address
by jimmy on Dec.28, 2009, under Java, Linux
Simple but I think it will help JBoss newbie (like me :]) when searching the internet.
By default when you run JBoss ( ./run.sh in Linux) it will bind to localhost/127.0.0.1
This will cause the JBoss default port 8080 cannot be access from other computer, because you need to open http://127.0.0.1:8080/ instead of your IP http://<your IP>:8080/ (continue reading…)
Solving Pidgin cannot connect to Yahoo Messenger (YM)
by jimmy on Jun.19, 2009, under English, Linux
Starting June 18 I started having problem connecting to YM with Pidgin.
Somehow it’s random I can connect or not.
I google and several article/forum writing that need to flush dns cache and also about several YM server cannot be accessed from Pidgin.
I try my friend advice to change YM server configuration to IP rather than domain name.
And it’s worked..
You will need to use cn.scs.msg.yahoo.com as Pager server since June 24, or you can update to pidgin 2.5.7 to solve this problem
The steps: (continue reading…)
Solving failed starting mysql service with non default datadir (Ubuntu)
by jimmy on Jun.19, 2009, under English, Linux
I used to put my mysql data dir to /home/mysql, just to separated the partition so when something goes wrong or upgrading the OS I won’t lose my mysql data just because I forgot to backup it.
After I upgrade from Ubuntu 8.04 to Ubuntu 9.04 suddenly my mysql failed to start.
The strange thing the only data dir seems working is putting it on /var/lib/mysql which is the default directory for mysql data dir.
After browsing around I found out that it is apparmor that prevent mysql datadir on different directory.
So the easy way to solve this is to remove apparmor : apt-get –purge remove apparmor
Sniffing/capturing tcp data connection in Linux
by jimmy on Nov.29, 2007, under Linux
When debugging my wapsite, I want to know the header from mobile HTTP request.
It’s said from some mobile-operator, they’ll include msisdn info on HTTP header.
Now tcpflow come to rescue ^^
Just type “tcpflow -ci <your-ethernet> port <port-number>”
for example “tcpflow -ci eth0 port 80″
It’ll print on console all the request to port 80