How to install NodeJS & MongoDB on directadmin

huythanhvn

New member
Joined
Nov 13, 2019
Messages
1
How to install NodeJS & MongoDB on directadmin !
The ability to host Node.JS apps on DA, Git Version Control.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,093
Location
LT, EU
At this moment Node.JS selector is only available on servers running CloudLinux. If you have it installed, please check:
Node.js Selector

They also provide Python selector, if it's needed.
 

xerox

Verified User
Joined
Jul 16, 2019
Messages
93
+1, i would like to see this feature implemented. Nowadays it's a must-have for web apps. CloudLinux is a third-party, i think it's a great idea not to rely on different third parties (the excessive cost to yourself per server/unit + reliability, etc).
 
Last edited:

roman_m

Verified User
Joined
May 5, 2005
Messages
147
Location
Ukraine, Kiev
I vote for Apache Passenger support for DirectAdmin.

I have requests to host node.js / rails / python wsgi apps from my users, so I did manual configuration via |CUSTOM2| template token.

Currently use LiteSpeed Enterprise on FreeBSD, but same config is suitable for apache w/mod_passenger (and linux) too:

PassengerUser username
PassengerGroup groupname

<Location /node>
PassengerAppRoot "/home/username/domains/userdomain.com/public_html/node"
PassengerBaseURI "/node"
PassengerNodejs "/usr/local/bin/node"
PassengerAppType node
PassengerStartupFile app.js
</Location>

Full mod_passenger documentation:

 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,093
Location
LT, EU
I vote for Apache Passenger support for DirectAdmin.

I have requests to host node.js / rails / python wsgi apps from my users, so I did manual configuration via |CUSTOM2| template token.

Currently use LiteSpeed Enterprise on FreeBSD, but same config is suitable for apache w/mod_passenger (and linux) too:

PassengerUser username
PassengerGroup groupname

<Location /node>
PassengerAppRoot "/home/username/domains/userdomain.com/public_html/node"
PassengerBaseURI "/node"
PassengerNodejs "/usr/local/bin/node"
PassengerAppType node
PassengerStartupFile app.js
</Location>

Full mod_passenger documentation:

Nginx Unit support is coming :) first bits already in pre-release, but it is not ready for production yet.
 

roman_m

Verified User
Joined
May 5, 2005
Messages
147
Location
Ukraine, Kiev
We do not use nginx, it loses in performance and user friendliness to the Litespeed Enterprise server. Can you just make such an opportunity for those who use native Apache? And for us, at the same time :)

I am familiar with nginx very closely, from the very beginning of this project, I built many systems on it. I have nothing against nginx, but modern hosting requires modern, flexible solutions. I would not upgrade to Litespeed Enterprise if nginx was cool enough for me.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,093
Location
LT, EU
We do not use nginx, it loses in performance and user friendliness to the Litespeed Enterprise server. Can you just make such an opportunity for those who use native Apache? And for us, at the same time :)

I am familiar with nginx very closely, from the very beginning of this project, I built many systems on it. I have nothing against nginx, but modern hosting requires modern, flexible solutions. I would not upgrade to Litespeed Enterprise if nginx was cool enough for me.
Nginx Unit != Nginx :) It would work on all the server types supported, because requests are proxied.
 

roman_m

Verified User
Joined
May 5, 2005
Messages
147
Location
Ukraine, Kiev
Nginx Unit != Nginx :) It would work on all the server types supported, because requests are proxied.
Uh! Thanks, dont' heard of it. Definetelly, need to test it and add one more service to my servers as another one point of failure :)
 
Top