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
telnet is up.
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.
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.)
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
< p>This is the Test WEB Page on the virtual server</p>
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 192.168.123.1 and 192.168.123.2 on the LAN with a browser in Windows,
http://192.168.123.2, 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
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 192.168.123.2>
ScriptAlias /cgi-bin/ /home/lbyard/duxcw/cgi-bin/
< Directory /home/lbyard/duxcw/cgi-bin/>
Allow from all
AddHandler cgi-script .cgi .pl
(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
Saved the file.
Browsed to http://192.168.123.2 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