CENTOS6.4 installation configuration OPENJDK-7
Test Machine installation and configuration
Install centos6.4 mini
1000 words are omitted here ......
Disable selinux
Setenforce 0
Vi/etc/sysconfig/selinux --> diabled
Disable iptables
Service iptables off
Chkconfig iptables off
Networking
Configure sohu yum Source
Modify the system architecture and version number.
Sohu images are stable.
Not connected
Configure local source
Attach a Local CD to/mnt
[Centos6.4]
Name = CENTOS 6.4 DVD
Baseurl = file: // mnt
Gpgcheck = 0
Enabled = 1
Yum makecache generates Cache
Yum install wget-y
Yum groupinstall "Development tools"
About the time synchronization of centos
Cp/usr/share/zoneinfo/Asia/Shanghai/etc/localtime
Ntpdate cn.pool.ntp.org
If ntpdate is not installed, you can run yum:
Yum install-y ntpdate
Add scheduled tasks and synchronize the clock every 10 minutes
Crontab-e
0-59/10 ****/usr/sbin/ntpdate us.pool.ntp.org | logger-t NTP
In this way, we can solve the problem of inaccurate time in the CentOS system.
Install JDK
Yum install java-1.7.0-openjdk.x86_64
Verify that the installation is as follows: