The Perfect Server - Fedora 10 - 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 10 - i386 and Fedora 10 - i386 - Updates (if you are on an x86_64 system, the names are probably Fedora 10 - x86_64 and Fedora 10 - x86_64 - 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):

When I clicked on OK, I got an error message saying that the network configuration had failed, but despite this, details for the last two repositories were retrieved, and the checkboxes in front of the two repositories got marked, which means that the network connection is working, and the error message was wrong (might be a bug in the installer). 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 (either because you did not select the additional online repositories or because the installer really failed to bring up your network card), 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. If it did not, restart the NetworkManager...

/etc/init.d/NetworkManager restart

... and if that still doesn't help, reboot the system:

reboot

If the IP address is still not correct, run

system-config-network

and redo the network configuration.

Now, on to the configuration...

Share this page:

18 Comment(s)

Add comment

Comments

From: at: 2009-06-05 05:42:04

I admire your work, but I would not use a HOWTO that recommends making the operating system far less secure by disabling SELinux.

From: at: 2009-07-24 01:45:49

SELinux is a terrible feature that has absolutely no place in a dedicated server. In my opinion it was meant for the increased number of home users using linux nowadays, but I spent 4 days trying to figure out why a forum on my new Fedora 9 server couldn't upload images, even though I had properly chown'd the upload directory and everything. After I found out it was SELinux, I promptly disabled it.

 Servers running UNIX were fine for decades with an absence of SELinux. As long as you know how to do crap right, you don't need it.

From: at: 2009-07-24 16:26:27

I do not agree, just because you do not know how to use it does not make it crap. Selinux is quite useful and has been know to secure servers that would otherwise have been compromised due to software vulnerabilities.


From: Anonymous at: 2009-05-08 22:44:16

i think you forgot flex

From: Anonymous at: 2009-05-06 11:30:25

After following the procedure...  After quit from configuration with firewall, network, and others (blue screen with lists of configuration) then reboot , it came up black screen with logon which I didn't input any of my username yet?? 

From: Léonce at: 2009-11-01 06:59:59

Hi!

I have the same probleme. I've finished the install steps and decided to reboot my computer.

And was really surprised that i can't log in. Nothing. I've try to enter command mode (Ctrl+Alt+F2) succesfully.

But I'll rather know how to log in with GUI, because I want to configure the ISPConfig.

So I hope that you finally found a solution.

I'll be please if you can helped.

From: Anonymous at: 2009-03-23 18:11:03

Hi,

i just finished all the steps from the 'fedora the perfect server' guide (except ispconfig), and i got the message '[warn] NameVirtualHost *:80 has no VirtualHosts'.

i can not start apache through the service HTTP restart or stop/start, and i don't really know what i should do.

 

any advise?thanks

From: Terry Jennings at: 2008-12-03 15:47:28

Warning: Most servers would likely be using SCSI disks or RAID arrays.  Fedora 10 currently has bugs that make these configurations either difficult or impossible to use.  See these two threads:

From: Anonymous at: 2008-12-04 03:21:04

Wrong path to mysql daemon start stop script! Should be /etc/rc.d/init.d/mysqld instead of /etc/init.d/mysqld/ which is where you will find this on Debian based systems.

From: admin at: 2008-12-07 00:43:44

/etc/init.d is a symlink to /etc/rc.d/init.d so both are working.

From: Anonymous at: 2008-12-06 23:54:00

Disabling iptables and selinux is down-right stupid and negligent.  The rest of the guide is mostly nonsense..

From: admin at: 2008-12-07 00:44:50

Can you give me some reasons, or are you just having a bad day?

From: at: 2009-01-06 11:36:26

hi

how can i run or use the run command ? i am in the fedora desktop?

From: at: 2009-01-12 18:50:07

########## MAIL SERVER ##########

Checking for MTA...
./setup2: line 439: which: ??????? ?? ???????
./setup2: line 439: which: ??????? ?? ???????
ERROR: Your system configuration is not compatible with ISPConfig! The installation routine stops here!

 

=(

From: papalozarou at: 2009-03-07 21:01:01

You need to install which - yum install which. After that everything should run okay, but you need to delete the install_ispconfig folder (rm -Rf install_ispconfig) first and untar it again

 

 

 

From: at: 2009-01-13 12:48:21

Hello! I've successfully installed Fedora10 server, ISPConfig2 and some extensions: php-ffmpeg, memcashed, locale. It's working in terminal but not the Web. The CMS can not found ffmpeg dir, memcashed can not configured ( not available). The same problem in Ubuntu 8.10 too. What should I do?

From: at: 2009-02-10 14:24:06

I have done the perfect setup for Core 10 a couple of times lately over a basic install of Fedora Core 8 upgraded to 9 and then to 10 with yum. 

In both cases, mod_ssl was not installed along the way.  Simple fix: 

yum install mod_ssl

Anyway, was wondering at first why no https...  and that was the problem.

 

From: DTR at: 2009-06-21 12:47:17

If you want ssl to work you must have mod_ssl

<code>yum install mod_ssl</code>