Skip to content

Commit fd7800a

Browse files
bene2k1RoRoJ
andauthored
chore(tutorial): content review (#3839)
* chore(tutorial): content review * docs(tuto): content review * docs(tuto): fix content * docs(tuto): fix typo * docs(tuto): fix typo * Apply suggestions from code review Co-authored-by: Rowena Jones <[email protected]> --------- Co-authored-by: Rowena Jones <[email protected]>
1 parent a471967 commit fd7800a

File tree

13 files changed

+613
-1325
lines changed

13 files changed

+613
-1325
lines changed

network/domains-and-dns/how-to/manage-dns-records.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
meta:
33
title: How to manage DNS records
44
description: Learn how to manage DNS records effectively with Scaleway Domains and DNS. Discover how to add, edit, and delete DNS records, along with advanced configurations like dynamic records for traffic management and Geo IP for optimizing user experience based on location.
5+
content:
56
h1: How to manage DNS records
67
paragraph: Learn how to manage DNS records effectively with Scaleway Domains and DNS. Discover how to add, edit, and delete DNS records, along with advanced configurations like dynamic records for traffic management and Geo IP for optimizing user experience based on location.
78
tags: txt-record mx-record dns-record dns domain records

tutorials/backup-dedicated-server-s3-duplicity/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
meta:
3-
title: Backing up your dedicated server on Object Storage with Duplicity
3+
title: Backing up your dedicated server on Scaleway Object Storage with Duplicity
44
description: Automatize your backups with Duplicity and Scaleway Object Storage
55
content:
6-
h1: Backing up your dedicated server on Object Storage with Duplicity
6+
h1: Backing up your dedicated server on Scaleway Object Storage with Duplicity
77
paragraph: Automatize your backups with Duplicity and Scaleway Object Storage
88
tags: duplicity backup gpg s3
99
categories:
1010
- object-storage
1111
dates:
12-
validation: 2024-04-09
12+
validation: 2024-10-15
1313
posted: 2018-10-13
1414
---
1515

tutorials/create-wordpress-instances-cli/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ categories:
99
- instances
1010
tags: InstantApp WordPress
1111
dates:
12-
validation: 2024-04-04
12+
validation: 2024-10-15
1313
posted: 2021-10-11
1414
---
1515

tutorials/deploy-nextcloud-s3/index.mdx

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
22
meta:
3-
title: Deploying NextCloud with Object Storage
4-
description: This page shows how to deploy and configure NextCloud with Object Storage
3+
title: Deploying NextCloud with Scaleway Object Storage
4+
description: This page shows how to deploy and configure NextCloud with Scaleway Object Storage
55
content:
6-
h1: Deploying NextCloud with Object Storage
7-
paragraph: This page shows how to deploy and configure NextCloud with Object Storage
6+
h1: Deploying NextCloud with Scaleway Object Storage
7+
paragraph: This page shows how to deploy and configure NextCloud with Scaleway Object Storage
88
categories:
99
- object-storage
1010
- instances
1111
tags: NextCloud mariadb apache
1212
dates:
13-
validation: 2024-04-09
13+
validation: 2024-10-15
1414
posted: 2018-11-16
1515
---
1616

@@ -23,25 +23,27 @@ Combining NextCloud with Scaleway Object Storage gives you infinite storage spac
2323
- A Scaleway account logged into the [console](https://console.scaleway.com)
2424
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
2525
- An [SSH key](/identity-and-access-management/organizations-and-projects/how-to/create-ssh-key/)
26-
- An [Instance](/compute/instances/how-to/create-an-instance/) running on Ubuntu Jammy Jellyfish (22.04)
26+
- An [Instance](/compute/instances/how-to/create-an-instance/) running on Ubuntu Jammy Jellyfish (22.04) or later
2727
- Installed and configured [MariaDB](/tutorials/mariadb-ubuntu-bionic/) on your Instance
2828
- `sudo` privileges or access to the root user
2929

3030
## Installing NextCloud
3131

32-
1. Log in to your server via SSH.
32+
1. Log in to your Instance via SSH.
33+
```
34+
ssh root@<your_instance_public_ip>
35+
```
3336
2. Update the apt-sources and the already installed software on the server:
3437
```
3538
apt update && apt upgrade -y
3639
```
3740
3. Install the required software from the apt repositories:
3841
```
39-
apt install apache2 mariadb-server libapache2-mod-php
40-
apt install php-gd php-json php-mysql php-curl php-mbstring php-intl php-imagick php-xml php-zip
42+
apt update && apt upgrade -y && apt install apache2 mariadb-server libapache2-mod-php php-gd php-json php-mysql php-curl php-mbstring php-intl php-imagick php-xml php-zip -y
4143
```
4244
4. Download the [latest version](https://nextcloud.com/changelog/) of NextCloud:
4345
```
44-
wget https://download.nextcloud.com/server/releases/latest.tar.bz2
46+
wget https://download.nextcloud.com/server/releases/latest.tar.bz2 -O nextcloud.tar.bz2
4547
```
4648

4749
<Message type="tip">
@@ -51,16 +53,23 @@ Combining NextCloud with Scaleway Object Storage gives you infinite storage spac
5153
```
5254
tar -xjf latest.tar.bz2
5355
```
54-
6. Copy the NextCloud directory to the document root of Apache:
56+
6. Move the extracted folder to the Apache web directory:
57+
```
58+
mv nextcloud /var/www/
5559
```
56-
cp -r nextcloud /var/www
60+
7. Set the correct file permissions:
61+
```
62+
chown -R www-data:www-data /var/www/nextcloud/
5763
```
58-
7. Create an Apache configuration file for NextCloud:
64+
65+
## Configuring Apache
66+
67+
1. Create an Apache configuration file for NextCloud:
5968
```
6069
nano /etc/apache2/sites-available/nextcloud.conf
6170
```
6271

63-
And put the following content into it:
72+
2. Insert the following content:
6473
```
6574
Alias /nextcloud "/var/www/nextcloud/"
6675
@@ -108,14 +117,11 @@ Combining NextCloud with Scaleway Object Storage gives you infinite storage spac
108117
mysql -u root -p
109118
```
110119
2. Create an empty database for NextCloud:
111-
```
112-
CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY 'password';
113-
CREATE DATABASE IF NOT EXISTS nextcloud;
114-
GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost' IDENTIFIED BY 'password';
115-
FLUSH privileges;
116-
```
117-
3. Log out from the MariaDB shell:
118-
```
120+
```sql
121+
CCREATE DATABASE nextcloud;
122+
CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'your_secure_password';
123+
GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';
124+
FLUSH PRIVILEGES;
119125
EXIT;
120126
```
121127

tutorials/foreman-puppet/index.mdx

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
meta:
3-
title: Installing and configuring Foreman on Ubuntu Focal
4-
description: Discover how to install and configure Foreman on Ubuntu Focal
3+
title: Installing and configuring Foreman on Ubuntu Jammy Jellyfish (22.04 LTS)
4+
description: Discover how to install and configure Foreman on Ubuntu Jammy Jellyfish (22.04 LTS)
55
content:
6-
h1: Installing and configuring Foreman on Ubuntu Focal
7-
paragraph: Discover how to install and configure Foreman on Ubuntu Focal
8-
tags: Foreman puppet Ubuntu Focal
6+
h1: Installing and configuring Foreman on Ubuntu Jammy Jellyfish (22.04 LTS)
7+
paragraph: Discover how to install and configure Foreman on Ubuntu Jammy Jellyfish (22.04 LTS)
8+
tags: Foreman puppet Ubuntu Jammy Jellyfish
99
categories:
1010
- instances
1111
dates:
12-
validation: 2024-04-04
12+
validation: 2024-10-15
1313
posted: 2018-08-06
1414
---
1515

@@ -24,7 +24,7 @@ This tutorial assumes that Foreman is being installed on a fresh Instance, which
2424
- A Scaleway account logged into the [console](https://console.scaleway.com)
2525
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
2626
- An [SSH key](/identity-and-access-management/organizations-and-projects/how-to/create-ssh-key/)
27-
- An [Instance](/compute/instances/how-to/create-an-instance/) running on Ubuntu Focal Fossa (20.04) or later
27+
- An [Instance](/compute/instances/how-to/create-an-instance/) running on Ubuntu Jammy Jellyfish (22.04 LTS) or later
2828
- Root access to all the servers you want to manage
2929
- A reachable port 8140 on the Puppet primary Instance
3030
- A working Puppet installation to perform the configuration management of hosts
@@ -83,14 +83,15 @@ The fastest way to install Foreman is by using the installer, which installs and
8383
1. Install Puppet 6.x from the Puppetlabs repository as follows:
8484
```
8585
apt-get -y install ca-certificates
86-
wget https://apt.puppetlabs.com/puppet6-release-focal.deb
87-
sudo dpkg -i puppet6-release-focal.deb
86+
wget https://apt.puppetlabs.com/puppet7-release-focal.deb
87+
sudo dpkg -i puppet7-release-focal.deb
88+
apt-get update
89+
apt-get -y install puppet-agent
8890
```
8991
2. Add the Foreman repository to the [APT package manager sources list](https://en.wikipedia.org/wiki/APT_(Debian)):
9092
```
91-
echo "deb http://deb.theforeman.org/ focal 3.1" | sudo tee /etc/apt/sources.list.d/foreman.list
92-
echo "deb http://deb.theforeman.org/ plugins 3.1" | sudo tee -a /etc/apt/sources.list.d/foreman.list
93-
sudo apt-get -y install ca-certificates
93+
echo "deb http://deb.theforeman.org/ focal 3.7" | sudo tee /etc/apt/sources.list.d/foreman.list
94+
echo "deb http://deb.theforeman.org/ plugins 3.7" | sudo tee -a /etc/apt/sources.list.d/foreman.list
9495
wget -q https://deb.theforeman.org/pubkey.gpg -O- | sudo apt-key add -
9596
```
9697
3. Download the installer via APT:
@@ -102,16 +103,12 @@ The fastest way to install Foreman is by using the installer, which installs and
102103
foreman-installer
103104
```
104105

105-
The command returns the following output:
106-
106+
Upon completion, you will see:
107107
```
108-
Installing Done [100%] [..]
109-
Success!
110-
* Foreman is running at https://foreman.example.com
111-
Initial credentials are admin / 6fHtmSWpqNbGo7nn
112-
* Foreman Proxy is running at https://foreman.example.com:8443
113-
* Puppetprimary is running at port 8140
114-
The full log is at /var/log/foreman-installer/foreman.log
108+
Success!
109+
* Foreman is running at https://<your_foreman_url>
110+
Initial credentials: admin / <random_password>
111+
* Puppet server is running at port 8140
115112
```
116113

117114
## Managing Puppet

0 commit comments

Comments
 (0)