Install NodeBB on VestaCP
Hey guys, I'm a little newbie.
I would like to know if its possible to install NodeBB with the VestaCP, since it uses NodeJS I think is a little bit troubling.
If its possible, How to do it? Thanks alot!
@felirami If the hosting provider allows you root access to install NodeBB's dependencies, you should be fine.
NodeBB does not install onto typical shared hosting providers.
@julian I run VestaCP on a VPS, but my question is, can I manage the web folders through VestaCP and how?
You won't be able to use vestacp to do most of the setup, but they will run alongside each other just fine. I did this a while back. You can create the website from within vestacp, and upload via ftp to that location using the ftp account. But you will have to run the installer from command line. I also believe I had to setup the proxy from command line but I cannot remember for sure.
@HolyPhoenix could you further help me?
Of course! You will have to let me know where you are getting stuck.
I don't have a copy of vestacp though, and I don't want to install it on my server since it modifies the software stack. So I may request addl info or screenshots.
@HolyPhoenix What exactly do I have to upload to the folder public_html? Is it the whole git rep or just the 'public' folder inside the git?
NodeBB is quite easy to deploy on its own. Using VestaCP is going to make this a lot harder. What is the goal here? What are you trying to accomplish with VestaCP?
@felirami You will need the whole package, not just the public folder.
It's going to be a lot harder to update if you upload all of the files manually since you won't have the git commands to upgrade it. I highly recommend using git to clone the files into your directory (from the stable branch as well) after you create it from command line. Also, you may not want to put it in public_html, since nodebb doesn't need to be in the public folder to work. The proxy will take care of loading the correct files on your domain. You may be exposing your website files to the public when it isn't necessary. I think when I did it I put my files one up from public_html, in a nodebb directory I created manually.
VestaCP simply does not offer a NodeJS integration. However as julian said, you could setup NodeJS seperately to your current setup.
If I remember right you can include custom configs in the domain panel. However, you will also need to setup Redis or MongoDB, which are also NOT supported by VestaCP.
If you want to have NGINX and NodeJS combined you should go for Ajenti V.
I get this, currently running on the same VPS VestaCP, anyone knows why is it?
npm ERR! Linux 3.13.0-55-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production"
npm ERR! node v4.2.2
npm ERR! npm v2.14.7
npm ERR! code 128
npm ERR! Command failed: git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/wzrdtales/simple-recaptcha.git /root/.npm/_git-remotes/git-github-com-wzrdtales-simple-recaptcha-git-d2b10e99
npm ERR! Cloning into bare repository '/root/.npm/_git-remotes/git-github-com-wzrdtales-simple-recaptcha-git-d2b10e99'...
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 188.8.131.52]: errno=Connection timed out
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /home/admin/nodebb/npm-debug.log
Fixed the issue with this two commands:
http://serverip:4567 doesn't seem to work, idk why but it doesn't works
Do any of you recommend using docker to run nodebb?
My problem is, it's not answering on port 80 from my custom domain, even though it's exposed.