|
@@ -33,7 +33,7 @@ cat $keyfile.pub
|
|
|
read -p "Press enter to continue"
|
|
read -p "Press enter to continue"
|
|
|
|
|
|
|
|
if [[ "$OSTYPE" != darwin* ]]; then
|
|
if [[ "$OSTYPE" != darwin* ]]; then
|
|
|
- echo "/usr/bin/autossh -N -f -M 7$PORT -oPubkeyAuthentication=yes -oPasswordAuthentication=no -oLogLevel=error -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no -i /home/niofis/.ssh/id_rsa -R 6$PORT:localhost:22 rtunnel@server.fourier.audio -p 22" > ssh-tunnel.sh
|
|
|
|
|
|
|
+ echo "/usr/bin/autossh -N -f -M 7$PORT -oPubkeyAuthentication=yes -oPasswordAuthentication=no -oLogLevel=error -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no -i $keyfile -R 6$PORT:localhost:22 rtunnel@server.fourier.audio -p 22" > ssh-tunnel.sh
|
|
|
curl -L -o ssh-tunnel.service https://gist.githubusercontent.com/niofis/bc24f1b33414fd77d77f/raw/
|
|
curl -L -o ssh-tunnel.service https://gist.githubusercontent.com/niofis/bc24f1b33414fd77d77f/raw/
|
|
|
sudo mv ssh-tunnel.service /etc/systemd/system/ssh-tunnel.service
|
|
sudo mv ssh-tunnel.service /etc/systemd/system/ssh-tunnel.service
|
|
|
|
|
|
|
@@ -93,7 +93,6 @@ git clone $gitbase/fourier-alt.git fourier-alt
|
|
|
git clone $gitbase/fourier-monitor.git monitor
|
|
git clone $gitbase/fourier-monitor.git monitor
|
|
|
git clone $gitbase/fourier-uploader.git uploader
|
|
git clone $gitbase/fourier-uploader.git uploader
|
|
|
git clone $gitbase/fourier-ondemand.git ondemand
|
|
git clone $gitbase/fourier-ondemand.git ondemand
|
|
|
-git clone $gitbase/fourier-admanager.git admanager
|
|
|
|
|
|
|
|
|
|
#install fourier-server dependencies
|
|
#install fourier-server dependencies
|
|
|
cd $programspath/server
|
|
cd $programspath/server
|
|
@@ -107,9 +106,6 @@ npm install
|
|
|
#install fourier-ondemand dependencies
|
|
#install fourier-ondemand dependencies
|
|
|
cd $programspath/ondemand
|
|
cd $programspath/ondemand
|
|
|
npm install
|
|
npm install
|
|
|
-#install fourier-admanager dependencies
|
|
|
|
|
-cd $programspath/admanager
|
|
|
|
|
-npm install
|
|
|
|
|
|
|
|
|
|
sudo npm install -g pm2
|
|
sudo npm install -g pm2
|
|
|
|
|
|