mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-07-19 18:02:03 +03:00
Updated Deployment (markdown)
parent
8b6ee3b205
commit
d9a4d381dd
@ -76,7 +76,8 @@ It's best to make a separate user just for your ssh-chat service and store all f
|
|||||||
The following installation steps can be used to automate the installation on Ubuntu Linux 16 (LTS), some slight modifications may be required for other distributions.
|
The following installation steps can be used to automate the installation on Ubuntu Linux 16 (LTS), some slight modifications may be required for other distributions.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ wget https://github.com/shazow/ssh-chat/releases/download/v1.7/ssh-chat-linux_amd64.tgz
|
$ export LATEST_SSHCHAT=$(curl -s https://api.github.com/repos/shazow/ssh-chat/releases | grep -om1 "https://.*/ssh-chat-linux_amd64.tgz")
|
||||||
|
$ wget "${LATEST_SSHCHAT}"
|
||||||
$ sudo tar -xf ssh-chat-linux_amd64.tgz -C /opt # extracts ssh-chat to /opt
|
$ sudo tar -xf ssh-chat-linux_amd64.tgz -C /opt # extracts ssh-chat to /opt
|
||||||
$ sudo ln -sf /opt/ssh-chat/ssh-chat /usr/local/bin/ssh-chat # creates a symlink in /usr/local/bin for convenience
|
$ sudo ln -sf /opt/ssh-chat/ssh-chat /usr/local/bin/ssh-chat # creates a symlink in /usr/local/bin for convenience
|
||||||
$ sudo ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa # generates a key/fingerprint for your server
|
$ sudo ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa # generates a key/fingerprint for your server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user