Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: add minor quickstart fixups#4363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ammario merged 2 commits intomainfromfix-docs
Oct 4, 2022
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletionsdocs/images/icons/science.svg
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 2 additions & 8 deletionsdocs/manifest.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -207,17 +207,11 @@
"description": "Learn how to enable Enterprise features.",
"icon_path": "./images/icons/group.svg",
"path": "./admin/enterprise.md"
}
]
},
{
"title": "Admin",
"description": "How to administer and manage Coder",
"icon_path": "./images/icons/gear.svg",
"children": [
},
{
"title": "Telemetry",
"description": "Learn what usage telemetry Coder collects",
"icon_path": "./images/icons/science.svg",
"path": "./admin/telemetry.md"
}
]
Expand Down
26 changes: 15 additions & 11 deletionsdocs/quickstart/aws.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
# Amazon Web Services

## Requirements
This quickstart shows you how to set up the Coder server on AWS which will
provision AWS-hosted, Linux workspaces.

This quickstart assumes you are assigned `AdministratorAccess` policy to AWS.
## Requirements

This quickstart assumes you are assigned the `AdministratorAccess` policy on AWS.

## Setting Up Security Groups for EC2

Expand All@@ -26,7 +29,7 @@ On the EC2 dashboard, click `Instances`. This will take you to all the EC2 insta

<img src="../images/quickstart/aws/aws3.png">

For this tutorial, we are going to launch this as the base Ubuntu server.
For this tutorial, we are going to launch this as the base Ubuntu server.

For the `Create key pair`, we are using ED25519 and `.pem` as we will SSH into the instance later in the tutorial.
<img src="../images/quickstart/aws/aws4.png">
Expand DownExpand Up@@ -55,7 +58,7 @@ chmod 400 [mykey].pem

This adds the required permissions for SSH-ing into an EC2 instance.

Run the following command in terminal, where `mykey` is the security key file, `username` is the username found above for the relevant EC2 operating system image, and the `ip-address` is the IPv4 address for the server:
Run the following command in terminal, where `mykey` is the security key file, `username` is the username found above for the relevant EC2 operating system image, and the `ip-address` is the IPv4 address for the server:

```sh
ssh -i [mykey].pem username@ip-address
Expand All@@ -80,6 +83,7 @@ First, edit the `coder.env` file to enable `CODER_TUNNEL` by setting the value t
```sh
sudo vim /etc/coder.d/coder.env
```

<img src="../images/quickstart/aws/aws7.png">

Exit vim and run the following command to start Coder as a system level service:
Expand All@@ -100,23 +104,23 @@ This will return a series of Coder logs, however, embedded in the launch is the

In this instance, Coder can be accessed at the url `https://fccad1b6c901511b30cf2cf4fbd0973e.pit-1.try.coder.app`.

Copy the URL and run the following command to create the first user, either on your local machine or in the AWS EC2 instance terminal.
Copy the URL and run the following command to create the first user, either on your local machine or in the AWS EC2 instance terminal.

```sh
coder login <url***.try.coder.app>
```

Fill out the prompts. Be sure to save use email and password as these are your admin username and password.

You can now access Coder on your local machine with the relevant`***.try.coder.app` URL and logging in with the username and password.
You can now access Coder on your local machine with the relevant `***.try.coder.app` URL and logging in with the username and password.

## Creating and Uploading Your First Template

Run `coder template init` to create your first template. You’ll be given a list of possible templates. This tutorial will show you how to set up your Coder instance to create Linux based machines on AWS.
Run `coder template init` to create your first template. You’ll be given a list of possible templates. This tutorial will show you how to set up your Coder instance to create Linux based machines on AWS.

<img src="../images/quickstart/aws/aws9.png">

Press `enter` to select `Develop in Linux` on AWS template. This will return the following:
Press `enter` to select `Develop in Linux` on AWS template. This will return the following:

<img src="../images/quickstart/aws/aws10.png">

Expand All@@ -133,11 +137,11 @@ sudo mkdir /home/coder/.aws
Run the following commands to copy the AWS credentials and give the `coder` user access to them:

```sh
sudo cp ~/.aws/credentials /home/coder/.aws/credentials
sudo cp ~/.aws/credentials /home/coder/.aws/credentials
sudo chown coder:coder /home/coder/.aws/credentials
```

Navigate to the `./aws-linux` folder where you created your template and run the following command to put the template on your Coder instance.
Navigate to the `./aws-linux` folder where you created your template and run the following command to put the template on your Coder instance.

