chore: Update NodeJs and MariaDB setup documentation navigation

This commit is contained in:
SebasKoedam
2024-05-08 12:54:16 +02:00
parent cde3e1c580
commit 7769e7f84d
2 changed files with 68 additions and 51 deletions

View File

@@ -11,7 +11,9 @@ Before you begin, you will need the following:
- A Raspberry Pi with Raspbian installed
- Access to the terminal on your Raspberry Pi
## Step 1: Update the Package List
## Installation
### Step 1: Update the Package List
The first step is to update the package list on your Raspberry Pi. This will ensure that you have the latest information about available packages.
@@ -23,7 +25,7 @@ sudo apt update
```
## Step 2: Install MariaDB
### Step 2: Install MariaDB
Next, you will need to install the MariaDB server on your Raspberry Pi. You can do this by running the following command:
@@ -35,7 +37,7 @@ sudo apt install mariadb-server
During the installation process, you will be prompted to set a root password for the MariaDB server. Enter a secure password and remember it, as you will need it to access the database server.
## Step 3: Secure the MariaDB Installation
### Step 3: Secure the MariaDB Installation
After installing MariaDB, you should secure the installation by running the `mysql_secure_installation` script. This script will guide you through the process of securing your MariaDB installation by setting a root password, removing anonymous users, disallowing remote root login, and removing the test database.
@@ -49,7 +51,7 @@ sudo mysql_secure_installation
Follow the prompts to secure your MariaDB installation.
## Step 4: Access the MariaDB Shell
### Step 4: Access the MariaDB Shell
Once you have secured the MariaDB installation, you can access the MariaDB shell by running the following command:
@@ -65,4 +67,4 @@ Enter the root password that you set during the installation process. You should
You have successfully installed MariaDB on your Raspberry Pi. You can now create and manage databases using MariaDB on your device. If you have any questions or run into any issues, feel free to refer to the [MariaDB documentation](https://mariadb.com/kb/en/) for more information.
---
---