- Disable SELinux
setenfoce 0
- Install SCL 1.0
sudo yum -y install centos-release-SCL
{ | |
"bitwise": true, | |
"curly": true, | |
"eqeqeq": true, | |
"immed": true, | |
"indent": 4, | |
"latedef": true, | |
"newcap": true, | |
"noarg": true, | |
"noempty": true, |
{ | |
"ids": false, | |
"import": false, | |
"important": false, | |
"unique-headings": false, | |
"floats": false, | |
"font-sizes": false | |
} |
#!/bin/bash | |
# | |
# Check LSI MegaSAS 9260 status | |
# | |
# Global | |
STATUS1=`megacli -AdpAllInfo -aALL -NoLog | egrep '(Degraded|Failed)' | grep -v ' 0' | grep -v ': No'`; | |
if [ "x$STATUS1" != "x" ]; then | |
megacli -AdpAllInfo -aAll | mail -s "[sol-mtp-virt1] Panne RAID" root |
{ | |
"directory": "vendor" | |
} |
#!/bin/sh | |
# | |
# Script who bench file creation | |
# | |
HOSTNAME=$(hostname) | |
PID=$$ | |
USAGE="Usage: iobench.sh TIMEOUT PATH" |
#!/bin/bash | |
# | |
# Create an YUM reporistory from RPM with createrepo & repoview | |
# | |
# Repository options | |
REPO_PATH=/home/toto/public_html/rpms.toto.com/www | |
REPO_LIST="toto toto-testing" | |
DISTRO_LIST="el fedora" |
#!/bin/bash | |
# | |
# Miror git repositories with Github. | |
# To work you must declare a remote called "github" | |
# | |
GITHUB_MIRROR="bla blabla etc" | |
GIT_REPOSITORIES=/home/git/repositories |
#!/bin/zsh | |
# | |
# yum-check : Send by mail a "yum check-update" | |
# | |
# by Guillaume Kulakowski <guillaume@kulakowski.fr> | |
# Licensed under GPLv2 <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html> | |
# Version 1.0.1 | |
# | |
# Require : zsh, yum |