LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-22-2017, 08:05 AM   #1
adam525
LQ Newbie
 
Registered: Nov 2006
Posts: 22

Rep: Reputation: 0
Installing LAMP from source


Does anyone know of a tool like ApacheToolbox anymore? That was SUCH a great tool and saved me tons of time and headaches back in it's day.

I went to it's page and it I could see that the newest version of PHP it supports is 4.x and THAT's old. Seems like I tried a few years ago with the same results.

Anyway, does anyone know of a similar tool OR a good howto on it?

I need to install the newest versions of apache (mod_ssl), php, mysql, with the works and would like a good readme with the commands for each part.

I can install a basic Apache installation. But when I compile several things only to have apache complain about pcre and I have to start all over, it gets frustrating.

My question: does anyone have a good (current) guide for installing LAMP with openssl or know of a tool similar to apache toolbox that works with current versions of the software.

TIA,

Adam
 
Old 05-22-2017, 09:25 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,815

Rep: Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974
Quote:
Originally Posted by adam525 View Post
Does anyone know of a tool like ApacheToolbox anymore? That was SUCH a great tool and saved me tons of time and headaches back in it's day.

I went to it's page and it I could see that the newest version of PHP it supports is 4.x and THAT's old. Seems like I tried a few years ago with the same results. Anyway, does anyone know of a similar tool OR a good howto on it? I need to install the newest versions of apache (mod_ssl), php, mysql, with the works and would like a good readme with the commands for each part. I can install a basic Apache installation. But when I compile several things only to have apache complain about pcre and I have to start all over, it gets frustrating. My question: does anyone have a good (current) guide for installing LAMP with openssl or know of a tool similar to apache toolbox that works with current versions of the software.
You can, but honestly why bother??? You can install the most current versions, along with the openSSL and other modules from packages in most repositories for most distros. You don't say what version/distro you're using, but there are even meta-packages that install everything with one command. Unless you're looking for some VERY esoteric and/or bleeding-edge functionality, you shouldn't need to compile any parts of LAMP from source.

Read the "Question Guidelines" link in my posting signature. Without details about what you're using and what you're actually trying to accomplish by doing this, there isn't much we can help you with.
 
Old 05-22-2017, 10:46 AM   #3
adam525
LQ Newbie
 
Registered: Nov 2006
Posts: 22

Original Poster
Rep: Reputation: 0
The reason I ask is because Apache/PHP/SSL/MySQL is currently installed as .deb's on a VERY old (Sarge) Debian box.

This is a new job and the company that I work for has REALLY let the webserver go. I know for a fact that openssl and apache have not been updated in 3 years.

I'm scared to even attempt to do and apt-get update (even though if that would work, I'd LOVE it).

I figure that the path of least resistance would be to install from source alongside the current installation and then I could just do /etc/init.d/apache(whatever) stop and start with the new one. If the new installation blows up, I have the old one right there.

I'm ALL about installing from the package manaager's version, but I'm in a weird spot here. Sorry for not specifying that in my previous post.

If anyone has any better ideas about this than I do, I'd love to hear them. Maybe I should just build an entirely new web server - although I'm SURE there are lots of little 'hidden' jems that would break if I did that. I'm just weighing my options at this point.

Thanks for your reply,

Adam
 
Old 05-22-2017, 10:55 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,815

Rep: Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974
Quote:
Originally Posted by adam525 View Post
The reason I ask is because Apache/PHP/SSL/MySQL is currently installed as .deb's on a VERY old (Sarge) Debian box.

This is a new job and the company that I work for has REALLY let the webserver go. I know for a fact that openssl and apache have not been updated in 3 years. I'm scared to even attempt to do and apt-get update (even though if that would work, I'd LOVE it).

I figure that the path of least resistance would be to install from source alongside the current installation and then I could just do /etc/init.d/apache(whatever) stop and start with the new one. If the new installation blows up, I have the old one right there. I'm ALL about installing from the package manaager's version, but I'm in a weird spot here. Sorry for not specifying that in my previous post.

If anyone has any better ideas about this than I do, I'd love to hear them. Maybe I should just build an entirely new web server - although I'm SURE there are lots of little 'hidden' jems that would break if I did that. I'm just weighing my options at this point.
The last sentence of your reply says it all, for me. If it's that old and unupdated, you're just in for surprises in the future when the old junk dies, and you have to sleep in the server room for a day or two, trying to scramble to fix it.

Me? I'd build out a new web server from scratch, while the old one is running. Migrate things over, test in an orderly (and while the sun is up) fashion, and get things correct and documented so there won't be any 'hidden gems' in the future. You'd be doing yourself a huge favor, if you're the new admin, and dodge a major bullet. And even if they complain about new hardware, remind them that the old web server can now be a backup server/new workstation/test bed/whatever, and it won't go to waste. Since you mention web and MySQL, and it's for a company, you could then implement load balancing, put it in HA mode with a failover, and have master/slave implemented in MySQL.
 
Old 05-22-2017, 10:58 AM   #5
adam525
LQ Newbie
 
Registered: Nov 2006
Posts: 22

Original Poster
Rep: Reputation: 0
Good point. Well taken.

Thank you.
 
  


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
Building LAMP server through source installation abhilashbsstabilix Linux - Newbie 6 08-04-2014 01:23 PM
Lamp debian from source? eckhard Linux - Newbie 6 02-04-2012 03:54 PM
Fedora LAMP Install From Source: Arduous, But Good. liquesen Linux - Server 2 12-23-2011 04:44 PM
My HOW-TO: LAMP on CentOS from Source (including Movies) utw-mephisto Linux - Newbie 13 04-09-2008 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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