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
Copy file name to clipboardExpand all lines: tutorials/configure-nextcloud-ubuntu/index.mdx
+17-21Lines changed: 17 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ categories:
9
9
- instances
10
10
tags: Nextcloud Ubuntu-Bionic-Beaver
11
11
dates:
12
-
validation: 2024-10-29
12
+
validation: 2025-05-14
13
13
posted: 2018-10-26
14
14
---
15
15
@@ -39,30 +39,25 @@ It provides a large portfolio of [different applications](https://nextcloud.com/
39
39
```
40
40
snap install nextcloud
41
41
```
42
-
4.Finish the installation by running the following command. Note that a username and password must be provided when you run the script.
42
+
4.Run the following command to finish the installation. Make sure that you replace `your-username` and `your-password` with credentials of your choice, and that you note them as you will need them to login to your Nextcloud Instance.
Replace `user` with the identifier of your user and `password` with the password of your user in the command above.
49
-
</Message>
47
+
The following output should display:
50
48
51
-
You will see the following message:
52
-
53
-
`Nextcloud is not installed - only a limited number of commands are available`
54
-
55
-
Some minutes later the following message appears: `Nextcloud was successfully installed`. Your Nextcloud installation has been successful.
49
+
`Nextcloud was successfully installed`
56
50
57
51
## Configuring trusted domains
58
52
59
-
By the default, the access to your Nextcloud Instance is limited to `localhost`. To access it via your domain name, you have to add it to the list of trusted domains.
53
+
By default, access to your Nextcloud Instance is limited to `localhost`. To access it via your domain name, you have to add it to the list of trusted domains.
60
54
61
-
1.Run the following command to allow the connection via the domain `your.domain.com` to your Nextcloud.
55
+
Run the following command to allow the connection via the domain `your.domain.com` to your Nextcloud.
2. The following message appears when the domain is successfully added: `System config value trusted_domains => 1 set to string your.domain.com`
59
+
60
+
The following message should appear, confirming that the domain was added: `System config value trusted_domains => 1 set to string your.domain.com`
66
61
67
62
## Securing the web interface with a Let's Encrypt TLS/SSL certificate
68
63
@@ -102,25 +97,26 @@ By default, the Nextcloud installation via Snap provides a plain HTTP connection
102
97
103
98
Have you met these requirements? (y/n)
104
99
```
105
-
3. Enter your email address when asked to do so and confirm by pressing **Enter**:
100
+
3. Enter your email address when prompted and confirm by pressing **Enter**:
106
101
```
107
102
Please enter an email address (for urgent notices or key recovery): [email protected]
108
103
```
109
104
4. Enter the domain name that you have configured in a previous step for your Instance (`your.domain.com` in our case), then confirm by pressing **Enter**:
110
105
```
111
106
Please enter your domain name(s) (space-separated): your.domain.com
112
107
```
113
-
5. Your certificate is being requested and Apache will be restarted. The following messages will appear, once the certificate has been obtained:
108
+
The following output should display once the certificate has been obtained:
114
109
```
115
110
Attempting to obtain certificates... done
116
111
Restarting apache... done
117
112
```
118
113
119
114
## Accessing Nextcloud
120
115
121
-
You will now be able to access your Nextcloud Instance for the first time.
116
+
You can now access your Nextcloud Instance.
122
117
123
-
1. Open your browser and type the address of your Instance (For example: `https://your.domain.com`). You will see a login screen where you have to enter the user and password that you have created previously.
124
-
2. Once connected you will see your personal cloud storage space. You can upload, share, or download files from the interface:
3. Optionally, you can download one of the several [Nextcloud clients](https://nextcloud.com/install/#install-clients) to manage your cloud storage space directly from your computer.
118
+
1. Open your browser and type the address of your Instance (For example: `https://your.domain.com`). A login screen displays.
119
+
2. Enter the username and password that you have created in the previous steps. Your personal cloud storage space displays.
120
+
3. Upload, share, or download files from the interface:
4. Optionally, download one of the several [Nextcloud clients](https://nextcloud.com/install/#install-clients) to manage your cloud storage space directly from your computer.
Copy file name to clipboardExpand all lines: tutorials/deploy-penpot-with-docker-instantapp/index.mdx
+32-30Lines changed: 32 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,59 +22,58 @@ In this tutorial, you learn how to deploy your own Penpot Instance using the Doc
22
22
23
23
- A Scaleway account logged into the [console](https://console.scaleway.com)
24
24
-[Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
25
-
26
-
## Installing Penpot using Docker Compose
25
+
-[Created a Scaleway Instance](/instances/how-to/create-an-instance/) with a [Docker InstantApp](https://console.scaleway.com/instance/servers/create?area=fr-par-1&imageKey=c1b530d8-0ca0-45c4-80db-ba06608287b2&offerName=PLAY2-MICRO)
26
+
- A domain
27
27
28
-
1. Click **Instances** in the **Compute** section of the [Scaleway console](https://console.scaleway.com/organization) side menu. Then [deploy](/instances/how-to/create-an-instance/) a new Instance using the [Docker InstantApp](https://console.scaleway.com/instance/servers/create?area=fr-par-1&imageKey=c1b530d8-0ca0-45c4-80db-ba06608287b2&offerName=PLAY2-MICRO).
28
+
## Installing Penpot using Docker Compose
29
29
30
-
2. Connect to the Instance using [SSH](/instances/how-to/connect-to-instance/):
30
+
1. Connect to your Instance using [SSH](/instances/how-to/connect-to-instance/):
31
31
```
32
32
ssh root@<docker_instance_ip>
33
33
```
34
34
35
-
3. Download the Docker configuration from the Penpot repository:
35
+
2. Download the Docker configuration from the Penpot repository:
4. Open the file containing the environment variables (`config.env`) in a text editor:
41
+
3. Open `docker-compose.yaml` in a text editor:
43
42
```
44
-
nano config.env
43
+
nano docker-compose.yaml
45
44
```
46
45
47
-
5. Set the `PENPOT_PUBLIC_URI` to your Penpot domain. Then save the file and exit the editor.
46
+
4. Set the `PENPOT_PUBLIC_URI` to your Penpot domain. Then save the file and exit the editor.
48
47
```
49
-
PENPOT_PUBLIC_URI=https://penpot.mydomain.eu
48
+
PENPOT_PUBLIC_URI=https://penpot.your-domain.com
50
49
```
51
-
6. Update the APT package cache on your system to make sure you have the latest releases available.
50
+
5. Update the APT package cache on your system to make sure you have the latest releases available.
52
51
```
53
52
apt update
54
53
```
55
54
56
-
7. Install the Nginx web server and `certbot` using APT. These serve as a frontend for the Penpot application and provide a secured TLS connection by using Let's Encrypt certificates.
55
+
6. Install the Nginx web server and `certbot` using APT. These serve as a frontend for the Penpot application and provide a secured TLS connection by using Let's Encrypt certificates.
57
56
```
58
57
apt install nginx python3-certbot-nginx
59
58
```
60
59
61
-
8. Disable the default virtual host, that is pre-configured when Nginx is installed via Ubuntu’s package manager.
60
+
7. Disable the default virtual host, that is pre-configured when Nginx is installed via Ubuntu’s package manager.
62
61
```
63
62
unlink /etc/nginx/sites-enabled/default
64
63
```
65
64
66
-
9. Create a Nginx configuration file for the reverse proxy:
65
+
8. Create an Nginx configuration file for the reverse proxy:
67
66
```
68
67
nano /etc/nginx/sites-available/penpot.conf
69
68
```
70
69
71
-
Copy the following content into the file, save it, and exit the editor.
70
+
9. Paste the following content into the file. Make sure that you replace `your-domain.com` with your domain. Save the file and exit.
72
71
```
73
72
server {
74
73
listen 80;
75
74
listen [::]:80;
76
75
77
-
server_name penpot.mydomain.eu;
76
+
server_name penpot.your-domain.com;
78
77
79
78
access_log /var/log/nginx/reverse-access.log;
80
79
error_log /var/log/nginx/reverse-error.log;
@@ -104,11 +103,16 @@ In this tutorial, you learn how to deploy your own Penpot Instance using the Doc
104
103
105
104
## Securing the connection using TLS
106
105
107
-
1. Run `certbot`, a tool that automatizes most of the configuration work related to requesting, installing, and managing the TLS certificate:
106
+
1. Log into your domain registrar, access your DNS zone, and add an A record with the following information.
107
+
- Name: `penpot`
108
+
- IP address or Hostname or Value: `your-instance-public-IPv4-address`
109
+
- TTL: default
110
+
111
+
2. Run `certbot`, a tool that automatizes most of the configuration work related to requesting, installing, and managing the TLS certificate:
108
112
```
109
113
certbot --nginx
110
114
```
111
-
2. Answer the prompts that display on the screen to request a valid Let’s Encrypt TLS certificate:
115
+
3. Answer the prompts that display on the screen to request a valid Let’s Encrypt TLS certificate:
112
116
```
113
117
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Your Penpot Instance is now ready. For a more advanced configuration of additional features, refer to the [official documentation](https://help.penpot.app/technical-guide/configuration/).
164
+
For a more advanced configuration of additional features, refer to the [official documentation](https://help.penpot.app/technical-guide/configuration/).
@@ -36,7 +40,7 @@ The first step is to install Terraform/OpenTofu on a server or on your computer
36
40
Terraform/OpenTofu can be easily installed on computers running macOS X using the [Homebrew](https://brew.sh/) package manager. Run the following command in a terminal window to install the application:
37
41
38
42
```
39
-
brew install terraform
43
+
brew tap hashicorp/tap && brew install hashicorp/tap/terraform
0 commit comments