Previous article talked about the server Linux distribution choice, although we are racking our brains choice of CentOS, but at least did not shoot the wrong, this release is very suitable for our needs. The next logical step is to select the version of CentOS, the official home page for http://www.centos.org/ , in which you can learn about each version. Because we want to build a high-performance server, so need to choose its 64-bit version, the following example to x86_64 6.3.

    If that, I deliberately added a "project team" the words, I do not know or understand the use of Linux server development is how to proceed, at least I spent time in the company are based on the appropriate team members in their windows system are installed virtual machines for development, I find this way too inefficient, and native resources are severely occupation, and internal collaboration project team is also very inconvenient after a simple attempt, so I applied for an ordinary PC servers to CentOS as a director, to we were assigned account developing on this PC remotely, the effect is great. (When we are saying in this regard very generous director, this PC as a development server within the network, the application gave us an 8-core Xeon server for an extranet deployment server, in fact, there is no pre-performance stress these resources very wasteful).

Here to brief you through setup process under CentOS server

    In the download page you can see the source of the following categories:

 0_README.txt 06-Jul-2012 18:01 2089
CentOS-6.3-x86_64-LiveCD.iso                        08-Jul-2012 01:26 725,614,592
 CentOS-6.3-x86_64-LiveCD.torrent                    10-Jul-2012 02:03 221,810
 CentOS-6.3-x86_64-LiveDVD.iso                       06-Jul-2012 21:07 1761607680
 CentOS-6.3-x86_64-LiveDVD.torrent                   10-Jul-2012 01:50 269,174
 CentOS-6.3-x86_64-bin-DVD1.iso                      06-Jul-2012 18:20 4289386496
 CentOS-6.3-x86_64-binding DVD1to2.torrent               10-Jul-2012 02:15 222,685
 CentOS-6.3-x86_64-bin-DVD2.iso                      06-Jul-2012 18:20 1536634880
 CentOS-6.3-x86_64-minimal-EFI.iso                  22-Aug-2012 02:30           381681664
CentOS-6.3-x86_64-minimal.iso                      06-Jul-2012 18:23           346011648
CentOS-6.3-x86_64-netinstall-EFI.iso               18-Sep-2012 17:39           245366784
CentOS-6.3-x86_64-netinstall.iso                   06-Jul-2012 18:14           209715200
README.txt                                         06-Jul-2012 18:01                2089
md5sum.txt                                         19-Sep-2012 05:31                 734
md5sum.txt.asc                                     19-Sep-2012 05:31                1608
sha1sum.txt                                        19-Sep-2012 05:31                 822
sha1sum.txt.asc                                    19-Sep-2012 05:31                1696
sha256sum.txt                                      19-Sep-2012 05:31                1086
sha256sum.txt.asc                                  19-Sep-2012 05:31                1960

Differences are as follows:

BinDVD version - the normal installation version, to be installed in order to use the computer's hard disk, a large file that contains a large number of commonly used software.

LiveDVD plate - to guide the optical disc can be installed CentOS system (also can be used directly from the CD).

Version LiveCD - Bootable CD can be installed CentOS system (CD-ROM may be directly used), as compared to leaner LiveDVD Edition.

Mini version - More Mini version of CentOS system, no graphical interface.

netinstall version - the need to support the network, download the appropriate RPM files from the network during the installation process.

    I chose the LiveCD version, which was carved Boot CD hard disk installation, specific installation process I made reference books "to build highly available Linux server (version 2)," the first chapter, a very detailed installation instructions.

 After installation involves more than to be remote collaborative development and installation of the following services:

    If you need no remote graphics system, then you can directly use SSH, LiveCD installed by default, but you need to start the service. For details, please refer to: http://www.centospub.com/make.html , I personally use the putty under the windows.

    If you want to use CentOS graphics system, VNC is definitely the best choice, please refer http://wiki.centos.org/zh/HowTos/VNC-Server .

    If you want windows CentOS shared disk system you can install samba, refer http://wiki.centos.org/zh/HowTos/SetUpSamba?highlight=%28samba%29 .

    In addition to iptables ssh port 22 is open by default, the port is not open to the VNC and the samba, to provide a simple configuration of iptables about them

 #vnc

-A INPUT -m state --state NEW -m tcp -p tcp -m multiport --dports 5901:5903,6001:6003 -j ACCEPT

#samba

-A INPUT -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT

-A INPUT -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT

-A INPUT -m state --state NEW -m tcp -p tcp --dport 139 -j ACCEPT

-A INPUT -m state --state NEW -m tcp -p tcp --dport 445 -j ACCEPT

-A INPUT -m state --state NEW -m udp -p udp --dport 445 -j ACCEPT

 

   Well, CentOS server environment for collaborative development within a project team with a good, ready to start development work it :)