Translator

linux server

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

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.

Installing Xampp on Ubuntu. Make LAMP!

I found a great tutorial at http://humanlanguage.wordpress.com/2006/12/03/install-xampp-on-ubuntu/on how to install xampp on ubuntu. Now i can start web development using LAMP in Ubuntu~

Editing files from root using terminal

You might use terminal to edit files such as php.ini later on, so this is a good tutorial about it: http://www.howtoforge.com/faq/12_15_en.html

This is extra reference. You will not use it accept when getting a problem.

To install pear:
root@ubuntu:/usr# apt-get install php-pear

PECL requirement
root@ubuntu:/usr# apt-get install build-essential

Root User in Ubuntu

To install apps in ubunt, you need to be root user.

So this simple article will show you how to become a root user if you are the first person:

How do I login as root user?

  1. Open terminal at Accessories>Terminal
  2. and simply type the following command:


$ sudo bash
OR
$ sudo -s

Linux Server

Now I have to use cmd to use our dedicated server, so this post will contain references to use linux dedicated server.

MYSQL
http://www.yolinux.com/TUTORIALS/LinuxTutorialMySQL.html
My Comment: A very good basic and simple tutorial on using mysql