Which Linux server option is best to choose as web hosting server on Amazon EC2 (Free option)

I am trying to configure server on Amazon EC2 to use as php/mysql/apache and then put some wordpress blogs and also may be a Magento site for testing purpose.

I selected Ubuntu and then install php,mysql,apache. I also tried to install Webmim usine Putty but I was stuck there. First it was not accessible, then I uninstall it and install again then it did not ask me user or password, I tried root user and password but it is not accepting. Then I tried to uninstall itbut it is also giving me error.
Now I am thinking to remove the instance and install it again.
My question is first, which Linux version is more easy like there is one Amazon Linux, then Ubuntu and two more. Which one is most easy for beginner? I need to install apache,mysql,php,mail server, ftp server. Also is there any guide step by step to install all above, wordpress or XAMPP and Webmim?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mohamed MagdyCTOCommented:
If you want a free easy option that is compatible with almost all control panels including Webmin and cPanel, then you shall go with CentOS 6.x.
Zephyr ICTCloud ArchitectCommented:
I always tell people to choose the Linux version/distro they're most comfortable with, I've installed Webmin on Debian-derivatives as well as rpm-based distros and they all worked without issues, so it's not that one is better than the other, it all comes down to preference. Though I'd choose an OS that is not bleeding edge and releases LTS versions.

That being said, since we live in dangerous times, here's a nice howto for installing Webmin with ssl. But also make sure to pass by the Webmin Wiki, it also has interesting stuff.
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
I concur with CentOS.  It is secure, reliable and widely used.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

student237Author Commented:
I selected first Ubuntu but could not succeed to complete it then I started with Amazon-linux and it worked fine.
There is very good tutorial on Amazon site, step by step, just follow it and you will setup LAMP easily.

Now I got another issue that how to setup the domains.
I think I need to ask a new question.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
student237Author Commented:
I was looking step by step instructions and the instance which is more easy. I got suggestion of Centos but if you go to Amazon micro instance, you don;t have option of CentOS.
Mohamed MagdyCTOCommented:
Amazon EC2 FAQ

Amazon EC2 currently supports a variety of operating systems including: RedHat Linux, Windows Server, SuSE Linux, Ubuntu, Fedora, Debian, Cent OS, Gentoo Linux, Oracle Linux, and FreeBSD. We are looking for ways to expand it to other platforms in future releases.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Applications

From novice to tech pro — start learning today.