D
D
Dmitriy_Rudenko2017-11-20 23:31:57
linux
Dmitriy_Rudenko, 2017-11-20 23:31:57

Are there equivalents for Ubuntu like Xampp, only package containing node.js server?

Is there any equivalent to Xampp, only to work with node.js on Ubuntu?
So that you can immediately install node.js, npm, mongoDB and some kind of admin panel to manage MongoDB with one package. Immediately configured so that all parts interact with each other. To immediately start development.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Zhivagin, 2017-11-21
@Krasnodar_etc

sudo apt-get update
sudo apt-get install nginx
sudo ufw app list
sudo ufw allow 'Nginx HTTP'

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
sudo apt-get update
sudo apt-get install -y mongodb-org

1 -- Nginx , installation + firewall.
2 -- Node.js + npm
3 -- Mongodb
What do you mean by admin? GUI? It's already downloaded separately, I prefer Robomongo.
You will spend a little time setting up nginx, but you will never return to this again and learn how to solve a bunch of issues through nginx. Node, npm and mongo do not need to be configured.
Mongo is installed a little differently for different Ubuntu (the second line is different). I wrote for 16.04, for any other you can find it on off. mongo site

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question