« Installation de Racktables » : différence entre les versions
De www.yakakliker.org
 (Page créée avec « <syntaxhighlight lang="bash"> sudo apt update sudo apt install php php-cli php-snmp php-gd php-mysql php-mbstring php-bcmath php-json php-fpm php-ldap php-curl </syntaxhighlight><syntaxhighlight lang="bash"> sudo apt install mariadb-server mariadb-client </syntaxhighlight><syntaxhighlight lang="bash"> sudo systemctl enable mariadb && sudo systemctl start mariadb </syntaxhighlight><syntaxhighlight lang="bash"> sudo mysql_secure_installation </syntaxhighlight>... »)  | 
				Aucun résumé des modifications  | 
				||
| Ligne 10 : | Ligne 10 : | ||
</syntaxhighlight>  | </syntaxhighlight>  | ||
<syntaxhighlight lang="bash">  | |||
$ sudo mysql -u root -p  | |||
CREATE DATABASE racktables CHARACTER SET utf8 COLLATE utf8_general_ci;  | |||
CREATE USER racktables@localhost IDENTIFIED BY "StrongPassword";  | |||
GRANT ALL PRIVILEGES ON racktables.* TO racktables@localhost;  | |||
FLUSH PRIVILEGES;  | |||
QUIT;  | |||
</syntaxhighlight>  | |||
<syntaxhighlight lang="bash">  | |||
cd /var/www  | |||
sudo git clone https://github.com/RackTables/racktables.git  | |||
Cloning into 'racktables'...  | |||
remote: Enumerating objects: 38, done.  | |||
remote: Counting objects: 100% (38/38), done.  | |||
remote: Compressing objects: 100% (25/25), done.  | |||
remote: Total 32365 (delta 17), reused 24 (delta 13), pack-reused 32327  | |||
Receiving objects: 100% (32365/32365), 25.60 MiB | 625.00 KiB/s, done.  | |||
Resolving deltas: 100% (20639/20639), done.  | |||
sudo chown -R www-data:www-data /var/www/racktables  | |||
</syntaxhighlight>  | |||
=== Lien ===  | === Lien ===  | ||
Version du 11 juin 2024 à 08:41
sudo apt update
sudo apt install php php-cli php-snmp php-gd php-mysql php-mbstring php-bcmath php-json php-fpm php-ldap php-curl
sudo apt install mariadb-server mariadb-client
sudo systemctl enable mariadb && sudo systemctl start mariadb
sudo mysql_secure_installation
$ sudo mysql -u root -p
CREATE DATABASE racktables CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER racktables@localhost IDENTIFIED BY "StrongPassword";
GRANT ALL PRIVILEGES ON racktables.* TO racktables@localhost;
FLUSH PRIVILEGES;
QUIT;
cd /var/www
sudo git clone https://github.com/RackTables/racktables.git
Cloning into 'racktables'...
remote: Enumerating objects: 38, done.
remote: Counting objects: 100% (38/38), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 32365 (delta 17), reused 24 (delta 13), pack-reused 32327
Receiving objects: 100% (32365/32365), 25.60 MiB | 625.00 KiB/s, done.
Resolving deltas: 100% (20639/20639), done.
sudo chown -R www-data:www-data /var/www/racktables
Lien
https://computingforgeeks.com/how-to-install-racktables-on-ubuntu/