The Perfect Server - Fedora 12 x86_64 [ISPConfig 3] - Page 2

Now we select the software we want to install. Uncheck Office and Productivity and check Software Development and Web server instead. Then check Customize now. Afterwards, select the additional repositories Fedora 12 - x86_64 and Fedora 12 - x86_64 - Updates (if you are on an i386 system, the names are probably Fedora 12 - i386 and Fedora 12 - i386 - Updates):

As the last two repositories need an Internet connection, a new window pops up where you have to configure your network card. Select Enable IPv4 support, but disable Use dynamic IP configuration (DHCP); then give your network card a static IP address and netmask (in this tutorial I'm using the IP address 192.168.0.100 and netmask 255.255.255.0 for demonstration purposes; if you are not sure about the right values, http://www.subnetmask.info might help you). Also fill in your gateway (e.g. 192.168.0.1) and one nameserver (e.g. 145.253.2.75):

The details for the last two repositories should now be retrieved, and the checkboxes in front of them should be marked. 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, Hardware Support, Java, System Tools (unselect all other package groups) and click on Next:

The installation begins. This will take a few minutes:

Finally, the installation is complete, and you can remove your 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 Fedora 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 Fedora firewall).

Hit OK afterwards:

Confirm your choice by selecting Yes:

Next select Network configuration:

If you did not configure your network card during the installation (because you did not select the additional online repositories), you can do that now by going to Edit a device params:

Select your network interface (usually eth0):

Then fill in your network details - disable DHCP and fill in a static IP address, a netmask, and your gateway, then hit Ok:

Next select Save:

What you should do in all cases (regardless of whether you configured your network connection during the installation or just now) is specify nameservers (during the intial installation, you could fill in just one nameserver, therefore you should specify at least a second one now). Select Edit DNS configuration:

Now you can fill in additional nameservers and hit Ok:

Hit Save&Quit afterwards...

... and leave the Choose a Tool window by selecting Quit:

You should run

ifconfig

now to check if the installer got your IP address right.

Now I disable Fedora's NetworkManager and enable "normal" networking. NetworkManager is good for desktops where network connections can change (e.g. LAN vs. WLAN), but on a server you usually don't change network connections:

chkconfig NetworkManager off
chkconfig --levels 35 network on
/etc/init.d/network restart

Check your /etc/resolv.conf if it lists all nameservers that you've previously configured:

cat /etc/resolv.conf

If nameservers are missing, run

system-config-network

and add the missing nameservers again.

Now, on to the configuration...

Share this page:

7 Comment(s)

Add comment

Comments

From: gimi at: 2009-11-29 17:43:13

followed your how to and web mail is not working

From: at: 2010-03-13 21:53:24

After following the complete tutorial I noticed that MyDNS service did not start.


So I ran /tmp/ispconfig3_install/install/php -q update.php and I noticed that ISPConfig tries to config BIND.


After reading the complete tutorial again I am sure there is no line with : yum install bind So it is installed from dvd.


There are two solutions


1. on page two you select the packages to be installed,  select dns server, select additional packages, remove the tick from BIND, continue install




2. run ( somewhere in the beginning, but before yum install mydns ) yum erase bind, continue install.





From: at: 2010-03-23 11:34:09

I've created shell scripts to do all of this automatically.  Will be happy to share them.


My scripts also include installing tomcat6, JDK, and setting up the tomcat connector - mod_jk.


BTW ...


This tutorial is not perfect yet ... I did find that I had to make a few tweaks to get squirrelmail to deliver mail.

From: robertlouwen at: 2010-05-13 22:29:28

Make it comfortable ... and install the update - daemon "yum-updatesd" and get notified by e-mail when there are updates for your Fedora 12 server.


1. yum install yum-updatesd


2. vi /etc/yum/yum-updatesd.conf and set the interval for checking, set notification method ( email ), set email recipient and email sender.


All done ( sit back and relax )

From: adycobra at: 2010-06-30 03:20:06

Yes squiremail doesnt work, after u complete this tutorial, after deep searches into my server i nodest that on postfix virtual  mysql confs u can see that it logs to mysql with user ispconfig which on this entire tutorial wasnt sayd anywhere to create it,  in /etc/dovecot-sql.conf u will see the same user ispconfig, so that is why ur mail doesnt work cause postfix conf have one user who cant connect to mysql and dovecot the same, so go on /etc/postfix and modify the user and pass for mysql on these files:


mysql-virtual_client.cf


mysql-virtual_domains.cf


mysql-virtual_email2email.cf


mysql-virtual_forwardings.cf


mysql-virtual_mailboxes.cf


mysql-virtual_recipient.cf


mysql-virtual_relaydomains.cf


mysql-virtual_relayrecipientmaps.cf


mysql-virtual_sender.cf


mysql-virtual_transports.cf


After this changes go edit /etc/dovecot-sql.conf and change user and password, after that restart postfix and dovecot and should work, or lool the simplest is to way early in instalation steps to add the user ispconfig :)) i hope it work for u...

From: Anonymous at: 2010-09-30 15:13:57

are u able to share?i found out that dovecot has problems too, i've simply compile this tutorial with another one to get the damn thing working, still didn't get the squerill to work properly


 


waiting for a reply, best regards,


V

From: moodz at: 2010-08-16 10:46:44

The instructions for creating quota are screwy ..... apart from the fact it just does not work.