Building (Complete) Server with Fedora Core 6 (Article 2)

By telconetwork

DNS Service installation.

Now, lest install DNS Server.

1. Install some package that containing DNS configuration.

# yum install bind bind-chroot bind-devel bind-utils system-config-bind

Now change some directory permission,

# chmod 755 /var/named/

# chmod 775 /var/named/chroot/

# chmod 775 /var/named/chroot/var/

# chmod 775 /var/named/chroot/var/named/

# chmod 775 /var/named/chroot/var/run/

# chmod 777 /var/named/chroot/var/run/named/

# cd /var/named/chroot/var/named/

# ln –s ../../ chroot

# chkconfig –levels 235 named on

2. Now activate your DNS Server,

# /etc/init.d/named start

Database Server Installation.

I need a cup of coffee in my table. Lets install Database server, in here we use MySQL.

1. Install MySQL package.

# yum install mysql mysql-devel mysql-server mod_auth_mysql

2. Now activate MySQL service,

# /etc/init.d/mysqld start

3. Check MySQL service that already run in your system.

# netstat –tap

4. If you didn’t find output after type that command, you can edit file /etc/my.cnf. Add # to skip-networking line.

#skip-networking

5. Restart MySQL Service.

Web server installation and configuration.

We use Apache and PHP packages for web server.

1. Install Apache and PHP packages.

# yum install httpd httpd-devel php php-devel php-mysql mod_auth_mysql mod_perl mod_ssl system-config-httpd

2. Restart your apache service.

# /etc/init.d/httpd start

Now your web server already running.

Tags: , , , , , , , , , , ,

Leave a Reply