-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add MySQL to map installation #3996
base: staging
Are you sure you want to change the base?
Conversation
|
<TabItem value="Debian 12" label="Debian 12"> | ||
|
||
```shell | ||
to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wget -P /tmp/ https://dev.mysql.com/get/mysql-apt-config_0.8.29-1_all.deb
apt install /tmp/mysql-apt-config_0.8.29-1_all.deb
Selectionner Ok pour valider l'installation de "MySQL Tools & Connectors"
apt update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you check please ? And it's possible to review this documentation in staging ?
* Answer **yes** to all questions except "Disallow root login remotely?". | ||
* It is mandatory to set a password for the **root** user of the database. | ||
```shell | ||
to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rien à faire, MySQL 8.0 est déjà disponible dans les dépôts officiels.
```shell | ||
mysql_secure_installation | ||
to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rien à faire, MySQL 8.0 est déjà disponible dans les dépôts officiels.
|
||
<Tabs groupId="sync"> | ||
<TabItem value="Alma / RHEL / Oracle Linux 8" label="Alma / RHEL / Oracle Linux 8"> | ||
|
||
```shell | ||
dnf install centreon-map-engine | ||
to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"la commande est OK"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jordan9131 Tu es sûr ? parce que juste avant on dit "Then install MySQL server:"
``` | ||
|
||
</TabItem> | ||
<TabItem value="Alma / RHEL / Oracle Linux 9" label="Alma / RHEL / Oracle Linux 9"> | ||
|
||
```shell | ||
dnf install centreon-map-engine | ||
to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"la commande est OK"
``` | ||
|
||
</TabItem> | ||
<TabItem value="Debian 11 & 12" label="Debian 11 & 12"> | ||
|
||
```shell | ||
apt update && apt install centreon-map-engine | ||
to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"la commande est OK"
> MySQL must listen to all interfaces instead of localhost/127.0.0.1, which is the default value. Edit the following file: | ||
> | ||
> ```shell | ||
> to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/etc/mysql/mysql.conf.d/mysqld.cnf
> Set the **bind-address** parameter to **0.0.0.0** and restart MySQL. | ||
> | ||
> ```shell | ||
> to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bind-address = 0.0.0.0
Then restart MYSQL
sudo service mysql restart
```shell | ||
mysql_secure_installation | ||
to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
systemctl restart mysql
<TabItem value="Debian 11" label="Debian 11"> | ||
|
||
```shell | ||
to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wget -P /tmp/ https://dev.mysql.com/get/mysql-apt-config_0.8.29-1_all.deb
apt install /tmp/mysql-apt-config_0.8.29-1_all.deb
Selectionner Ok pour valider l'installation de "MySQL Tools & Connectors"
apt update
```shell | ||
systemctl enable mariadb | ||
systemctl restart mariadb | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Please include a short summary of the changes and what is the purpose of the PR. Any relevant information should be added to help reviewers.
Target version (i.e. version that this PR changes)