LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-08-2004, 04:07 PM   #1
shadow11
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, 11:27 AM   #2
hob
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 mysql.com 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
 
  


Reply



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 08:46 AM
what is the best way to install LAMP: compile or RPMs? learnfast Linux - Newbie 4 04-28-2005 07:50 PM
LAMP install gets all screwy ghight Debian 1 01-03-2005 11:24 AM
Puresecure install with existing LAMP setup-- Possible? opioid Linux - Software 1 10-27-2004 11:21 AM
LAMP & Qmail install on RedHat/Fedora 88guy Linux - Newbie 0 05-28-2004 12:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:14 PM.

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
Open Source Consulting | Domain Registration