Install NodeBB on VestaCP
-
@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.
-
@HolyPhoenix alright, I'll do it the normal way and see how it goes. Will do as you say @scottalanmiller
-
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 128npm 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: 192.30.252.129]: errno=Connection timed out
npm ERR!
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issuesnpm 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:
git config --global url."https://github.com/".insteadOf [email protected]:
git config --global url."https://".insteadOf git:// -
http://serverip:4567 doesn't seem to work, idk why but it doesn't works
-
@felirami I have it almost working properly on Digital Ocean, see if it works for you https://github.com/doppioslash/docker-builds
My problem is, it's not answering on port 80 from my custom domain, even though it's exposed.