Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
2e2ac16aa1 | |||
c2591142bf |
@ -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
7
glpi/Vagrantfile
vendored
@ -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
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user