Skip to content

Instantly share code, notes, and snippets.

View cchaudier's full-sized avatar
📌
https://mtr.bio/compagnons-devops

Christophe Chaudier cchaudier

📌
https://mtr.bio/compagnons-devops
View GitHub Profile
@cchaudier
cchaudier / install_neo4j_spacial.sh
Last active August 29, 2015 14:24
Neo4j - Download and start Neo4j with spacial plugin on a Codeship build box
#/bin/bash
VERSION="2.2.3"
VERSION_SPACIAL="0.15"
PORT_DB=7476 #7474
PORT_ADM=7475 #7473
PWD=$(pwd)
cd ~/
@cchaudier
cchaudier / tests.sh
Created March 19, 2014 09:32
Launch all .bats for testing
for fic_test in $(ls -1 *.bats); do
echo "Lancement des tests $fic_test"
bats $fic_test
done
#!/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/;
@cchaudier
cchaudier / cmd_UNIX_util.sh
Last active December 22, 2015 23:29
Commandes unix utiles
#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