LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 11-18-2004, 11:47 PM   #1
matttail
Member
 
Registered: Jan 2004
Posts: 36

Rep: Reputation: 15
Post make a sigguestion please


Hi!

So, I'm fairly inexperienced when it comes to linux, I have had minimal time working with any of the distros... anyways I have Mandrake 10 installed on my computer.

what I would like to accomplish is to get it set up to serve web pages on my own computer (and maybe to an other computer on my LAN) with HTML and PHP and CGI, as well as mysql database stuff. I want to have basically a working backup of sites that I have on a web host.

So I was hopping that some one could suggest a how to or other guide to me that I could follow, and hopefully understand, that would guide me though the process of making sure that I have the Right RPMs installed on my system, configuring Apache, creating virtual Hosts and creating mysql and berkeley databases to go along with them. And then figuring out how to access the sites. I really don't care if it's name based virtual servers or something else, but I need an easy way to access them as well as having the computer serve up pages, render php, excitue cgi, etc...

I had accomplished some of this before with Red hat, but that was on my fiance's computer and she went back to the dark side (windows). I had set up a name based virtual server and I think I was accessing it, but it wouldn't excute CGI and the like. But Redhat had some automagic configuration utilities to help me get all that setup, and I can't find anything of the sort here in mandrake. Thanks for your time and help.

-Matttail
 
Old 11-19-2004, 03:37 AM   #2
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
I've looked at this post a couple times and no one has answered, so at least I will tell you this, what you want to do is quite an endeavor. Probably more than someone would write in the forums. As far as apache, most of the rpms have CGI compiled in and it works by default if you populate the /var/www/cgi-bin with your cgi scripts, virtual hosting is where this all gets tricky, there are many methods of doing it. Personally, I do it all with rewrites so I compile in mod_vhost_alias into apache, its a mass virtual hosting module. This usually is not compiled in to stock rpm's from my experience. Hence, you would most likely have to compile from source to obtain your objective, theres a great tutuorial on it here --> http://dan.drydog.com/apache2php.html this will also guide you through compiling and installing php. For virtual hosting I would strongly suggest adding --with-vhost-alias to his configure line.
MySql can generally be installed relatively painlessly from rpm's gotten from http://mysql.com And if you are going to host multiple sites you will probably want to host your own DNS, so look into BIND or the like.

I hope this helps some, it was just painful to look at your post knowing I know how to do it but I don't have like 2 days to write a tutorial.

Good luck to you, all the info is on the net if you dig for it, thats how I learned.

linux_terror
 
Old 11-19-2004, 08:31 AM   #3
DertyolBA$HTARD
Member
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 10
Posts: 86

Rep: Reputation: 15
Hehe automagical, I like that.
 
Old 11-19-2004, 02:42 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Based on what you've described, what you want to set up is a "LAMP" system - Linux, Apache, MySQL, and PHP. Doing an online search for "LAMP installation tutorial" should help get you started.

I've been getting into this myself lately, and just like linux_terror already mentioned, the scope of this topic is pretty extensive, and would probably be a little too broad to cover in a post. My best suggestion would be to check out some of the results from a LAMP search, then post back with specific questions along the way. Good luck with it. Once you get things up and running, it's really pretty cool. -- J.W.
 
Old 11-19-2004, 05:11 PM   #5
matttail
Member
 
Registered: Jan 2004
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks Linux_terror and J.W. I really apprechate your help. I figured it wouldn't be too easy, and I've got some time to work on it. I'm sure I'll be back to post with specific questions along the way, but I really apprechate have a term to search for - LAMP I never would have figured that one out on my own. Thanks again

-Matttail
 
Old 11-19-2004, 06:39 PM   #6
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
No problem mattail, good luck to ya and yes, post with specific problems and we can be much more help to ya.

linux_terror
 
  


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
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 01:18 AM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 08:55 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 12:19 PM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 06:58 AM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:49 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