Installed so many times but nodebb correctly was not running please help
-
In a new vps with ubuntu 12.04 the following are the codes i used to run installation
sudo apt-get update
sudo apt-get install nano
sudo apt-get install git-core
apt-get install python-software-properties
apt-add-repository ppa:chris-lea/node.js
apt-get update
apt-get install nodejs
sudo add-apt-repository -y ppa:rwky/redis
sudo apt-get update && sudo apt-get install -y redis-server
sudo apt-get install build-essential imagemagick
mkdir mynodebb
git clone git://github.com/designcreateplay/NodeBB.git mynodebb
cd mynodebb
npm install
node app --setup
for the installation url i used
http://191.101.6.63:4567I didnt found any error in installation
but when i am going to my nodebb page .I am getting"No webpage available" -
@SANTOSH-KUMAR What was wrong with the topic you made previously?
-
I am not getting any reply so i made new one.Pal please help just see the above code.Do i making any mistake
-
@SANTOSH-KUMAR Creating a new topic won't magically get more people replying to it. It still appears under Unread like all the others.
Yes. I'm seeing a few mistakes. nano is a ubuntu command, not an installable package. You're missing nodejs-legacy and npm. It's
./nodebb setup
although node app -setup should also work. You are in the wrong folder when running the setup. Note you ran mkdir mynodebb followed by git clone mynodebb, this created another mynodebb folder inside mynodebb.I recommend you follow the official documentation found here and doing each step carefully and making sure you have no errors at each step. The errors tell you the issue. It may seem daunting, but you get used to it.
-
I am doing a fresh install of vps do i need any additional thing to install.Do i need to install node.js or this code have already node js installation
$ sudo apt-get install git nodejs nodejs-legacy npm redis-server imagemagick -
This is the error i got
Reading package lists... Done
Building dependency tree... Done
Package imagemagick is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another sourceE: Unable to locate package git
E: Unable to locate package nodejs
E: Unable to locate package nodejs-legacy
E: Unable to locate package npm
E: Unable to locate package redis-server
E: Package 'imagemagick' has no installation candidate
root@server:~# -
@SANTOSH-KUMAR Just do what's in the docs, there's no additional steps. For the imagemagick error, run
sudo apt-get update
then carry on as normal. -
another error
root@server:~# sudo apt-get install git nodejs nodejs-legacy npm redis-server im
agemagick
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package nodejs-legacy -
@SANTOSH-KUMAR Having re-read your first post. Ubuntu 12.04 does't have a nodejs-legacy package. And the nodejs package available is too old. Before you go too far into this install, I'd suggest running Ubuntu 14.04 instead, it's more up to date. If you're on Digital Ocean, select 14.04 Ubuntu instead of 12.04.
Then do the install, you shouldn't have a problem then.
-
@SANTOSH-KUMAR I run 14.04 on one live site and two development servers, it works fine.
I recommend you run 14.04.
-
@SANTOSH-KUMAR That would be one of life's mysteries.
Trust me, it would be beneficial for you to run Ubuntu 14.04, then follow the guides.
-
i tried
@a_5mith
sudo apt-get install git nodejs nodejs-legacy npm redis-server imagemagick
then result is
-bash: sudo: command not found
so tried
sudo apt-get update
again result is
-bash: sudo: command not found -
how to install it