Translator

Archive for February 2010

Terminal on CentOS

How to set Virtual Host

Virtual will redirect the ip to the folder.

location: /etc/httpd/conf/extra/httpd-vhosts.conf

<VirtualHost 202.190.179.23>
ServerName 202.190.179.23
ServerPath /skc
DocumentRoot /var/www/html/skc

</VirtualHost>

How to restart httpd server

service httpd restart

Drag and Drop Example using flash AS3

http://monkeyflash.com/tutorials/flash-drag-and-drop/

Go Back to Previous page using Javascript and PHP

Found a simple yet practical on how to implement simple Go Back link to previous page using javascript and PHP.

You can read the tutorial here:

http://perishablepress.com/press/2007/03/12/go-back-via-javascript-and-php/

Installing Java Development Kit(JDK) on Ubuntu

I have found good tutorial on installing Java JDK 6 on Ubuntu which is here: http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/

It will show on how to install java jdk and then we set java path (java home) to the system.