Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

where is documentation for setting up linux-mandrake 8.0 for web service

Can anyone please help me find a link that provides some help on setting up linux-mandrake 8.0 as a Web Server?
The Hardware is ready and plugged in, but I just need to find the place where I configure settings that will enable Web Services. Since I'm a newbie, would like some sort of X.Windows/GUI approach, but anything is better than nothing. Also new to experts-exchange so will start with 50 points - because I'm not familiar with this type of point system.
Thanks for any help now.
0
zekelinuxconvert
Asked:
zekelinuxconvert
  • 5
  • 3
1 Solution
 
Debian_userCommented:
For a webserver in Linux, apache is usually the package of choice. If it didn't come with your Mandrake cds, you can download a copy of it from www.rpmfind.net Apache's website (http://www.apache.org) has good help documents for setting it up.

Also, webmin (http://freshmeat.net/projects/webmin/?topic_id=253) is a very good application that gives you a graphical interface, reachable from your web browser, to configure lots of server packages. But alas, you have to have  a basic apache (or some other webserver) setup before you can use it.

If you have problems with the apache install, report back with some specifics about what you're trying and what error it gives you and we'll try to help.

Regards,
Debian_user
0
 
zekelinuxconvertAuthor Commented:
Thanks Debian_user, I looked at these two sites and got some good ideas. (1) possible firewall problem where they suggest changing httpd.conf to use port 8000 and then browsing from outside using: myhost.example.com:8000/
Could my problem be in that I have not set up a 'Gateway' to my router? I have experienced the need to configure Windows 95/98 clients network properties to set up a gateway to the proxy/firewall pc to allow internet sharing. So..I'm guessing that perhaps the linux-mandrake box needs to have a gateway IP configured to the ISDN router. As I remember during the install, I was prompted for this IP address but left it at the default. I have complete access to the box from my LAN and have configured the router to the best of my ability. Do you know which system configuration file carries the gateway IP address or how to change it? Perhaps this gateway config is in the netconf GUI where each eth(x) can have their IP and subnets configured. Anyway the box is at work and catch-22 is that I obviously have no access to it today. So It may take awhile to test ideas.
Thanks again
0
 
zekelinuxconvertAuthor Commented:
Another note: My router is a Router/Hub and the Linus-Mandrake Web Server is plugged into the Hub of the Router. In the reference to the Gateway in my previous comment, I am refering to the IP address of the Router/Hub.
Thanks again
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Debian_userCommented:
Let me make sure I'm understanding you correctly here.
1) You changed the configuration of apache so that it's now listening on port 8000, instead of the default 80.
2) You are not able to reach your website using an internet browser pointed at <hostname>.example.com:8000/
3) You are able to access other websites using a Linux box as your gateway for a small network.

Assuming points 1 - 3 are all correct, it sounds like the problem causing point #2 is that you don't have any dns servers setup to point to your webserver. To test if that is really the case, try using your web browser to go to http://ip.ad.dre.ss:8000/ (Note: The ip address you type into the url line will need to be your public ip address - as seen by the world - which may end up being the ip address of your router, instead of your server.)

If you need to setup your server to also act as a dns server, you have a choice between BIND and tinydns, but we'll cross that bridge once we get there. For now, let us know the results of the web browser test and we can figure out the next step from there.

As for your question about network settings in Mandrake; the netconf GUI should be able to do it. If you want to look at the actual text file, w/o all the fancy gui stuff, I believe it's in /etc/sysconfig/network in Mandrake. If it's not there, check /etc/network/interfaces. (Debian uses /etc/network and I'm afraid it's been too long since I stopped using Mandrake.)

No problem about the delay answering questions. Just let us know the results as you get them and we'll do our best to help.

Regards,
Debian_user
0
 
zekelinuxconvertAuthor Commented:
Thanks again for your help.
I haven't been able to get to the box to change any connfigurations yet, but have recently built another box at home and can test with it. The one at work is now an on-line office mail server so I can now experiment with the new one and configure it as the Web Server. In my proceeding comments, I should have stated that the firewall work around test should have be made using the IP address and not the actual Domain name. In regards to the DNS, I have learned that I will need to contact our ISP since they will need primary DNS Authority. I will also check with them to insure that they allow http traffic since some may limit this service unless it is specifically requested. The pre-linux office LAN is Windows Peer to Peer with one Win2k acting as a proxy/firewall. It has two NIC's one configured to our local LAN and the other to one of five static IP addresses provided by our ISDN ISP. We run "Solidshare" on this box (Win2k) to allow other LAN clients to masquerade (I think this is the correct term.) and/do have Internet access. I assumed (look out) that the Linux-Mandrake Web server could have one NIC configured for one of the static IP addresses provided by our ISDN ISP provider - the same way the Win2k did, So I chose the next available IP - one up from the one the Win2K proxy uses -and configured the card and interfaced to the Router/Hub. I must say that I previously tested the Web Server by 'peering' into the server and found apache served up the index.html just fine. Well to make a long story longer, after that connection, I took another Linux-Mandrake NIC and configured it for our office LAN and connected. This connection works fine and was just a way of proving that the server was serving. Then I ran a browser from a Win98 (inside our lan) and entered: http://officeLan.Ipaddress.OfLinux/index.html and was served the page.
I called my friend - in the world - and asked him to browse using: http://PublicStaticAdres.OfLinuxCard.ConnectedToRouter/index.html
He got the 404 or whatever that says not found.
So I studied the router configuration and learned that the Web server should have a private IP address and be routed or mapped to the public IP address. So I changed the Linux NIC to a private address and took a stab at configuring the Router/Hub. I'm quite sure now that this Router configuration must be where the problem is. The confusing thing is that I can ping the Win2K from the world but never could ping the Linux from the world. I never had to configure the router for the Win2k machine, so why do I need to for the Linux? But knowing linux is bound to be more secure than the 2k I can't say that I would be confused by that... so good for it.
0
 
zekelinuxconvertAuthor Commented:
To Debian_user
Thanks for your help! You did a good job providing the needed information that made it happen for us. Please help me again by posting a comment/answer providing me with the instructions on how to award you the 75 points. Please feel free to contact me anytime at:

sdhyte@hotmail.com
0
 
zekelinuxconvertAuthor Commented:
Thanks again
0
 
Debian_userCommented:
zekelinuxconvert,

Sorry it took me so long to reply.

I notice my previous answer is now shown as being an accepted answer, so I assume you figured out how to award the points to me. Thanks!

Let us know if you have any more problems or questions and we'll do our best to help.

Regards,
Debian_user
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now