Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which Linux distribution is more suitable for the Node.js web server [closed]

I create a web server with Node.js. I'm using the Express framework. The database is MongoDB.

I want to host web server on a Linux machine. I don't know how to make the decision between the different Linux distributions, such as Debian, Unbuntu or RedHat.

My questions are:

  1. What is the main difference of the different distributions?
  2. Which factors should I take into account?
  3. Which one is better for my requirement?
like image 229
Jeffrey Avatar asked Nov 02 '12 04:11

Jeffrey


People also ask

Which Linux is best for web server?

If you're looking for the best web server software, you might consider using the most popular option: NGINX. It's recently overtaken Apache and is currently used by more than 33 percent of known websites. In addition, NGINX is compatible with both Linux and Windows.

Which web server is used for Node JS?

You can use IIS or Apache to run Node. js web application but it is recommended to use Node. js web server.

Is CentOS good for Web server?

It's highly customizable, secure, and stable, which is also something to appreciate it for. The close link to RHEL allowed CentOS to have quite a few corporate-level security updates thus making it a safe choice for every user. Important! CentOS Linux 8 has reached it's End of Lifetime (EOL) on 2021-12-31.


1 Answers

What is the main difference of the different distributions?

  • Nothing. (As long as running node.js is the only concern)

Which factors should I take into account?

  • Whether any unresolved issues are yet to be addressed by node.js.

Which one is better for my requirement?

  • I would consider Ubuntu, as it's popular & bugs are addressed faster due to shorter release cycle.
like image 65
loxxy Avatar answered Nov 15 '22 03:11

loxxy