LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-09-2001, 08:17 PM   #1
acid_byte
LQ Newbie
 
Registered: Sep 2001
Distribution: SuSE 7.2 Proffessional
Posts: 3

Rep: Reputation: 0
Angry webserver HELP!!!!


OK, I'm officially going nuckin futz here. I installed SuSE 7.2 Professional, I installed using the GUI and selected server install. Now....I know I need to configure a bunch of stuff, my question is what? I have read so many tutorials that I'm getting confused on what is what anymore. All I want is to run my own webserver and then later move up to a small ISP AFTER I understand the web stuff. I am a long time Windoze user and all this Linux stuff is really pulling me down. Help me before I decide to give up and goto XP. I know that Linux is a far more superior OS and I really want to learn.

Thanks,
Acid_byte
 
Old 10-10-2001, 05:59 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
OK, so you never actually did get round to asking your question.. but i presume you just want to know how to start a webserver.

easy. Apache. Should be on your distro cd's. just install it, and you're away. If it wokrs the same way as mine did, it makes the web directory /var/www/html. So anythign you put in there will be accessible over port 80, assuming the httpd service is running. you should also use apacheconf to sort out the simple things.
 
Old 10-10-2001, 04:37 PM   #3
phek
Member
 
Registered: Jul 2001
Location: California, US
Distribution: Slackware
Posts: 196

Rep: Reputation: 30
If you want to do it from source i'll tell you how... go to http://www.apache.org and download the apache source (i'll refer to apache 1.3.2 as i believe its currently more stable than 2.0). Now tar and unzip the source
tar -zxvpf apache_1.3.20.tar.gz
now change to the apache_1.3.20 directory and even though you should probally keep this at default your first time, in the future you want to edit your apache_1.3.20/src/Configuration file to include only the modules you want.

Now like i said you should ignore editing that file your first time and just go ahead and now I'm going to use /webroot as your apache server root
./configure --prefix=/webroot
from the apache_1.3.20 directory, and that will configure apache with /webroot as your server root.

Next you want to compile (i think thats what its called, i suck with the terminology) so:
make
make install
make clean
from your apache_1.3.20 dir and you have a compiled apache server, all thats left is to get it to do what you want it to and run it so now...
cd /webroot/conf
and edit your httpd.conf. Your httpd.conf file gives your server all the paramaters it needs in order to run such as your document root, if its has virtual servers, where to execute cgi from, etc. I'll leave this up to you as its all fairly simple, but if you run into any problems just leave it at its default.

Once you finish editing the httpd.conf file all thats left is to run httpd which you do by
apachectl start
and there you go, your own web server. You can test it out by doing
lynx 127.0.0.1
and you should get a page that says If you see this page then you've successfully installed apache.

Some good references are
http://httpd.apache.org/docs/mod/ to find out what each module does and also your INSTALL file in the apache_1.3.20 dir on of course how to install apache.


phek
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My own webserver... TazG Linux - Networking 7 05-30-2007 08:00 AM
Webserver, what else do I need? dude4you Linux - Newbie 3 02-17-2004 06:41 AM
help for webserver sanjibgupta Linux - Newbie 2 11-28-2003 09:39 AM
Can't see WebServer from outside... Can see WebServer locally as http://localhost friddick Linux - Networking 13 08-19-2003 07:27 PM
what to do with my webserver acid2000 General 6 04-24-2003 09:38 PM


All times are GMT -5. The time now is 10:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration