LinuxQuestions.org
Register a domain and help support LQ
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 07-24-2014, 03:27 AM   #1
synthetec
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Rep: Reputation: Disabled
Installing LAMP for customer


Hi all,

Ive recently gotten my first Linux customer and have to install Apache, PHP and MySQL on a CentOS 6 machine. Other than yum install for each of the services, is there anything else I need to consider for the server to run well? I'm a 27 yr old windows guy proficient in PHP so not a total n00b but juat want to be careful with Linux
 
Old 07-24-2014, 05:52 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,166

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
If this is for internal use then you'll get away with that.

If it's going to be "public facing" then you'll need to consider implementing iptables and apache hardening as a minimum.
 
Old 07-24-2014, 06:43 AM   #3
synthetec
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for the response!

It will be public facing.

iptables should be okay, I can follow the existing ruleset but as far as apache hardening goes, do I need to consider suhosin? Or would a simple guide for example http://www.tecmint.com/apache-security-tips/ suffice?
 
Old 07-24-2014, 06:45 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,166

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
those tecmint tips are a good start, also disable or uninstall any unnecessary services on the server.
 
Old 07-24-2014, 06:48 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
I second TenTenths: definitely look into security; try the Sticky posts in the Security Forum.
Disable any unused services (see the chkconfig cmd).
Check this site for free-to-read manuals on everything www.linuxtopia.org.
Definitely keep the system updated, but you may want to test changes on a separate box first; also useful as a backup/replacement server.
 
Old 07-24-2014, 10:29 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,937

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
And to chime in a bit here, from the "been there before" standpoint: advise your customer to spring for a decent firewall/DMZ setup, if they don't have it already, and get it in writing. No matter how much you harden things, if it's public-facing, there are vulnerabilities. If something goes wrong, they WILL look for someone to blame...make sure it's not you. If you can point out that you advised xxx and they didn't do it, you're good.

Disabling unneeded services and IPtables is a great start...but anything public-facing is tricky. Be prepared.
 
Old 07-28-2014, 04:20 AM   #7
Almaz
Member
 
Registered: Jul 2013
Posts: 35

Rep: Reputation: Disabled
Easy and simple setup http://tuxlite.com/
 
  


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
Help with installing LAMP kedarp Ubuntu 2 09-28-2012 09:53 AM
installing Lamp soheila.karimi Fedora 4 04-16-2012 08:56 AM
Need to import IP, MAC, Customer, Hardcoded IP's and Customer into website rhbegin Linux - Software 3 02-24-2012 07:48 PM
installing LAMP nuttynibbles Linux - Software 3 07-17-2011 08:25 PM
Installing lamp umwai Linux - Newbie 3 09-17-2008 12:58 AM


All times are GMT -5. The time now is 04:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration