envole/doc/demo.md

62 lines
2.0 KiB
Markdown
Raw Normal View History

2024-03-13 16:41:50 +01:00
# Etape 00 = Etendre l'espace disque
2024-03-14 12:18:39 +01:00
8go de RAM
2024-03-13 16:41:50 +01:00
lvextend -l +100%FREE /dev/mapper/eolebase--vg-root
resize2fs /dev/mapper/eolebase--vg-root
# Etape 02 = installer docker et docker-compose
2024-03-14 12:18:39 +01:00
apt install git make apt-transport-https ca-certificates curl gnupg-agent software-properties-common
2024-03-13 16:41:50 +01:00
mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
apt update
apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-compose
2024-03-14 12:18:39 +01:00
# Etape 01 = Installer eole-web
apt-get install eole-web
2024-03-13 16:41:50 +01:00
# Installer Envole
cd /root
mkdir git
cd /root/git
git clone https://forge.cadoles.com/Envole/envole.git
cd /root/git/envole
make install
cp /root/git/envole/misc/tools/e-reconfigure.sh /usr/bin/e-reconfigure
chmod +x /usr/bin/e-reconfigure
cp /root/git/envole/docker/envole.sh /usr/bin/envole
chmod +x /usr/bin/envole
## A FAIRE A LA MAIN CAR PAS POSSIBLE DE LES SET D'UN COUP
2024-03-14 12:18:39 +01:00
CreoleSet activer_mysql non
CreoleSet web_url eolebase.ac-test.fr
CreoleSet web_redirection /ninegate
2024-03-13 16:41:50 +01:00
CreoleSet cas_host envole.ac_test.fr
CreoleSet openldap_host envole.ac_test.fr
2024-03-13 20:28:49 +01:00
CreoleSet nextcloud_samba_host 192.168.0.26
2024-03-13 16:41:50 +01:00
# Définition des secrets
CreoleSet openldap_password changeme
CreoleSet database_rootpassword changeme
CreoleSet database_userpassword changeme
CreoleSet envole_adminpassword changeme
CreoleSet ninegate_secret changeme
CreoleSet keycload_userpassword changeme
# Activation des applications
CreoleSet activer_nineboard oui
CreoleSet activer_nextcloud oui
CreoleSet activer_nextcloud oui
CreoleSet activer_wordpress oui
CreoleSet activer_phpldapadmin oui
# Appliquer la configuration
reconfigure
2024-03-14 12:18:39 +01:00
# Pendant le reconf expliquer qu'il faut que le scribe soit up et avec un password writer connu sur l'annuaire