For testing purpose, I need a CentOS 6.3. So I download CentOS DVD image. Installed it in VirtualBox as web server.
Note: The network of guest system is using bridged, which allow the guest access internet, and also allow the computer in Lan can access the guest system.
The installation is simple, no problem. I would like to share my experience I met later.
1) Prepare the network
Only lo, or loopback is active. I can not access Internet from the CentOS.
eth0 is not showing when I run ifconfig command.
Change the content base on the below.
Run command to restart network service
service network restart
Run command to update system
2) Access guest system from other computer in LAN
I can not access it from browser, when I enter the ip address, timeout, but ssh is OK. It means something block the connection.
Run command to disable selinux
Run command to stop firewall
service iptables stop
It works now.