i'd like to do Slovak translation
bob147
Posts
-
Documentation Translation -
[req] latest guide installing nodebb on ubuntu 14.04 64bitok this worked:
$ curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
$ sudo apt-get install -y git nodejs build-essential nginx
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
$ echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
$ sudo apt-get update
$ sudo apt-get install mongodb-org
$ mongo
use nodebb
db.createUser( { user: "nodebb", pwd: "<Enter in a secure password>", roles: [ "readWrite" ] } )
exit
$ sudo nano /etc/mongodb.conf //uncomment auth = true
$ sudo service mongodb restart
$ sudo nano /etc/nginx/conf.d/yourdomain.com.conf// copy & paste & edit server_name:
server {
listen 80;server_name domain.com; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://io_nodes; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }
}
upstream io_nodes {
ip_hash;
server 127.0.0.1:4567;
server 127.0.0.1:4568;
}// write out
$ git clone -b v0.9.x https://github.com/NodeBB/NodeBB.git nodebb
$ cd nodebb
$ npm install --production
$ npm start// finish install from browser: http://server.ip:4567
$ nano config.json
// just insert port line
{
"url": "http://localhost:4567",
"port": ["4567", "4568"],
"secret": "34a78c7d-df06-4d82-9c0b-0a3b528822ec",
"database": "mongo",
"port": 4567,
"mongo": {
"host": "127.0.0.1",
"port": "27017",
"username": "nodebb",
"database": "nodebb"
}
}// write out
$ ./nodebb restart
// now it works without port, on 2 instances
-
[req] latest guide installing nodebb on ubuntu 14.04 64bitthis line: ''$ sudo apt-get install -y git nodejs mongodb build-essential'' installed mongodb 2.4.9
will install latest with this guide: http://knowledgepia.com/en/k-blog/database/how-to-install-mongodb-2-6-on-ubuntu-14-10-14-04-and-12-04-ltslet's see:-)
-
[req] latest guide installing nodebb on ubuntu 14.04 64bit -
[req] latest guide installing nodebb on ubuntu 14.04 64biti follow the official guide with fresh ubuntu 14.04 64bit
$ curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
$ sudo apt-get install -y git nodejs mongodb build-essential
$ git clone -b v0.9.x https://github.com/NodeBB/NodeBB.git nodebb
$ cd nodebb
$ npm install --productiongetting this warnings:
npm WARN peerDependencies The peer dependency nodebb-theme-vanilla@>=0.0.137 inc luded from nodebb-plugin-spam-be-gone will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerD ependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly. -
[req] latest guide installing nodebb on ubuntu 14.04 64bithello, i tried to install nodebb on ubuntu 14.04 64bit couple times without luck. Can anyone provide copy&paste guide ?
setup: vultr cloud 768MB RAM 1 core
nodeBB+MongoDB+Nginx with 2 nodeBB instancesalso interested in guide on automated backups
thanks