The Perfect Server - CentOS 5.7 x86_64 [ISPConfig 3] - Page 2

Now we select the software we want to install. Select nothing but Server (uncheck everything else). Also don't check Packages from CentOS Extras. Then check Customize now, and click on Next:

Now we must select the package groups we want to install. Select Editors, Text-based Internet, Development Libraries, Development Tools, DNS Name Server, FTP Server, Mail Server, MySQL Database, Server Configuration Tools, Web Server, Administration Tools, Base, and System Tools (unselect all other package groups) and click on Next:

The installer checks the dependencies of the selected packages:

Click on Next to start the installation:

The hard drive is being formatted:

The installation begins. This will take a few minutes:

Finally, the installation is complete, and you can remove your CD or DVD from the computer and reboot it:

After the reboot, you will see this screen. Select Firewall configuration and hit Run Tool:

I want to install ISPConfig at the end of this tutorial which comes with its own firewall. That's why I disable the default CentOS firewall now. Of course, you are free to leave it on and configure it to your needs (but then you shouldn't use any other firewall later on as it will most probably interfere with the CentOS firewall).

SELinux is a security extension of CentOS that should provide extended security. In my opinion you don't need it to configure a secure system, and it usually causes more problems than advantages (think of it after you have done a week of trouble-shooting because some service wasn't working as expected, and then you find out that everything was ok, only SELinux was causing the problem). Therefore I disable it, too (this is a must if you want to install ISPConfig later on). Hit OK afterwards:

Then leave the Setup Agent by selecting Exit:

Then log in as root and reboot the system so that your changes can be applied:

reboot

Now, on to the configuration...

Share this page:

8 Comment(s)

Add comment

Comments

From: at: 2012-01-19 11:41:20

step 9 doesn't find the phpmyadmin package.

thanks to Mikel for the fix from this post (http://www.howtoforge.com/perfect-server-centos-5.5-x86_64-ispconfig-3-p3#comment-24612)

here is the solution 

step 9 should be like this

cd /tmp
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
rpm -ivh rpmforge-release-0.5.1-1.el5.rf.i386.rpm

 

please correct me if my comment is incorrect, im just trying to add and possibly help someone else

From: gavimobile at: 2012-05-19 18:20:11

i had an issue today where yum list getmail* wouldnt find getmail in the repository so i downloaded it manually. maybe this will help someone

cd /tmp

wget http://pkgs.repoforge.org/getmail/getmail-4.9.0-1.el5.rf.noarch.rpm

rpm -ivh getmail-4.9.0-1.el5.rf.noarch.rpm

 

From: Bethanol at: 2012-09-23 16:27:06

I got to that last step where it installs php-mcrypt and it informs me that: No package php-mcrypt available.
I dont know if this is any help, or what i missed.

From: Lucas Candido at: 2011-11-11 13:50:59

In the last step I had this problem:

Stopping httpd:                                            [  OK  ]
Syntax error on line 47 of /etc/httpd/conf/sites-enabled/000-ispconfig.vhost:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration
Starting httpd:                                            [FAILED]

It was solved by installing the mod_ssl

yum install mod_ssl

From: 20yearserverguy at: 2011-11-17 16:16:34

Also at the end, the author forgot the S in https:// instead of http://

 

From: at: 2012-03-28 07:54:59

Thanks a lot!

From: jessecfisher at: 2012-05-31 15:12:14

I did not use this tutorial from start to finish, so my server setup is not identical to what is shown. 

I could not connect to port 8080.

My quick and dirty solution was to disable iptables 

 service iptables stop

 

From: manos at: 2013-06-03 22:48:14

Thanks, thanks, thanks, thanks.

This was an excelent toutorial.

I had my server up and running in half an hour.

Also the comments help with the https issue.

You are great