```sh
coder templates create
Expand All@@ -147,6 +151,6 @@ Congrats! You can now navigate to your Coder dashboard and use this Linux on AWS

## Next Steps

- [Port-forward](../networking/port-forwarding.md.md)
- [Port-forward](../networking/port-forwarding.md)
- [Learn more about template configuration](../templates.md)
- [Configure more IDEs](../ides/web-ides.md)
28 changes: 15 additions & 13 deletionsdocs/quickstart/azure.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
# Microsoft Azure

This quickstart will show you how to set up the Coder server on Azure and then set up an Azure hosted Linux based workspace, which allows users to create there own instances of these workspaces and use the Coder product.
This quickstart shows you how to set up the Coder server on Azure which will
provision Azure-hosted Linux workspaces.

## Requirements
## Requirements

This quickstart assumes you haveaccess to admin level access toAzure.
This quickstart assumes you havefull administrator privileges onAzure.

## Create An Azure VM

Expand All@@ -24,11 +25,11 @@ Up next, under `Inbound port rules` modify the Select `inbound ports` to also ta

<img src="../images/quickstart/azure/azure4.png">

The set up for the image is complete at this stage. Click `Review and Create` - review the information and click `Create`. A popup will appear asking you to download the key pair for the server. Click `Download private key and create resource` and place it into a folder of your choice on your local system.
The set up for the image is complete at this stage. Click `Review and Create` - review the information and click `Create`. A popup will appear asking you to download the key pair for the server. Click `Download private key and create resource` and place it into a folder of your choice on your local system.

<img src="../images/quickstart/azure/azure5.png">

Click `Return to create a virtual machine`. Your VM will start up!
Click `Return to create a virtual machine`. Your VM will start up!

<img src="../images/quickstart/azure/azure6.png">

Expand All@@ -53,6 +54,7 @@ First, edit the `coder.env` file to enable `CODER_TUNNEL` by setting the value t
```sh
sudo vim /etc/coder.d/coder.env
```

<img src="../images/quickstart/azure/azure7.png">

Exit vim and run the following command to start Coder as a system level service:
Expand All@@ -69,38 +71,38 @@ The following command will get you information about the Coder launch service

This will return a series of logs related to running Coder as a system service. Embedded in the logs is the Coder Access URL.

Copy the URL and run the following command to create the first user, either on your local machine or in the instance terminal.
Copy the URL and run the following command to create the first user, either on your local machine or in the instance terminal.

```sh
coder login <url***.try.coder.app>
```

Fill out the prompts. Be sure to save use email and password as these are your admin username and password.

You can now access Coder on your local machine with the relevant`***.try.coder.app` URL and logging in with the username and password.
You can now access Coder on your local machine with the relevant `***.try.coder.app` URL and logging in with the username and password.

## Creating and Uploading Your First Template

First, run `coder template init` to create your first template. You’ll be given a list of possible templates to use. This tutorial will show you how to set up your Coder instance to create a Linux based machine on Azure.
First, run `coder template init` to create your first template. You’ll be given a list of possible templates to use. This tutorial will show you how to set up your Coder instance to create a Linux based machine on Azure.

<img src="../images/quickstart/azure/azure9.png">

Press `enter` to select `Develop in Linux on Azure` template. This will return the following:
Press `enter` to select `Develop in Linux on Azure` template. This will return the following:

<img src="../images/quickstart/azure/azure10.png">

To get started using the Azure template, install the Azure CLI by following the instructions [here](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt). Run `az login` and follow the instructions to configure the Azure command line.
To get started using the Azure template, install the Azure CLI by following the instructions [here](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt). Run `az login` and follow the instructions to configure the Azure command line.

Coder is running as a system service, which creates the system user `coder` for handling processes. The Coder user will require access to the Azure credentials to initialize the template.

Run the following commands to copy the Azure credentials and give the `coder` user access to them:

```sh
sudo cp -r ~/.azure /home/coder/.azure
sudo cp -r ~/.azure /home/coder/.azure
sudo chown -R coder:coder /home/coder/.azure/
```

Navigate to the `./azure-linux` folder where you created your template and run the following command to put the template on your Coder instance.
Navigate to the `./azure-linux` folder where you created your template and run the following command to put the template on your Coder instance.

```sh
coder templates create
Expand All@@ -110,6 +112,6 @@ Congrats! You can now navigate to your Coder dashboard and use this Linux on Azu

## Next Steps

- [Port-forward](../networking/port-forwarding.md.md)
- [Port-forward](../networking/port-forwarding.md)
- [Learn more about template configuration](../templates.md)
- [Configure more IDEs](../ides/web-ides.md)
2 changes: 1 addition & 1 deletiondocs/quickstart/docker.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -61,6 +61,6 @@ Coder with Docker has the following advantages:

## Next Steps

- [Port-forward](../networking/port-forwarding.md.md)
- [Port-forward](../networking/port-forwarding.md)
- [Learn more about template configuration](../templates.md)
- [Configure more IDEs](../ides/web-ides.md)

[8]ページ先頭

©2009-2025 Movatter.jp