LAMP Installation set required for CENTOS


We would like to install LAMP system that is CENTOS based. We require a SAMBA Server & a MySQL version 5.5 or higher.

Software RAID (RAID 1) to support Mirror drives set-up. Please can you give instructions to do so.

Who is Participating?
joolsConnect With a Mentor Commented:
dont forget...
yum groupinstall "Web Server" which should install apache and a load of modules and yum install php php-mysql. You may also want to include other modules for php as well for additional functionality.

If youre installing from scratch then just select the packages at install time by checking the customise selection box.

If youre setting up RAID at boot time then you would probably find it easier to use software raid for the underlying partitions and then use LVM to create your mount point stuff.

This link should help Ideally you should really do this as separate topics because it will be difficult to follow if more people answer.
MazdajaiConnect With a Mentor Commented:
You can use yum to install samba and mysql -
yum install samba mysql

Open in new window

Software Raid 0 -

If you require additional assistance, you should open individual question per each component install.
rindiConnect With a Mentor Commented:
Apart from using the above description and installing everything more or less manually, you could also use a distribution that is already prepared for this type of setup, like ClearOS. It is based on Redhat (like CentOS), but comes with tools that allow you to easily configure the addons you need (like MySQL etc) via a modular system and web-browser based configuration utility. It is much simpler to setup and maintain. It's disadvantage though could be, because of the tools and simplicity provided, you might not learn everything you do when you do it manually, and as it uses some not so standard approaches it could confuse those who do everything manually. You can setup software RAID 1 easily during the installation of the OS directly from the installer:
7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

shaunwinginAuthor Commented:
shaunwinginAuthor Commented:
Tx rindi for the link to ClearOS.
I have been in the habit of using CentOS. Are there any advantages or disadvantages to using Redhat under the ClearOS setup?
I understand that CentOS is license free. What is the case with Redhat?
Redhat isn't free. You pay for support and access to the repo's for updates and software installation.

ClearOS has a free version, and it's setup and configuration is made easy as they have created a tool which you can access via web-browsers with which you can easily setup, configure and maintain most of the things you need, without having to manually edit configuration files. But that makes it a little more unconventional than other distro's in the way you need to manage the configuration. They also include payed for services where you get support, or that provide other additions where they utilize proprietary software.

Both CentOS and Red-Hat use OpenSource software, but as I mentioned above, you pay for their services (Red-Hat). CentOS uses the same software as Red-Hat, but they re-brand whatever has Red-Hat brand names. So it really is a clone of Red-Hat. You get full access to the repos as long as the life-cycle of the distro lasts. If you need support, you are left to the forums or online documentation, or you can buy support from partners.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.