First step: Install Linux
The essential
1. Custom partition (root directory 3.8G, ext3,; swap2.5g)
2.2. Installation mode selection, preferably not Minimla, (currently selected as basic Service)
The configuration time will be required on the first boot. My choice is to synchronize with the network and then add the server time zone,
I am here in the Southwest, so add the Southwest server time zone code
S2d.tim.edu.cn
Other regions, and so on.
Step Two: Network configuration
The essential:
1. Turn off iptables (run Setup) and SELinux (Vim/etc/selinux/config)
2. Modify the configuration file vim/etc/sysconfig/network-scripts/ifcfg-nlip-node-01,
Modify the Onboot configuration and change it to Onboot =yes.
3. Hosts ' files
Vm/etc/hosts
Add the host and IP address of all the servers you want to configure. form a mapping relationship.
Step three: Build a Samba server (for file transfer, upload to download)
The essential:
1. Create a shared folder (/usr/upload), and give permissions (Chmod–r777/upload)
2. Load the installation software from the optical drive mount–t ios9660–o ro/dev/cdrom/mnt/cdrom; go to the Packages folder, RPM–IVH Samba-..
3. Modifying a configuration file (vi etc/samba/smb.conf)
After opening the file, modify it at the bottom:
The content is: (note that the previous comment is removed, otherwise it will not take effect)
[Sharedir]
Comment =sharedir
Path =/usr/upload
Public = yes
writable = yes
Available = yes
Browesable = yes
Valid Users =root
4. Adding the root user to the Sambauser directive
Smbpassword–a username
5. Start the SMB Service
Fourth step: Uninstall the system's own OPENJDK
The essential
1. First check to see if the system comes with the JDK's installation directory
Rpm–qa | grep java
2. Uninstall Rmp–e–nodeps java-1.4.2-gcj-compat-1.4.2.0-40jpp.115
There are some other commands.
Rpm-qa | grep GCJ
Rpm-qa | grep JDK
if OpenJDK source cannot be found, you can also uninstall this
Yum-y Remove Java java-1.4.2-gcj-compat-1.4.2.0-40jpp.115
Yum-y Remove Java Java-1.6.0-openjdk-1.6.0.0-1.7.b09.el5
3. Installing the JDK
Create a new folder first
Mkdir/usr/java
Then give permission
CHOMD 777 jdk-1.5..........rpm modified to executable file
RPM–IVH jdk-1.5.......rpm
4. Modify the configuration file/etc/profile
Java_home=/usr/java/jdk1.7.0_51
Path= $PATH: $JAVA _home/lib/dt/jar: $JAVA _home/lib/toois.jar: $JAVA _home/jre/lib/rt.jar
5. Making the document effective
Source/etc/profile
6. Test instructions
Java-version
The Dell server configures the CentOS version of the