We help IT Professionals succeed at work.

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

student237 asked
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?

Watch Question

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 Architect

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 Technology

I concur with CentOS.  It is secure, reliable and widely used.
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.


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.

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.