Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-05-2020, 10:03 AM
|
#1
|
Member
Registered: Sep 2020
Posts: 436
Rep: 
|
Which Linux distro is most secure for a web server?
Hello,
Which Linux distro is more secure by default for a web server? How about "OWL" distro? is it OK for web server?
Thank you.
|
|
|
09-05-2020, 10:08 AM
|
#2
|
LQ Guru
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,740
|
Secure as per which definition? What you would probably want would be to have the least moving parts possible, because if it is not there it can't break. As such some of the server editions of popular distros would be a good choice. Most have the minimal possible number of packages pre-installed and you then add whatever you need but only what you need.
|
|
|
09-05-2020, 10:24 AM
|
#3
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,243
|
Every year there's a survey of web-servers. Of those that will show what they're running, the most popular are Debian Stable and CentOS. The CentOS full installation disk has a web-server option, so that you only get what you need.
|
|
|
09-05-2020, 10:31 AM
|
#4
|
Senior Member
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,917
|
Most servers I've used have been CentOS, or another RHEL-based distro.
I hadn't heard of OWL, so I searched "OWL linux" and Openwall GNU/*/Linux came up.
This is from the front page:
Quote:
Openwall GNU/*/Linux (or Owl for short) is a small security-enhanced Linux distribution for servers, appliances, and virtual appliances.
...
Owl 3.0 was released in December 2010. It uses a RHEL 5.5-based Linux/OpenVZ kernel and it has optional OpenVZ container-based virtualization integrated. We've since updated to RHEL 5.11-based Linux/OpenVZ kernels and beyond in Owl 3.1-stable.
...
At this time, we barely maintain Owl[/b], fixing only the most critical vulnerabilities. [b]Owl's future is unclear.
|
Centos/RHEL are currently at v8. RHEL v5.11 is not supported, except by people who pay Red Hat for extended support, and even then only until November this year.
So probably best to avoid Owl.
|
|
|
09-05-2020, 11:01 AM
|
#5
|
Member
Registered: Sep 2020
Posts: 436
Original Poster
Rep: 
|
I asked about OWL because it is a customized Distro. any similar distro?
|
|
|
09-05-2020, 11:24 AM
|
#6
|
Senior Member
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,917
|
Do you have a reason to not use CentOS?
If so, I'm pretty sure distrowatch.com will have a way to list all server-focused distros.
|
|
|
09-05-2020, 11:38 AM
|
#7
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,192
|
it was already explained several times: security mainly depends on the maintainer and the configuration, not on the distro or software.
Do not expect any distro will work for you without human intervention.
|
|
1 members found this post helpful.
|
09-05-2020, 12:42 PM
|
#8
|
Member
Registered: Sep 2020
Posts: 436
Original Poster
Rep: 
|
Thank you.
I don't know it is right or wrong but some of customized Linux distro embedded security applications or using modified Kernel.
|
|
|
09-05-2020, 01:34 PM
|
#9
|
LQ Guru
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,740
|
If you're using WordPress or Drupal or any other CMS, your vulnerabilities are going to be there. That is where the complexity is and that is combined with the exposed surface. If you can, use a static site generator instead. But if you can't, then stay on top of the latest security patches for your chosen CMS.
|
|
2 members found this post helpful.
|
09-05-2020, 03:22 PM
|
#10
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
^ An important aspect: your server software can be ultra "secure", if you use a badly configured vulnerable CMS something can still pwn your webroot. Maybe not the rest of the system, but all clients can get phished regardless.
Quote:
Originally Posted by n00b_noob
I don't know it is right or wrong but some of customized Linux distro embedded security applications or using modified Kernel.
|
"More security apps" does not mean "more secure", whatever your definition of "secure" is (you still haven't told us).
|
|
1 members found this post helpful.
|
09-06-2020, 06:44 AM
|
#11
|
Member
Registered: Sep 2020
Posts: 436
Original Poster
Rep: 
|
Quote:
Originally Posted by ondoho
^ An important aspect: your server software can be ultra "secure", if you use a badly configured vulnerable CMS something can still pwn your webroot. Maybe not the rest of the system, but all clients can get phished regardless.
"More security apps" does not mean "more secure", whatever your definition of "secure" is (you still haven't told us).
|
Definition of Security? My server doesn't hack by a Script kiddie.
|
|
|
09-06-2020, 07:45 AM
|
#12
|
LQ Guru
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,162
|
All of the above posts were reasonable
If I may add, it depends upon what it is you are trying to secure!
Do you mean in terms of being difficult to break into, in terms of protesting your network, protecting your data, protecting your code...?
One option is a container based distribution. If your web server runs in a container, perhaps a full distro container, then it can be more isolated from both the host and the rest of your network.
Do not forget generational full and incremental backups that allow you a point-in-time recovery and restoration to secure your operation, if that matters.
|
|
|
09-06-2020, 03:27 PM
|
#13
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by n00b_noob
Definition of Security? My server doesn't hack by a Script kiddie.
|
No, that's not a definition of Security, that's just what you want to prevent.
It's like saying "My definiton of secure driving is that no accidents happen".
We are asking this for a reason, not to annoy you or to appear mystically superior.
Read some of the links offered to you in the various threads this came up, you'll soon understand.
|
|
2 members found this post helpful.
|
09-06-2020, 07:06 PM
|
#14
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
Quote:
Originally Posted by n00b_noob
Which Linux distro is more secure by default for a web server?
|
OpenBSD. Not exactly Linux, but not THAT different either.
Plus: - Watch security advisories
- Install patches
- Use a firewall and an IDS
- Disable all services and accounts you don't need
- Watch log files (see also number 3)
- Other security practices
|
|
3 members found this post helpful.
|
09-07-2020, 01:26 PM
|
#15
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by ondoho
Read some of the links offered to you in the various threads this came up, you'll soon understand.
|
To be fair, nobody has bothered to link anything like that in any of your threads afaics, although I'm sure LQ already has various very similar threads that do contain the information you seek.
Anyhow, 2 searches to get you started:
https://duckduckgo.com/?q=which+linu...r+a+web+server
https://duckduckgo.com/?q=how+to+sec...nux+web+server
|
|
|
All times are GMT -5. The time now is 06:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|