You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed documentation download links based on latest version (#130)
* Fixed documentation based on latest release
* Fixed google-cloud documentation steps order
* Edited docs based on the latest release versions
* Make docs more dynamic based on Releases
* Changed ordered list to unordered list
- You should see a prompt for your EC2 instance like so<imgsrc="../../assets/aws_ubuntu.png">
35
-
- At this point it is time to download the `code-server` binary. We will of course want the linux version. Make sure you copy the link for the latest linux version on our [releases page](https://github.com/codercom/code-server/releases)
36
-
-With the URL in the clipboard, run:
35
+
- At this point it is time to download the `code-server` binary. We will of course want the linux version.
- Replace {version} in the following command with the version found on the releases page and run it (or just copy the download URL from the releases page):
- Once in the SSH session, visit code-server [releases page](https://github.com/codercom/code-server/releases/) and copy the link to the download for the latest linux release
19
-
-In the shell run the below command with the URL from your clipboard
- Replace {version} in the following command with the version found on the releases page and run it (or just copy the download URL from the releases page):
- Replace {version} in the following command with the version found on the releases page and run it (or just copy the download URL from the releases page):
- Extract the downloaded tar.gz file with this command, for example:
30
39
```
31
-
3. Make the binary executable if you run into any errors regarding permission:
32
-
```
33
-
chmod +x code-server-linux
34
-
```
35
-
> To ensure the connection between you and your server is encrypted view our guide on [securing your setup](../../security/ssl.md)
36
-
4. Start the code-server
40
+
tar -xvzf code-server-{version}-linux-x64.tar.gz
41
+
```
42
+
43
+
- Navigate to extracted directory with this command:
44
+
```
45
+
cd code-server-{version}-linux-x64
46
+
```
47
+
48
+
- Make the binary executable if you run into any errors regarding permission:
49
+
```
50
+
chmod +x code-server
51
+
```
52
+
53
+
> To ensure the connection between you and your server is encrypted view our guide on [securing your setup](../security/ssl.md)
54
+
55
+
- Start the code-server
37
56
```
38
57
sudo ./code-server-linux -p 80
39
58
```
59
+
40
60
> For instructions on how to keep the server running after you end your SSH session please checkout [how to use systemd](https://www.linode.com/docs/quick-answers/linux/start-service-at-boot/) to start linux based services if they are killed
41
-
5. Access code-server from the public IP of your Google Cloud instance we noted earlier in your browser.
61
+
62
+
- Access code-server from the public IP of your Google Cloud instance we noted earlier in your browser.
42
63
> example: 32.32.32.234
43
-
6. You will be greeted with this page. Code-server is using a self-signed SSL certificate for easy setup. To proceed to the IDE, click **"Advanced"**<img src ="../../assets/chrome_warning.png">
44
-
7. Then click **"proceed anyway"**<img src="../../assets/chrome_confirm.png">
64
+
65
+
- You will be greeted with this page. Code-server is using a self-signed SSL certificate for easy setup. To proceed to the IDE, click **"Advanced"**<imgsrc ="../../assets/chrome_warning.png">
66
+
67
+
- Then click **"proceed anyway"**<imgsrc="../../assets/chrome_confirm.png">
68
+
45
69
---
70
+
46
71
> NOTE: If you get stuck or need help, [file an issue](https://github.com/codercom/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:[email protected]?subject=Self-hosted%20quickstart%20guide).
0 commit comments