Testing the installation and configuration of the machine
Install Linux centos6.4 Mini
1000 words are omitted here ...
Turn off SELinux
Setenforce 0
Vi/etc/sysconfig/selinux-->diabled
Close Iptables
Service Iptables off
Chkconfig iptables off
Networking
Configuring the Sohu Yum Source
Note Modify the system architecture and version number inside
Sohu Mirror is still relatively stable.
No networking
Configure Local source
Hang on local disc to/MNT
[centos6.4]
Name = CENTOS 6.4 DVD
Baseurl=file:///mnt
Gpgcheck=0
Enabled=1
Yum Makecache Generate cache
Yum Install Wget-y
Yum Groupinstall "Development tools"
About CentOS Time out of sync issues
Cp/usr/share/zoneinfo/asia/shanghai/etc/localtime
Ntpdate cn.pool.ntp.org
If you don't have Ntpdate installed, yum:
Yum Install-y ntpdate
Join a scheduled task and sync 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.
Installing the JDK
Yum Install java-1.7.0-openjdk.x86_64
Verify that the installation appears as normal
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/5D/10/wKioL1Ug-w-ytD3EAAEntW0JxYI727.jpg "title=" Java- Version "alt=" Wkiol1ug-w-ytd3eaaentw0jxyi727.jpg "/>
This article is from the "Linux is belong to You" blog, make sure to keep this source http://jwh5566.blog.51cto.com/7394620/1629107
CENTOS 6.4 Installation Configuration OPENJDK-7