mirror of https://git.tuxpa.in/a/code-server.git
parent
2ba8fee605
commit
96eeb9fea0
10
README.md
10
README.md
|
@ -18,17 +18,17 @@ For a full setup and walkthrough, please see [./doc/guide.md](./doc/guide.md).
|
||||||
### Debian, Ubuntu
|
### Debian, Ubuntu
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -sSOL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server_3.3.1_amd64.deb
|
curl -OL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server_3.3.1_amd64.deb
|
||||||
sudo dpkg -i code-server_3.3.1_amd64.deb
|
sudo dpkg -i code-server_3.3.1_amd64.deb
|
||||||
systemctl --user enable --now code-server
|
systemctl --user enable --now code-server
|
||||||
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
### Fedora, Red Hat, SUSE
|
### Fedora, CentOS, Red Hat, SUSE
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -sSOL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server-3.3.1-amd64.rpm
|
curl -OL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server-3.3.1-amd64.rpm
|
||||||
sudo yum install -y code-server-3.3.1-amd64.rpm
|
sudo rpm -i code-server-3.3.1-amd64.rpm
|
||||||
systemctl --user enable --now code-server
|
systemctl --user enable --now code-server
|
||||||
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
||||||
```
|
```
|
||||||
|
@ -103,7 +103,7 @@ Add the code-server `bin` directory to your `$PATH` to easily execute `code-serv
|
||||||
Here is an example script for installing and using a static `code-server` release on Linux:
|
Here is an example script for installing and using a static `code-server` release on Linux:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -sSL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server-3.3.1-linux-amd64.tar.gz \
|
curl -L https://github.com/cdr/code-server/releases/download/v3.3.1/code-server-3.3.1-linux-amd64.tar.gz \
|
||||||
| sudo tar -C /usr/local -xz
|
| sudo tar -C /usr/local -xz
|
||||||
sudo mv /usr/local/code-server-3.3.1-linux-amd64 /usr/local/code-server-3.3.1
|
sudo mv /usr/local/code-server-3.3.1-linux-amd64 /usr/local/code-server-3.3.1
|
||||||
PATH="/usr/local/code-server-3.3.1/bin:$PATH"
|
PATH="/usr/local/code-server-3.3.1/bin:$PATH"
|
||||||
|
|
|
@ -82,7 +82,7 @@ SSH into your instance and run the appropriate commands documented in [README.md
|
||||||
Assuming Debian:
|
Assuming Debian:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -sSOL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server_3.3.1_amd64.deb
|
curl -OL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server_3.3.1_amd64.deb
|
||||||
sudo dpkg -i code-server_3.3.1_amd64.deb
|
sudo dpkg -i code-server_3.3.1_amd64.deb
|
||||||
systemctl --user enable --now code-server
|
systemctl --user enable --now code-server
|
||||||
# Now code-server is running at http://127.0.0.1:8080
|
# Now code-server is running at http://127.0.0.1:8080
|
||||||
|
|
|
@ -16,7 +16,7 @@ sudo apt-get install -y \
|
||||||
libsecret-1-dev
|
libsecret-1-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
## Fedora, Red Hat, SUSE
|
## Fedora, CentOS, Red Hat
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo yum groupinstall -y 'Development Tools'
|
sudo yum groupinstall -y 'Development Tools'
|
||||||
|
|
Loading…
Reference in New Issue