This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
VERSION="2.2.3" | |
VERSION_SPACIAL="0.15" | |
PORT_DB=7476 #7474 | |
PORT_ADM=7475 #7473 | |
PWD=$(pwd) | |
cd ~/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for fic_test in $(ls -1 *.bats); do | |
echo "Lancement des tests $fic_test" | |
bats $fic_test | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use feature 'switch'; | |
use strict; | |
use warnings; | |
use Data::Dumper; | |
use File::Basename; | |
use File::Copy; | |
use File::Path qw/make_path/; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Création user | |
user=uvadm; useradd -d /home/${user} -m -u 850 -g univ -s /usr/bin/ksh $user;echo $user:$user | chpasswd; su - $user "-c id" | |
echo "<utilisateur>:<pass>"|chpasswd -c #changer le mot de passe d'un utilisateur | |
#Création VG | |
#Création LV | |
lsvg softvg | |
mklv -y 'cadctilv' -t 'jfs2' softvg 4 |