Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Oct 09, 2013 11:38 pm 
Offline
Junior Member

Joined: Wed Oct 09, 2013 6:02 am
Posts: 22
Hello, (my first post on forums)
I just tested linode & am very impressed on what they have to offer. I"ll be using Apache as a webserver but not sure which linux distro to use: Ubuntu or CentOS?
So far I was with shared hosting (with cPanel) which was running CentOS linux.
Although, I never had access to root-level, all (shared) web-hosting companies I used in past (7 years?), have CentOS linux.
I have Linux headless (no GUI) Ubuntu server machine at my home for experiments & learning. I access it remotely within my home private-network via SSH & SMB.
I'm comfortable with Ubuntu (& CLI) been using Ubuntu since 2007. Whereas I never used CentOS or RedHat.
Why CentOS is preferred linux distro for webserver? (Apparently linode homepage says that more than 50% of customers have Ubuntu server on their linode.) My concern is Ubuntu doesnt go well with webmin & I may have to stick to SSH :(.
Do we have alternative to webmin?

Thank you.


Top
   
PostPosted: Thu Oct 10, 2013 1:49 am 
Offline
Senior Member

Joined: Wed Mar 03, 2010 2:04 pm
Posts: 111
I've chosen Ubuntu, since I run it on a local server like you do, and it seems to enjoy robust guide support here at Linode and a larger (or maybe more vocal) user base when it comes to searching for help on the Internet when something goes wrong. As a perpetual newbie to Linux, one thing that never ceases to frustrate me is that the different distros seem to have different locations for everything, so it's hard for me to remember where anything is, on top of remembering the differences between the various languages I need to know (Perl, PHP, JavaScript, etc.) so I like consistency when I can manage it.

I run webmin on my home server and all my linodes but at this point I almost never use it. I like the front-end to CSF/LFD, that's about it.

Is there a "best" distro? Maybe depends on what you are doing. If you're not running S3 or Google, probably whatever makes it easy for you to manage the system and keep up with updates and security patches is the "best". That's how I see it, anyway.

And welcome to Linode. :)

Edit: SSH is your friend. Soon enough it'll just be part of your regular toolbox.


Top
   
PostPosted: Thu Oct 10, 2013 3:32 am 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
Debian stable.


Top
   
PostPosted: Thu Oct 10, 2013 5:07 am 
Offline
Senior Member
User avatar

Joined: Tue Mar 17, 2009 5:11 am
Posts: 129
Location: UK
johnycage - you mention cPanel in your post. cPanel only works on Redhat and derivatives, so it isn't supported on Debian/Ubuntu etc. That's why all the web hosts offering cPanel shared hosting use Redhat/Centos/Scientific etc.

There is no major benefit using Apache in Centos compared to using Apache in Ubuntu; at the end of the day it's Apache and will do what you want :)

Personally I prefer and use Debian but have to administer Redhat boxes at my workplace. If you are comfortable with Ubuntu then stick with it.


Top
   
PostPosted: Thu Oct 10, 2013 5:18 am 
Offline
Junior Member

Joined: Sun Jun 24, 2012 4:27 pm
Posts: 29
Go with what you are most comfortable with right now. If you are interested in something else, play around in a VM on your PCs. Once you learn the intricacies between different flavors, you can then make an educated decision. You're most familiar with Ubuntu, so go with that. There is no real /preferred/ distro for a particular task, but rather what is preferred for what task comes down to the individual.

With your question structured as it is, it will just start the stereotypical "ermegerd, mah distro pwns urz!!$#@!!!".


Top
   
PostPosted: Thu Oct 10, 2013 5:31 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Personally I prefer Ubuntu because of the 5 year LTS support cycles. It makes planning major upgrades a lot easier.
Centos is 7 years if memory serves but uses older packages (which is to be expected) and has a smaller default package repository.

Really it's up to you, but I'd suggest something with a decent support cycle.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Thu Oct 10, 2013 6:36 am 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
We are using both CentOS and Ubuntu on production Linodes. They are similar enough that there's only a small learning curve moving from one to the other.

