LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-03-2007, 02:19 AM   #1
rlee923
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora Core 6
Posts: 88

Rep: Reputation: 17
need help on lamp setup - distro-indepent


Hi,

I spent a lot of time trying to get this work but I guess I am not that lucky on this matter.

I've downloaded the most recent version of each thing,

php, mysql, and apache. And I want to set it up on my laptop.

I did search on google and forums but could not find any good piece of information that I wanted and most of them were ditro-depent instructions.

So if anyone could advise me the steps or where to find, it will be much appreciated.

Cheers.
 
Old 03-03-2007, 03:28 AM   #2
Jaqui
Member
 
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
simplest means to get a lamp stack on any *x box:
install the distro supplied packages for apache, mysql and php.

building from sources is a far more difficult way to go.
the "binary" installers available for each package on their websites will install, but may not register because of distro-centric changes.

essentially, with a source install:

cd /path/to/sources/of/application [ after extract from tarball ]
./configure [ app specific options should be passed here ]
make
su [ you need to be root only for the last part ]
make install
 
Old 03-03-2007, 10:49 PM   #3
rlee923
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora Core 6
Posts: 88

Original Poster
Rep: Reputation: 17
Thanks for the reply.

Like you have mentioned I didn't even think about doing it from the source.

I've downloaded all the binaries, but I have troubles modifying the configuration files and locating the proper path of lib files.

If you have done it this way, or know what to do can you teach me please?

Regards
 
Old 03-04-2007, 02:28 AM   #4
Jaqui
Member
 
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
if you use yum to install the packages, then you only need to edit the httpd.conf file, normally stored in /etc/httpd/conf/

there, you only need to set server name and the server admin email address, apache will be configured to run by tthe installer.

read where the "Documentroot" is in that file, and that is where to put the pages for the server.

fire up the system services control tool, and make sure that mysql and httpd are set to start at boot time in the default runlevel
with yum, install mod_php to have php support in apache, before you start editing the httpd.conf.

you don't need to manually download anything, you tell yum what to install and it will get it for you.
it will also get the requirements for the packages so that you have everything needed.
 
  


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
custom LAMP setup linuxmandrake DamnSmallLinux 1 09-15-2006 02:15 PM
How can I setup a server (LAMP)? Aziz Linux - Server 1 09-06-2006 06:55 PM
LAMP server setup Wim Sturkenboom Linux - General 3 04-20-2006 01:36 PM
LAMP setup on suse 10.0 Doug.Gentry Suse/Novell 4 01-03-2006 09:41 PM
Trying to setup a LAMP using Fedora 3 c_ryan Linux - Newbie 5 05-19-2005 12:52 PM


All times are GMT -5. The time now is 02:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration