« Installation de Racktables » : différence entre les versions
De www.yakakliker.org
Aucun résumé des modifications  | 
				Aucun résumé des modifications  | 
				||
| (3 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 31 : | Ligne 31 : | ||
sudo chown -R www-data:www-data /var/www/racktables  | sudo chown -R www-data:www-data /var/www/racktables  | ||
</syntaxhighlight>  | |||
=== Configuration Apache ===  | |||
<syntaxhighlight lang="bash">  | |||
AddType  application/x-httpd-php         .php  | |||
<Directory /usr/local/www/racktables/wwwroot>  | |||
	DirectoryIndex index.php  | |||
	Require all granted  | |||
</Directory>  | |||
Alias /racktables /usr/local/www/racktables/wwwroot  | |||
</syntaxhighlight>  | </syntaxhighlight>  | ||
=== Lien ===  | === Lien ===  | ||
https://computingforgeeks.com/how-to-install-racktables-on-ubuntu/  | https://computingforgeeks.com/how-to-install-racktables-on-ubuntu/  | ||
https://unixcop.com/how-to-install-racktable-on-ubuntu-debian-servers/  | |||
https://wiki.racktables.org/index.php/RackTablesAdminGuide  | |||
| Ligne 41 : | Ligne 56 : | ||
[[Catégorie:Installation]]  | [[Catégorie:Installation]]  | ||
[[Catégorie:Racktables]]  | [[Catégorie:Racktables]]  | ||
<html>  | |||
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>  | |||
<script>  | |||
  kofiWidgetOverlay.draw('yakakliker', {  | |||
    'type': 'floating-chat',  | |||
    'floating-chat.donateButton.text': 'Café',  | |||
    'floating-chat.donateButton.background-color': '#00b9fe',  | |||
    'floating-chat.donateButton.text-color': '#fff'  | |||
  });  | |||
</script>  | |||
		</html>  | |||
Dernière version du 21 janvier 2025 à 13:21
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
Configuration Apache
AddType  application/x-httpd-php         .php
<Directory /usr/local/www/racktables/wwwroot>
	DirectoryIndex index.php
	Require all granted
</Directory>
Alias /racktables /usr/local/www/racktables/wwwroot
Lien
https://computingforgeeks.com/how-to-install-racktables-on-ubuntu/
https://unixcop.com/how-to-install-racktable-on-ubuntu-debian-servers/
https://wiki.racktables.org/index.php/RackTablesAdminGuide