Skip to content

Commit

Permalink
webssh install update
Browse files Browse the repository at this point in the history
  • Loading branch information
guohongze committed Sep 15, 2017
1 parent 68b83a8 commit 9e3bcd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/server/server_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ esac
# build webssh
echo "build webssh"
/usr/bin/yum install -y nodejs
cd $config_dir/vendor/WebSSH2
cd $cur_dir/vendor/webssh
/usr/bin/npm install -g cnpm --registry=https://registry.npm.taobao.org
/usr/bin/cnpm install --production
/usr/bin/cnpm install forever
Expand All @@ -84,7 +84,7 @@ fi
scp $adminset_dir/install/server/ansible/ansible.cfg /etc/ansible/ansible.cfg

# install webssh
scp /var/opt/adminset/install/server/webssh/webssh.service /usr/lib/systemd/system/webssh.service
scp /var/opt/adminset/main/install/server/webssh/webssh.service /usr/lib/systemd/system/webssh.service
systemctl enable webssh.service


Expand Down

0 comments on commit 9e3bcd6

Please sign in to comment.