Documentation YorkHost
  • docs
    • Accueil
  • ❓Information Sur YorkHost
    • Depuis quand YorkHost existe ?
    • Êtes-vous déclaré ?
    • Avez-vous votre propre infrastructure ?
  • PANEL GAME
    • Tutoriel pour ajouter un sous utilisateur à votre panel game
    • Comment config un redémarrage auto sur un serveur game
  • 🌐Tuto Web
    • Comment configurer un nom de domaine sur un serveur web ?
    • Comment générer un certificat SSL pour mon site web? (Let's Encrypt)
  • 💻Tuto VPS
    • Changer la version NodeJs sur un VPS
    • Comment installer Pterodactyl
    • Comment installer MariaDB
    • Comment installer Node.JS
    • Comment installer php7.4 ou 8.1 et l'activer sur Nginx ou Apache2
    • Comment installer un serveur FiveM sur un VPS ?
    • Créer mon premier serveur sur pterodactyl
    • Comment se connecter en SSH
    • Changer son mot de passe SSH
    • Se connecter sur un VPS Windows
  • ⁉️Erreur Fréquente
    • Echec de l'installation (Serveur de jeux)
  • 💣FiveM
    • Référencement dans la liste des serveurs FiveM
    • Comment activer le TX Admin
    • Comment créer une base de données
    • Comment importer et compresser les SQL
    • Comment se connecter à sont serveur FiveM ?
    • Comment lier la base de donnée mysql a son serveur FiveM ?
    • Activer OneSync sur son serveur FiveM
    • Comment optimiser son serveur FiveM ?
    • Comment se mettre admin sur son serveur FiveM ?
    • Guide : Résolution de l'erreur "FiveM Server is Private"
  • 💼CMS
    • Comment installer WHMCS
    • Automatiser la livraison de VPS (Virtualizor) sur WHMCS
    • Automatiser la livraison de VPS (Revendeur Virtualizor) sur WHMCS
  • Minecraft
    • Choisir son serveur et installation des mods
  • GMOD
    • Comment bien choisir son offre
    • Changer son nom de serveur
Propulsé par GitBook
Sur cette page
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Debian 11 - 12
  • Centos 7
  1. Tuto VPS

Comment installer MariaDB

Voici les commandes à faire en ssh (cli) pour installer mariadb (mysql) sur centos, debian et ubuntu.

Ubuntu 20.04

LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php

curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash

apt -y install mariadb-server

Ubuntu 22.04

LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php
apt -y install mariadb-server

Debian 11 - 12

curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
apt install -y mariadb-server nginx tar unzip git redis-server

Centos 7

## Install Repos
cat <<EOF > /etc/yum.repos.d/mariadb.repo
# MariaDB 10.5 CentOS repository list - created 2017-07-14 12:40 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.5/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOF

## Get yum updates
yum update -y

## Install MariaDB 10.5
yum install -y MariaDB-common MariaDB-server

## Start maraidb
systemctl start mariadb
systemctl enable mariadb

PrécédentComment installer PterodactylSuivantComment installer Node.JS

Dernière mise à jour il y a 1 an

💻