Compare commits

...

2 Commits

Author SHA1 Message Date
2e2ac16aa1 doc 2023-05-05 13:21:41 +02:00
c2591142bf php-intl, ldap , divers 2023-05-05 11:46:33 +02:00
2 changed files with 16 additions and 2 deletions

View File

@ -10,6 +10,17 @@
vagrant up
### se connecter à la VM :
vagrant ssh
sudo mysql_secure_administration
### avec un navigateur :
se connecter à l'URL http://loclahost:2080/glpi
lancer l'installation de **GLPI**
## Utilisation

7
glpi/Vagrantfile vendored
View File

@ -66,14 +66,17 @@ Vagrant.configure("2") do |config|
# Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: <<-SHELL
# export http_proxy=http://10.121.38.1:8080
# export https_proxy=http://10.121.38.1:8080
timedatectl set-timezone Europe/Paris
apt-get update
export DEBIAN_FRONTEND=noninteractive
apt-get install -y vim wget curl git apache2 php php-mysql php-gd php-xml php-curl php-zip mariadb-server
apt-get install -y vim wget curl git apache2 php php-mysql php-ldap php-gd php-intl php-xml php-curl php-zip mariadb-server
( cd /var/www/html
wget https://github.com/glpi-project/glpi/releases/download/10.0.7/glpi-10.0.7.tgz
tar xvfz glpi-10.0.7.tgz )
tar xvfz glpi-10.0.7.tgz
chown -R root:root glpi
cd glpi
chown -R www-data:www-data files config
)