1
votes

I installed loopback on my local machine, now uploaded to centos 7 server.

i tried to install PM by using "sudo sl-pm-install --systemd command", but it return me "sudo: sl-pm-install: command not found".

Can someone advise me how to install loopback on centos 7, and what i need to do to host it on production server.

And how to link my domain to run this loopback, which mean i access www.myweb.com, will return explorer page or loopback front page.

1
On CentOS /use/local/bin is not part of the default $PATH when running sudo. Similarly, you cannot use nvm with sudo without expanding the $PATH and even then it is not recommended for use with sl-pm-install. - Ryan Graham

1 Answers

0
votes

You'll need to install the process manager on the CentOS system first: sudo npm install -g strong-pm

And of course, you need to have Node.js installed on the machine first.