Wednesday, June 24, 2009

Ubuntu - install JRE plugin for firefox

#apt-get install sun-java6-plugin

then open firefox, key in about:plugins in URL bar..

JAVA plugin should listed and enabled

Pidgin version < 2.5.7 cannot login yahoo

problem:
--------------------
pidgin cannot login to yahoo messenger..

solution:
-----------------
go to modify account > yahoo account > advanced tab
set pager server as "cn.scs.msg.yahoo.com" instead of "scs.msg.yahoo.com"
exit,save , logout and login again...

Wednesday, June 17, 2009

Add or remove a script on startup in Debian or Ubuntu

Add a script:

1. put the script under /etc/init.d/
2. #chmod 755 myscript
3. #update-rc.d myscript defaults
4. #reboot

-------------------------------------------------------
Remove :

1. #cd /etc/init.d/
2. #update-rc.d -f myscript remove
3. #reboot

more over , please use "man update-rc.d" command

Friday, June 12, 2009

Apache - Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

problem :

Apache - Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName


solution:

open httpd.conf
add this line:

Servername myservername