?
Solved

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

Posted on 2003-02-21
8
Medium Priority
?
247 Views
Last Modified: 2013-12-15
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
Comment
Question by:zekelinuxconvert
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 1

Expert Comment

by:Debian_user
ID: 7997619
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
 

Author Comment

by:zekelinuxconvert
ID: 7999467
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
 

Author Comment

by:zekelinuxconvert
ID: 7999497
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
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
LVL 1

Accepted Solution

by:
Debian_user earned 300 total points
ID: 8001843
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
 

Author Comment

by:zekelinuxconvert
ID: 8004096
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
 

Author Comment

by:zekelinuxconvert
ID: 8013489
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
 

Author Comment

by:zekelinuxconvert
ID: 8030973
Thanks again
0
 
LVL 1

Expert Comment

by:Debian_user
ID: 8037294
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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month14 days, 1 hour left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question