Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions tutorials/deploy-chatwoot-self-care/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags: chatwoot crm customer-service
categories:
- instances
dates:
validation: 2024-05-27
validation: 2025-01-02
posted: 2023-05-16
---

Expand All @@ -26,7 +26,7 @@ Chatwoot is designed to enhance customer satisfaction and improve customer suppo
- A Scaleway account logged into the [console](https://console.scaleway.com)
- [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
- An [SSH key](/identity-and-access-management/organizations-and-projects/how-to/create-ssh-key/)
- A [Production-Optimized Instance](/compute/instances/how-to/create-an-instance/) with at least 8 GB RAM and 25 GB Block Storage, running on Ubuntu 20.04 LTS
- A [Production-Optimized Instance](/compute/instances/how-to/create-an-instance/) with at least 8 GB RAM and 25 GB Block Storage, running on Ubuntu 20.04 LTS or later
- Installed [Ruby 3.2.2](/tutorials/ruby-on-rails/) on your Instance
- A (sub-)domain pointed to the Instance's IP address

Expand Down
6 changes: 3 additions & 3 deletions tutorials/deploy-clickhouse-database/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ hero: assets/scaleway-clickhouse.webp
categories:
- instances
dates:
validation: 2024-06-17
validation: 2025-01-02
posted: 2022-12-01
---

Expand All @@ -28,9 +28,9 @@ ClickHouse® is an open-source column-oriented database management system that a
1. [Log into your Instance using SSH](/compute/instances/how-to/connect-to-instance/).
2. Update the `apt` package cache and upgrade the software already installed on the Instance to the latest version available in the distribution repositories.
```
apt update && apy upgrade -y
apt update && apt upgrade -y
```
3. Download the ClickHose installer:
3. Download the ClickHouse installer:
```
curl https://clickhouse.com/ | sh
```
Expand Down
2 changes: 1 addition & 1 deletion tutorials/gitlab-instant-app/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags: apps GitLab InstantApp
categories:
- instances
dates:
validation: 2024-06-11
validation: 2025-01-02
posted: 2015-05-07
---

Expand Down
2 changes: 1 addition & 1 deletion tutorials/install-openlitespeed-wordpress/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ categories:
- instances
tags: OpenLiteSpeed Wordpress Ubuntu Bionic-Beaver php
dates:
validation: 2024-05-27
validation: 2025-01-02
posted: 2019-08-07
---

Expand Down
2 changes: 1 addition & 1 deletion tutorials/install-wireguard/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ categories:
- instances
tags: vpn WireGuard Linux android
dates:
validation: 2024-05-29
validation: 2025-01-02
posted: 2019-03-28
---

Expand Down
4 changes: 2 additions & 2 deletions tutorials/installation-lemp-ubuntu-bionic/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags: LEMP-Stack Ubuntu-Bionic Linux Nginx MySQL PHP certbot
categories:
- instances
dates:
validation: 2024-06-03
validation: 2025-01-02
posted: 2018-07-31
---

Expand Down Expand Up @@ -134,7 +134,7 @@ Nginx stores the configuration of virtual hosts in server blocks. All available
- `server_name` — The domain name relating to this server block.
- `location /` — This location block checks the existence of a requested file. It will deliver either the file or return a 404 error.
- `location ~ \.php$` — The second location block handles the PHP processing by pointing Nginx to the fastcgi-php.conf configuration file and the php7.2-fpm.sock file, which declares what socket is associated with php-fpm.
- `location ~ /\.ht` — The last location block prevents .htaccess files from being processed by Nginx. Any .htaccess located in the directory root won't be served to visitors.
- `location ~ /\.ht` — The last location block prevents .htaccess files from being processed by Nginx. Any .htaccess located in the directory root will not be served to visitors.
3. Save and exit the file.
4. Create a symbolic link to enable the server block. Replace `example.com` with your domain.
```bash
Expand Down
2 changes: 1 addition & 1 deletion tutorials/installation-lemp-ubuntu-focal/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags: LEMP-Stack Ubuntu Linux Nginx MySQL PHP certbot
categories:
- instances
dates:
validation: 2024-06-17
validation: 2025-01-02
posted: 2021-12-03
---

Expand Down
2 changes: 1 addition & 1 deletion tutorials/jitsi-ubuntu-focal-fossa/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ categories:
- domains-and-dns
tags: media Jitsi-Meet videoconferencing
dates:
validation: 2024-06-11
validation: 2025-01-02
posted: 2022-11-17
---

Expand Down
10 changes: 5 additions & 5 deletions tutorials/magento-ubuntu/index.mdx
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
---
meta:
title: Deploying Magento Open Source on Ubuntu 20.04
title: Deploying Magento Open Source on Ubuntu
description: Learn how to deploy the Magento e-commerce platform on a Scaleway Instance using a LAMP stack.
content:
h1: Deploying Magento Open Source on Ubuntu 20.04
h1: Deploying Magento Open Source on Ubuntu
paragraph: Learn how to deploy the Magento e-commerce platform on a Scaleway Instance using a LAMP stack.
tags: dedicated-server magento Open-Source e-commerce LAMP-stack
hero: assets/scaleway_magento.webp
categories:
- instances
- domains-and-dns
dates:
validation: 2024-06-17
validation: 2025-01-02
posted: 2020-06-17
---

Magento is one of the most popular e-commerce systems available, with more than 100.000 online stores based on the platform. It is written in PHP and uses the Zend Framework. Database-wise it uses the MySQL or MariaDB relational database system.

In this tutorial, you will learn how to install the open-source version of Magento on a Scaleway Instance running on Ubuntu Focal Fossa (20.04 LTS). To support the tool, we will deploy a LAMP stack (Ubuntu Linux, Apache2, MariaDB, and PHP).
In this tutorial, you will learn how to install the open-source version of Magento on a Scaleway Instance running on Ubuntu Focal Fossa (20.04 LTS) or later. To support the tool, we will deploy a LAMP stack (Ubuntu Linux, Apache2, MariaDB, and PHP).

<Macro id="requirements" />

Expand Down Expand Up @@ -261,7 +261,7 @@ Since the 2.4 version of Magento has been released, it uses [Elasticsearch](http
1. Change into the directory where Magento is located in your Instance.
```
cd /home/username/magento2
```
```
2. Run the command below to install Magento. Replace the variables in the command to match your previous configuration and set the username and password for your Magento `admin` user.
```
sudo bin/magento setup:install --base-url=http://example.com/ --db-host=localhost --db-name=magento --db-user=magento_db --db-password=your_secret_password --admin-firstname=Admin --admin-lastname=User [email protected] --admin-user=admin --admin-password=admin123 --language=en_US --currency=EUR --timezone=Europe/Paris --use-rewrites=1
Expand Down
33 changes: 18 additions & 15 deletions tutorials/mongodb-ubuntu-1604/index.mdx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
meta:
title: Install and secure MongoDB® on Ubuntu 22.04 Jammy Jellyfish
description: Follow a 3-step tutorial to install and secure MongoDB® on Ubuntu 22.04 Jammy Jellyfish for robust database management.
title: Install and secure MongoDB® on Ubuntu 24.04 Noble Numbat
description: Follow a 3-step tutorial to install and secure MongoDB® on Ubuntu 24.04 Noble Numbat for robust database management.
content:
h1: Install and secure MongoDB® on Ubuntu 22.04 Jammy Jellyfish
paragraph: Follow a 3-step tutorial to install and secure MongoDB® on Ubuntu 22.04 Jammy Jellyfish for robust database management.
h1: Install and secure MongoDB® on Ubuntu 24.04 Noble Numbat
paragraph: Follow a 3-step tutorial to install and secure MongoDB® on Ubuntu 24.04 Noble Numbat for robust database management.
tags: database mysql mongoDB UFW bindIP
categories:
- instances
dates:
validation: 2024-06-17
validation: 2025-01-02
posted: 2018-06-25
---

Expand All @@ -22,9 +22,13 @@ In contrast to relational databases, MongoDB® does not require a deep predefine
- A Scaleway account logged into the [console](https://console.scaleway.com)
- [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
- An [SSH key](/identity-and-access-management/organizations-and-projects/how-to/create-ssh-key/)
- An [Instance](/compute/instances/how-to/create-an-instance/) running on Ubuntu 22.O4 or later
- An [Instance](/compute/instances/how-to/create-an-instance/) running on Ubuntu 24.O4 or later
- `sudo` privileges or access to the root user

<Message type="tip">
If you want to set up a MongoDB® Instance without worrying about the upkeep of compute resources, you can [create a Managed Databases for MongoDB® Instance](/managed-databases/mongodb/how-to/create-a-database-instance). These are powerful Database Instances managed by Scaleway.
</Message>

## Setting up MongoDB

### Adding MongoDB® Repository
Expand All @@ -38,28 +42,27 @@ In contrast to relational databases, MongoDB® does not require a deep predefine
ssh [email protected]
```

2. Update the Ubuntu package manager (`apt`).
2. Update the Ubuntu package manager (`apt`) and the Ubuntu packages already installed.
```
apt update
apt-get update && apt-get upgrade -y
```
3. Upgrade the Ubuntu packages already installed and install `gnupg` and `curl` if they are not already available.
3. Install `gnupg` and `curl` if they are not already available.
```
apt upgrade -y
apt install gnupg curl
apt-get install gnupg curl
```
4. Import the key for the official MongoDB® repository (Ubuntu ensures the authenticity of software packages by verifying that they are signed with GPG keys.).
```
curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg \
curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg \
--dearmor
```
5. Add the MongoDB® repository details so that Ubuntu's `apt` command-line tool will know where to download the packages. Execute the following command to create a list file for MongoDB.
```
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] https://repo.mongodb.org/apt/ubuntu noble/mongodb-org/8.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-8.0.list
```
6. Update the packages list.
```
apt update
apt-get update
```

### Installing MongoDB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ categories:
- instances
tags: LAN Rocket.Chat vpc
dates:
validation: 2024-06-17
validation: 2025-01-02
posted: 2020-10-19
---

Expand All @@ -20,7 +20,7 @@ In this tutorial, you will learn how the Private Network feature can help you to

Private Networks are a LAN-like layer 2 Ethernet network. A new network interface with a unique MAC address is configured on each Instance in a Private Network. You can use this interface to communicate in a secure and isolated network, using private IP addresses of your choice.

To reach the goal of this tutorial, you will use four [Production-Optimized Instance](/compute/instances/reference-content/choosing-instance-type/) running **Ubuntu 22.04 (Jammy Jellyfish)** or later:
To reach the goal of this tutorial, you will use four [Production-Optimized Instance](/compute/instances/reference-content/choosing-instance-type/) running **Ubuntu 24.04 Noble Numbat** or later:

- 1 POP2-2C-8G Instance as NGINX Proxy frontend, that distributes the load on the Rocket.Chat applications
- 1 POP2-8C-32G Instance as MongoDB® host
Expand All @@ -36,7 +36,7 @@ To reach the goal of this tutorial, you will use four [Production-Optimized Inst
- A Scaleway account logged into the [console](https://console.scaleway.com)
- [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
- An [SSH key](/identity-and-access-management/organizations-and-projects/how-to/create-ssh-key/)
- Created 4 [Instances](/compute/instances/how-to/create-an-instance/) running on Ubuntu Jammy Jellyfish (22.04 LTS)
- Created 4 [Instances](/compute/instances/how-to/create-an-instance/) running on Ubuntu Noble Numbat (24.04 LTS)

## Configuring the Private Network

Expand Down Expand Up @@ -102,26 +102,29 @@ To reach the goal of this tutorial, you will use four [Production-Optimized Inst
## Installing MongoDB

1. Log into your MongoDB instance using SSH.
```
ssh root@<mogodb-instance-ip>
```
2. Update the APT repositories and upgrade the software already installed on the version to the latest version available in Ubuntu's official repositories:
```
root@mogodb-instance:~# apt update && apt upgrade -y
apt update && apt upgrade -y
```
3. Install the required prerequisites and the MongoDB® GPG key to your system:
```
apt install -y gnupg
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | apt-key add -
apt-get install gnupg curl
curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg --dearmor
```
4. Add the [MongoDB](/tutorials/mongodb-ubuntu-1604/) repository to your system. In this tutorial, we use MongoDB® 6.0:
4. Add the [MongoDB](/tutorials/mongodb-ubuntu-1604/) repository to your system. In this tutorial, we use MongoDB® 8.0:
```
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-6.0.list
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] https://repo.mongodb.org/apt/ubuntu noble/mongodb-org/8.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-8.0.list
```
5. Update the apt package cache to make the newly added repository available for the `apt` package manager:
```
apt update
apt-get update
```
6. Install MongoDB® using the `apt` package manager:
```
apt install mongodb-org -y
apt-get install mongodb-org -y
```
7. Open the `/etc/mongod.conf` file in a text editor and edit it as follows to configure the storage engine to use (`storage:` section), bind the application to the private IP address (`net:` section) and configure a [ReplicaSet](https://docs.mongodb.com/manual/tutorial/deploy-replica-set/) (`replication` section). Leave other sections as they are.
```
Expand Down Expand Up @@ -191,46 +194,49 @@ To reach the goal of this tutorial, you will use four [Production-Optimized Inst
</Message>

1. Log into your Rocket.Chat instance using SSH.
```
ssh root@<rocketchat-instance-ip>
```
2. Update the `apt` repositories and upgrade the software already installed on the version to the latest version available in Ubuntu's official repositories:
```
root@rocketchat-instance:~# apt update && apt upgrade -y
apt update && apt upgrade -y
```
3. Install [Node.js](https://nodejs.org/en/) by running the following command:
```
root@rocketchat-instance:~# apt install -y curl && curl -sL https://deb.nodesource.com/setup_14.x | bash -
apt install -y curl && curl -sL https://deb.nodesource.com/setup_14.x | bash -
```
4. Install other prerequisites for running Rocket.Chat:
```
root@rocketchat-instance:~# apt install build-essential nodejs graphicsmagick
apt install build-essential nodejs graphicsmagick
```
5. Use `npm` to install `inherits`, `n`, and the node version required by Rocket.Chat:
```
root@rocketchat-instance:~# npm install -g inherits n && sudo n 14.18.3
npm install -g inherits n && sudo n 14.18.3
```
6. Download and unpack the latest release of the Rocket.Chat software:
```
root@rocketchat-instance:~# curl -L https://releases.rocket.chat/latest/download -o /tmp/rocket.chat.tgz
root@rocketchat-instance:~# tar -xzf /tmp/rocket.chat.tgz -C /tmp
curl -L https://releases.rocket.chat/latest/download -o /tmp/rocket.chat.tgz
tar -xzf /tmp/rocket.chat.tgz -C /tmp
```
7. Install Rocket.Chat:
```
root@rocketchat-instance:~# cd /tmp/bundle/programs/server && npm install
cd /tmp/bundle/programs/server && npm install
```
8. Move the application to its final destination (we use `/opt/Rocket.Chat` in this tutorial, but you are free to choose another directory).
```
root@rocketchat-instance:~# mv /tmp/bundle /opt/Rocket.Chat
mv /tmp/bundle /opt/Rocket.Chat
```
9. Add a user for the Rocket.Chat application:
```
root@rocketchat-instance:~# sudo useradd -M rocketchat && sudo usermod -L rocketchat
sudo useradd -M rocketchat && sudo usermod -L rocketchat
```
10. Set the permissions on the Rocket.Chat folder:
```
root@rocketchat-instance:~# sudo chown -R rocketchat:rocketchat /opt/Rocket.Chat
sudo chown -R rocketchat:rocketchat /opt/Rocket.Chat
```
11. Create a Rocket.Chat service:
```
root@rocketchat-instance:~# cat << EOF |sudo tee -a /lib/systemd/system/rocketchat.service
cat << EOF |sudo tee -a /lib/systemd/system/rocketchat.service
[Unit]
Description=Rocket.Chat server
After=network.target remote-fs.target nss-lookup.target nginx.target mongod.target
Expand All @@ -251,19 +257,22 @@ To reach the goal of this tutorial, you will use four [Production-Optimized Inst
</Message>
12. Enable and start the Rocket.Chat service with the following command:
```
root@rocketchat-instance:~# systemctl enable rocketchat.service && systemctl start rocketchat.service
systemctl enable rocketchat.service && systemctl start rocketchat.service
```

## Configuring the NGINX reverse proxy

1. Log into your NGINX reverse proxy instance using SSH.
```
ssh root@<proxy-instance-ip>
```
2. Update the APT repositories and upgrade the software already installed on the version to the latest version available in Ubuntu's official repositories:
```
root@proxy-instance:~# apt update && apt upgrade -y
apt update && apt upgrade -y
```
3. Install the NGINX reverse proxy:
```
root@proxy-instance:~# apt install nginx -y
apt install nginx -y
```
4. Create an NGINX configuration file called `/etc/nginx/sites-available/rocketchat.example.com` (replace `rocketchat.example.com` with the DNS hostname of your instance) and copy the following content into it:
```
Expand Down
Loading
Loading