Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-08-2004, 05:07 PM   #1
LQ Newbie
Registered: Oct 2004
Posts: 15

Rep: Reputation: 0
Eaiest way to install LAMP

I'm very new to Linux, hope someone give me advices about the easiest way to install LAMP.
I understand that I can install AMP with the standalone rpm packages from their web sites or the packages come with the Linux (in my case, it is Fedora Core3).

I tried the standalone packages route, and failed several times (mysql.sock doesn't exist anywhere). Anyone successfully get LAMP running in FC3? Please post the link to the Howto.

I installed all the packages for LAMP in FC3, but what next? (Ran rpm -qa | grep apache, nothing shows for Apache).

Is there a program like EasyPHP to help install LAMP?

Thanks in advance,
Old 12-09-2004, 12:27 PM   #2
Senior Member
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Using the supplied packages is the best option. The packages for Apache are actually named "httpd", which is why your grep command didn't find them.

You only need to do three things:

a) Set the MySQL root password. Read the section in the manual on twice before doing this - accounts are by far the most confusing part of MySQL.

b) Start the services:

su -c '/sbin/service mysql start'
su -c '/sbin/service httpd start'

Enter your root password when prompted.

c) If the services have started OK, then you will probably want to set them to start automatically on boot up:

su -c '/sbin/chkconfig --level 345 mysql on'
su -c '/sbin/chkconfig --level 345 httpd on'

Again, enter your root password when prompted.

The default configuration files for Apache and MySQL work without needing any modifications.

Hope that helps


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
libxml 1 vs libxml2? in a LAMP install piratebiter Linux - Enterprise 0 08-31-2005 09:46 AM
what is the best way to install LAMP: compile or RPMs? learnfast Linux - Newbie 4 04-28-2005 08:50 PM
LAMP install gets all screwy ghight Debian 1 01-03-2005 12:24 PM
Puresecure install with existing LAMP setup-- Possible? opioid Linux - Software 1 10-27-2004 12:21 PM
LAMP & Qmail install on RedHat/Fedora 88guy Linux - Newbie 0 05-28-2004 01:17 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:27 AM.

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