From a website management perspective the software you'll interface with the most is your control panel. I've run webmin on Ubuntu without any issues (though I didn't really like their user interface). There are several free or low-cost control panel options (though I regret putting Kloxo on a production server and will be phasing it out by the end of the year).

You can configure a small disk image "master" (eg, 10% - 20% of your allotment) and install the distro of your choice. Add all your updates & extras (but not your control panel software). Then clone this disk image a few times and install a different control panel on each. Test each option out until you decide on one. You can even install Ubuntu on one "master" and CentOS on another.

My experiences have taught me to test & taste several distros and control panels before choosing one. It's a PITA to migrate a bunch of websites to a different distro or control panel once you realize that you should have done more testing.


Top
   
PostPosted: Thu Oct 10, 2013 9:47 pm 
Offline
Senior Member
User avatar

Joined: Wed Jun 26, 2013 1:53 am
Posts: 118
I use Ubuntu. I'm also fine with using command line only. If you do use a control panel, you should make sure that it can't be easily hacked. Web control panels can be a serious risk if they aren't properly secured.

_________________
Homepage www.sturmkrieg.com
Social network Gamernet
Development website Sashaweb Development
Imageboard img.sturmkrieg.com
WikiHub free wiki host Community Wiki


Top
   
PostPosted: Thu Oct 10, 2013 11:00 pm 
Offline
Junior Member

Joined: Wed Oct 09, 2013 6:02 am
Posts: 22
Such a warm welcome and positive response!!
I'm in love with this community already.
Thank you so much guys, you made my decision easier. :)
@MrNod I didnt know that cPanel is only compatible with certain distros. Thanks.


Glad to meet all you sys admins & webmasters :you-rock:


Top
   
PostPosted: Thu Oct 10, 2013 11:22 pm 
Offline
Senior Member
User avatar

Joined: Wed Jun 26, 2013 1:53 am
Posts: 118
cPanel also costs money. If you can afford it, it's probably pretty good. I've only used it in limited capacity with Wikkii.

_________________
Homepage www.sturmkrieg.com
Social network Gamernet
Development website Sashaweb Development
Imageboard img.sturmkrieg.com
WikiHub free wiki host Community Wiki


Top
   
PostPosted: Fri Oct 11, 2013 4:23 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
A warning about cpanel. It heavily customises your system, the only real way to remove it is to rebuild your server. I prefer webmin for control panels it uses the systems default package manager.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Fri Oct 11, 2013 8:20 am 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
obs wrote:
A warning about cpanel. It heavily customises your system, the only real way to remove it is to rebuild your server. I prefer webmin for control panels it uses the systems default package manager.

Kloxo has the same issue: the only way to remove it is with fire, and lots of it.


Top
   
PostPosted: Fri Oct 11, 2013 8:31 am 
Offline
Senior Member
User avatar

Joined: Wed Jun 26, 2013 1:53 am
Posts: 118
obs wrote:
A warning about cpanel. It heavily customises your system, the only real way to remove it is to rebuild your server. I prefer webmin for control panels it uses the systems default package manager.


That's one of the reasons why I haven't seriously looked into installing a control panel. I'm not sure if it would work with the way that things are set up. For example with the web server, I have a series of files in sites-available that are each for a specific website, and I use a2ensite to enable them. I don't know if Webmin would work with that.

One thing that might make me consider installing it, with approval, is if it has a version that's restricted for other users so that I can create a free server side wiki host the way that Wikkii did. Does it have a web FTP client? I blame them for encouraging people to do bad things, but for a free wiki host I think it would be an important alternative to Filezilla and asking users to download it.

If it has a way to interact with databases, that would be good because the only option right now is ssh, so users would end up needing to use SQLite. It's better on our server than it was at GoDaddy, but it still gives database error not infrequently, and the only way to stop them, depending on what you get, is to add ?action=purge to the URL, which isn't going to be obvious to most users.

_________________
Homepage www.sturmkrieg.com
Social network Gamernet
Development website Sashaweb Development
Imageboard img.sturmkrieg.com
WikiHub free wiki host Community Wiki


Top
   
PostPosted: Fri Oct 11, 2013 9:06 am 
Offline
Junior Member

Joined: Wed Oct 09, 2013 6:02 am
Posts: 22
Main Street James wrote:
You can configure a small disk image "master" (eg, 10% - 20% of your allotment) and install the distro of your choice. Add all your updates & extras (but not your control panel software). Then clone this disk image a few times and install a different control panel on each. Test each option out until you decide on one. You can even install Ubuntu on one "master" and CentOS on another.

You mean having virtual machines inside single linode? Is it allowed? wow!


Top
   
PostPosted: Fri Oct 11, 2013 9:16 am 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
johnycage wrote:
You mean having virtual machines inside single linode? Is it allowed? wow!

No, that's not what I meant. I'm sorry if I didn't explain it well.

You can only boot one disk image at a time. If you set up multiple disk images - and boot them one at a time - you can start with the same "base disk image (or images)" and then experiment with various configs and/or control panel installations. This lets you save time as well as makes sure everything is the same when you start each "test".


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group