Skip to content

Commit 6a72a8f

Browse files
committed
Add documentation on enable PHPMyAdmin
1 parent 9739252 commit 6a72a8f

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

docs/hypernode-platform/mysql/how-to-use-phpmyadmin.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,39 @@ This article will explain how you can use PHPMyAdmin and how to create a databas
2121

2222
PHPMyAdmin comes preinstalled on your Hypernode at <http://example.hypernode.io/phpmyadmin/>. In order to reduce brute force attacks, it is not accessible via any other domains names linked to your Hypernode.
2323

24+
### Enabling PHPMyAdmin
25+
26+
By default, PHPMyAdmin is disabled. You can enable it by:
27+
28+
1. Enabling the PHPMyAdmin feature
29+
1. Adding an allowlist entry
30+
31+
This can be done in both the Control Panel and the CLI.
32+
33+
#### Enabling PHPMyAdmin in the Control Panel
34+
35+
To enable PHPMyAdmin in the Control Panel, go to [the Control Panel](https://my.hypernode.com) and follow the steps below:
36+
37+
1. Go to Settings and open the Security tab.
38+
1. Enable the **Enable PHPMyAdmin** option.
39+
1. Click **Save changes**.
40+
1. Go to **Allowlist**.
41+
1. Choose **phpmyadmin** as rule type.
42+
1. Enter an IP address.
43+
1. Enter a description.
44+
1. Click **Add allowlist rule**.
45+
46+
It takes a few minutes for the changes to be applied.
47+
48+
#### Enabling PHPMyAdmin in the CLI
49+
50+
To enable PHPMyAdmin in the CLI, log in to your Hypernode over SSH and run the following commands:
51+
52+
```console
53+
app@abcdef-example-magweb-cmbl:~$ hypernode-systemctl settings phpmyadmin_enabled True
54+
app@abcdef-example-magweb-cmbl:~$ hypernode-systemctl whitelist add phpmyadmin 1.2.3.4 --description 'Example entry'
55+
```
56+
2457
### Credentials
2558

2659
PHPMyAdmin uses the same user and password your database uses. You can find them safely stored on your hypernode in `/data/web/.my.cnf`.

docs/hypernode-platform/tools/how-to-use-the-hypernode-systemctl-cli-tool.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ To see which values you can set and which values they are allowed to have take a
5858
| **php_legacy_serialize_precision_enabled**<br/><sub></sub> | True | True, False |
5959
| **php_version**<br/><sub>Change the PHP version</sub> | 8.3 | 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 |
6060
| **php_xdebug_enabled**<br/><sub>Enable Xdebug for remote debugging</sub> | False | True, False |
61+
| **phpmyadmin_enabled**<br/><sub>Enable PHPMyAdmin</sub> | False | True, False |
6162
| **rabbitmq_delayed_message_exchange_enabled**<br/><sub></sub> | False | True, False |
6263
| **rabbitmq_enabled**<br/><sub>A popular open source message broker</sub> | False | True, False |
6364
| **redis_eviction_policy**<br/><sub></sub> | volatile-lru | noeviction<br />allkeys-lru<br />allkeys-lfu<br />volatile-lru<br />volatile-lfu<br />allkeys-random<br />volatile-random<br />volatile-ttl |

0 commit comments

Comments
 (0)