mirror of
https://github.com/maxkratz/community-tutorials.git
synced 2024-09-16 11:28:12 +00:00
Fix numbering
This commit is contained in:
parent
9d835b71f9
commit
6a61c3037b
1 changed files with 4 additions and 4 deletions
|
@ -158,7 +158,7 @@ server {
|
|||
6. Enter `nginx -t` to test the config file
|
||||
7. If you see `test is successful` you can reload nginx by entering `systemctl reload nginx`
|
||||
|
||||
# Step 7 - Setting up HTTPS
|
||||
# Step 6 - Setting up HTTPS
|
||||
|
||||
1. Enter `snap install --classic certbot` to install certbot
|
||||
2. Enter `certbot --nginx` to start the certbot setup
|
||||
|
@ -169,7 +169,7 @@ server {
|
|||
4. Press `Enter` to select the only option (your domain)
|
||||
5. This process can take a while, so please be patient
|
||||
|
||||
# Step 8 - Setting up the Firewall
|
||||
# Step 7 - Setting up the Firewall
|
||||
|
||||
We need a firewall to protect our server from unwanted connections.
|
||||
|
||||
|
@ -181,7 +181,7 @@ We will use `ufw` (Uncomplicated Firewall) to set up the firewall, because it is
|
|||
4. Enter `ufw enable` to enable the firewall
|
||||
5. Press `Y` and then `Enter` to confirm
|
||||
|
||||
# Step 9 - Configuring PHPMyAdmin
|
||||
# Step 8 - Configuring PHPMyAdmin
|
||||
|
||||
1. Enter `cd /usr/share/phpmyadmin && cp config.sample.inc.php config.inc.php && rm -f /etc/phpmyadmin/config.inc.php && ln -s /usr/share/phpmyadmin/config.inc.php /etc/phpmyadmin/config.inc.php && nano config.inc.php` to copy the sample config file to the actual config file and open it
|
||||
|
||||
|
@ -227,7 +227,7 @@ $cfg['Servers'][$i]['auth_type'] = 'config';
|
|||
6. If you need more than one server, you can repeat step 4 with different values just under the one you just added. (More configuration options can be found in the official documentation under: [https://docs.phpmyadmin.net/en/latest/config.html#server-connection-settings](https://docs.phpmyadmin.net/en/latest/config.html#server-connection-settings))
|
||||
7. Exit the file by pressing `Ctrl + X` and then `Y` and then `Enter`
|
||||
|
||||
# Step 10 - Checking if everything works
|
||||
# Step 9 - Checking if everything works
|
||||
|
||||
1. Enter the Domain in your browser to access PHPMyAdmin (e.g. `https://pma.example.com`)
|
||||
2. You should now see a prompt to enter your username and password (the ones you set in Step 6)
|
||||
|
|
Loading…
Reference in a new issue