mirror of
https://github.com/sebseb7/pilivestreamingtools.git
synced 2025-12-13 13:52:27 +00:00
Update and rename build-nodejs.sh to install-nodejs.sh
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
wget https://nodejs.org/dist/v12.18.4/node-v12.18.4.tar.gz
|
||||
tar -xzf node-v12.18.4.tar.gz
|
||||
rm node-v12.18.4.tar.gz
|
||||
cd node-v12.18.4
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
cd ..
|
||||
sudo npm i -g pm2
|
||||
sudo pm2 startup
|
||||
|
||||
4
install-nodejs.sh
Executable file
4
install-nodejs.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
|
||||
sudo apt-get install -y nodejs
|
||||
sudo npm i -g pm2
|
||||
sudo pm2 startup
|
||||
Reference in New Issue
Block a user