LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-21-2013, 11:23 AM   #1
rickmetta
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Rep: Reputation: Disabled
How to install LAMP in Debian Linux. I need HELP!


Anyone have experience in this area? I'm familiar with WAMP and installing this software in Windows. I'm a Linux newbie, and could use a bit of help.
 
Old 02-21-2013, 11:44 AM   #2
Dornith
Member
 
Registered: Jul 2012
Location: U.S.A
Distribution: Archlinux Multilib, Debian 7.0.0 32b
Posts: 153

Rep: Reputation: Disabled
Quote:
Originally Posted by rickmetta View Post
Anyone have experience in this area? I'm familiar with WAMP and installing this software in Windows. I'm a Linux newbie, and could use a bit of help.
This is on my Ubuntu so it may not be exactly right but should be close:

With Debian, the easiest way to install anything is to open a console and type:
Code:
sudo apt-get install [Name of what you want to install]
I don't think there is a package for lamp (package is what Unix users call a collection of files that make up a program), but you should be able to install the components. E.G.
Code:
sudo apt-get install apache2
 
1 members found this post helpful.
Old 02-21-2013, 12:51 PM   #3
rickmetta
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks, for your help. I really appreciate it. The PC I'm using for this is an old Dell Inspiron 4600, Pentium 4 processor and 60 gigs of memory. I want to install Apache on a Western Digital 1TB external hard-drive. The first step is mounting the hard-drive. Do you know the command prompt for this? Though I think it's not actually called a "command prompt" in Unix...lol. I've found a helpful site here:

http://homepages.math.uic.edu/~hanso...ictionary.html

Last edited by rickmetta; 02-21-2013 at 03:40 PM.
 
Old 02-21-2013, 01:55 PM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Welcome to the forums!

Slow down a minute.... most new users who get into to trouble, it's because they start following random tutorials and how to's blindly.

Step 1 is: have you installed Debian?

Once you have Debian installed, then

Step 2 is to read the following page. It is on the official Debian Wiki and it is the first google hit for Debian LAMP. Follow any tutorial other than this one at your own risk!!!

http://wiki.debian.org/LaMp
 
2 members found this post helpful.
Old 02-21-2013, 02:02 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
The above link is a good tutorial
BUT I would add

that for the first 6 to 12 Apache stack installs you manually install everything
build source and manually set up and install everything by hand

yes it is a bit of work
BUT ,it will pay off BIG TIME

you will LEARN how to set the software up and configure it
you will learn where everything IS installed
you will learn the ins and outs of the software
and
you will learn HOW to configure Apache as a safe and secure install

The a0pache stack it VERY easy to set up as a VERY INSECURE and very easily hacked server

it is a bit harder to have a secure and locked down ( and usable) install

then use "apt-get" or yum pr whatever to install the prebuilt packages
but that will only save you about 30 min. to 60 min. for an install

Last edited by John VV; 02-21-2013 at 02:04 PM.
 
2 members found this post helpful.
Old 02-21-2013, 04:43 PM   #6
rickmetta
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks, guys. Yes, I've installed CrunchBang (Debian). It's the perfect OS for the 12 year old Dell I'm using for this project. It's way faster than the current Debian 6.0 that I tried after Ubuntu 12.04. I think I may do a clean reinstall, start from scratch and install Apache manually. Again, thanks for the input, guys. Peace
 
Old 02-21-2013, 04:59 PM   #7
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
I assumed you were running a server install of Debian.

But since you are actually running CrunchBang, I'll change my advice:

The 'cb-welcome' postinstall script includes the option to install LAMP in one easy step.
 
1 members found this post helpful.
Old 02-21-2013, 05:20 PM   #8
rickmetta
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
I tried Ubuntu, then Debian, and finally settled on CrunchBang for the old Dell. I plugged in my 1TB hard-drive when doing the install, and this solved the mounting problem. I installed LAMP in the postinstall. Though in truth, at this point I only need Apache to host my personal site Rainbow Solutions USA. Thinking of doing a clean install and set Apache up manually. I have until June before my current hosting with FatCow expires, and will work on getting this done over the next 2-3 months. Thanks again.

Last edited by rickmetta; 02-21-2013 at 05:26 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lamp debian from source? eckhard Linux - Newbie 6 02-04-2012 03:54 PM
Debian etch LAMP Server initialdrifteg6 Debian 3 02-05-2006 01:20 PM
LAMP with a new server, debian mix_master_mike Linux - General 4 11-17-2003 11:30 AM

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

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