Go to Home Page GuidesHow to ArticlesReviewsForumsFrequently Asked QuestionsNewsLinksPotpourri

Site Search


Red Hat Linux Clean Install - The Whole Enchilada


Start, Programs, System, Service Configuration, check telnet, File, Save Changes, Stop and Start xinet.d (you will not be able to the same with telnet--don't worry about; xinetd does that.)

At a Windows computer type...


(C:\>telnet linux should work)

Login in the resulting Window.

Close the connection with the logoff command (it used to be/may be bye on other unix machines)

telnet is up.

FTP (wu-ftp)

Used these as a references:

I will most like be the only user that will use ftp.

Backup and edit /etc/xinetd.d/wu-ftpd and replace it with this:

# default: on

# description: The wu-ftpd FTP server serves FTP connections. It uses \
# normal, unencrypted usernames and passwords for authentication.
service ftp
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.ftpd
server_args = -l -a
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10

(This works. You probably can make it fancier and set-up mutiple virtual servers per the above refs.)

Restart xinet.d

Test FTP... Open a DOS Window in one of the Windows computers and type...


FTP is up.


My first virtual domain is a local prototype for this web site: duxcw.com
To make it look similar to the way it looks on my hosting service, but without the cumbersome directory structure, the directory is directly off my home directory on the linux computer. I may move it later and that isn't hard to do once one usnderstands some of the Apache configuration file (httpd.conf) basics.

Make a directory at /home/lbyard/duxcw for the virtual server,

Make a simple web page for testing with qedit (copy and paste as before), like so...

< html>
< head>
< title>Test</title>
< /head>
< body>
< p>This is the Test WEB Page on the virtual server</p>
< /body>
< /html>

And save it as...


To avoid any permission problems during the Apache setup and testing, note and change the permissions on the file, and the duxcw, lbyard, and home directories to 777. The group and owner for lbyard, duxcw, and, and index.html should be lbyard, in this case. (On my LAN it makes no real difference--everyone is family).

Backup and then edit /etc/hppd/conf/httpd.conf. (I tried Red Hat's Apache Configuration utility, but didn't like it. Too much work to set-up Perl)

Start Apache... Service Configuration, check and save httpd (that is Apache, the http daemon), File, Save Changes, Start, wait, OK

Test and on the LAN with a browser in Windows, e.g., which should result in:

" Test Page

This page is used to test the proper operation of the Apache Web server..."

(We do not see our virtual server test page yet, because the virtual server isn't configured.)

Apache is listening and responding to the LAN IP addresses.

Apache is up on the LAN

Backup and then edit /etc/httpd/httpd.conf.

Paste the following at the very end of the file (below </IfDefine>):

< VirtualHost>
ServerName local.duxcw.lan
DocumentRoot /home/lbyard/duxcw/
ErrorLog /home/lbyard/error_log
DirectoryIndex index.html
ScriptAlias /cgi-bin/ /home/lbyard/duxcw/cgi-bin/
< Directory /home/lbyard/duxcw/cgi-bin/>
AllowOverride All
Order allow,deny
Allow from all
Options +ExecCGI
AddHandler cgi-script .cgi .pl
< /Directory>
< /VirtualHost>

(Yes, /home/lbyard/duxcw/cgi-bin/ does not have quotes around it, .cgi and .pl do have periods in front of them, and it's cgi-script, not cgi-scripts. Copy this one, and modify it for you particular configuration; it works. Better yet, do it my way first, know that works, and then change things a step at a time.)

Saved the file.

Restarted httpd.

Browsed to from a Windows computer.

(You should see the test page we made for the virtual web host. If so...)

The virtual web host is up on the LAN.

< Previous Page | Next Page >

Copyright, Disclaimer, and Trademark Information Copyright © 1996-2006 Larry F. Byard.  All rights reserved. This material or parts thereof may not be copied, published, put on the Internet, rewritten, or redistributed without explicit, written permission from the author.