« Rundeck : Installation » : différence entre les versions
De www.yakakliker.org
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
== Installation == | |||
=== Prérequis === | |||
* https://docs.rundeck.com/docs/administration/install/linux-deb.html | |||
<syntaxhighlight lang="bash"> | |||
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-11/openjdk-11-jre-headless_11.0.24+8-2~deb11u1_amd64.deb | |||
dpkg -i openjdk-11-jre-headless_11.0.24+8-2~deb11u1_amd64.deb | |||
apt-get install -f | |||
apt-get install curl net-tools | |||
sudo apt-get install build-essential linux-headers-$(uname -r) | |||
</syntaxhighlight> | |||
==== Installation de MariaDB ==== | |||
<syntaxhighlight lang="bash"> | |||
apt-get install mariadb-server | |||
</syntaxhighlight> | |||
===== Configuration de Mariadb ===== | |||
====== Sécurisation ====== | |||
<syntaxhighlight lang="bash"> | |||
mysql_secure_installation | |||
</syntaxhighlight> | |||
====== Création de la base Rundeck ====== | |||
<syntaxhighlight lang="bash"> | |||
$ mysql -u root -p | |||
mysql> create database rundeck; | |||
Query OK, 1 row affected (0.00 sec) | |||
mysql> create user 'rundeckuser'@'localhost' identified by 'rundeckpassword'; | |||
Query OK, 1 row affected (0.00 sec) | |||
mysql> grant ALL on rundeck.* to 'rundeckuser'@'localhost'; | |||
Query OK, 1 row affected (0.00 sec) | |||
</syntaxhighlight> | |||
Version du 22 août 2024 à 15:54
Installation
Prérequis
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-11/openjdk-11-jre-headless_11.0.24+8-2~deb11u1_amd64.deb
dpkg -i openjdk-11-jre-headless_11.0.24+8-2~deb11u1_amd64.deb
apt-get install -f
apt-get install curl net-tools
sudo apt-get install build-essential linux-headers-$(uname -r)
Installation de MariaDB
apt-get install mariadb-server
Configuration de Mariadb
Sécurisation
mysql_secure_installation
Création de la base Rundeck
$ mysql -u root -p
mysql> create database rundeck;
Query OK, 1 row affected (0.00 sec)
mysql> create user 'rundeckuser'@'localhost' identified by 'rundeckpassword';
Query OK, 1 row affected (0.00 sec)
mysql> grant ALL on rundeck.* to 'rundeckuser'@'localhost';
Query OK, 1 row affected (0.00 sec)
https://docs.rundeck.com/docs/administration/install/
https://docs.rundeck.com/docs/administration/install/linux-deb.html
https://www.rundeck.com/downloads
https://packages.rundeck.com/pagerduty/rundeck?filter=debs
sudo systemctl daemon-reload
sudo service rundeckd start
tail -f /var/log/rundeck/service.log
Lien
https://www.it-connect.fr/tuto-rundeck-automatiser-gestion-des-serveurs-linux/