Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting up intranet

Status
Not open for further replies.

geokor

Programmer
Aug 16, 2000
126
US
OK - I am fairly new to Linux but trying to learn fast. I am setting up an intranet between 3 boxes at home. My server is running RedHat Linux 7.1 and Apache. I have all 3 machines hooked up to a hub which seems to recognize all 3 (3 indicator lights are lit up). The other 2 boxes have Win 98 and Win 2K. At this point I simply want to be able to construct a web page, place it on my server and be able to access it using a browser from one of the Windoze machines. Do I need SAMBA for this? I have been reading everything I can including HOWTO's, manual entries, and books like RedHat Linux 6 Unleashed and Running Linux and Using Samba.
Can anyone point me in the right direction?
What I need at this point is a checklist of what it is I need to do. Example
1-Install Apache
2-Make sure it is configured to do...
3-Install Samba (or whatever)
4-Make sure it is configured to do...

I am not looking for the exact answers on how to do all this, so far I've been able to figure out most of that. I am simple now at a loss as to what I am missing that won't allow my Win machines to find the server.

When I try typing 192.168.1.1. (my server)into my browser's url window it tells me the connection was refused.

Thanks for any help.
George K
I'd like George to reply by:
E-mail[] Phone[] Swallow- European[] African[]
 
You don't need Samba.

In Apache, create a virtual website and give it an ip address. For example in /etc/http/conf/vhosts/Vhosts.conf:

<VirtualHost 192.168.1.101>
ServerName intranet.mysite.net
DocumentRoot /http/mysit ### or wherever your site is

</VirtualHost>

Then create an alias on your server:

ifconf etho:1 192.168.1.101

Make sure the directory where your site is loaded is readable and executable by everyone (but not witeable).

You will either need to edits the /etc/hosts file on each of your other computers and put an entry like:

192.168.1.101 intranet.mysite.net

or set up a dns server.

Hope this helps!
 
Thanks WoodLark, I'll give it try and let you know.

George K
I'd like George to reply by:
E-mail[] Phone[] Swallow- European[] African[]
 
If you want to write your html/php/whatever on a windoze machine and copy it onto the linux machine you will need samba running. ***************************************
Party on, dudes!
[cannon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top