« SuiteCRM » : différence entre les versions

De Le Wiki de Lug
Aller à la navigation Aller à la recherche
Ligne 31 : Ligne 31 :
  > CREATE DATABASE <font color=grey>suitecrm</font>;
  > CREATE DATABASE <font color=grey>suitecrm</font>;
  > GRANT ALL ON <font color=grey>suitecrm</font>.* TO '<font color=green>suitecrm</font>'@'localhost' IDENTIFIED BY '<font color = blue>monsupermotdepasse</font>';
  > GRANT ALL ON <font color=grey>suitecrm</font>.* TO '<font color=green>suitecrm</font>'@'localhost' IDENTIFIED BY '<font color = blue>monsupermotdepasse</font>';
> FLUSH PRIVILEGES;
> EXIT;


{{Méta bandeau
{{Méta bandeau

Version du 24 août 2021 à 11:05

LXC Unbuntu 20.04

Installation

Source

On installe l'ensemble LAMP et autres dépendances :

# apt update && apt upgrade
# apt install apache2 apache2-utils mariadb-server mariadb-client unzip php-imagick php7.4-fpm php7.4-mysql php7.4-common php7.4-gd php7.4-imap php7.4-json php7.4-curl php7.4-zip php7.4-xml php7.4-mbstring php7.4-bz2 php7.4-intl php7.4-gmp

Configuration de MariaDB

On sécurise la base de données :

# mysql_secure_installation
Set root password? [Y/n] y
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] y
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y
... Success!

Ensuite on crée la base de données pour SuiteCRM et son utilisateur :

# sudo mysql -u root
> CREATE DATABASE suitecrm;
> GRANT ALL ON suitecrm.* TO 'suitecrm'@'localhost' IDENTIFIED BY 'monsupermotdepasse';
> FLUSH PRIVILEGES;
> EXIT;