Ce document trace mes premières expérimentations avec un Raspberry Pi. Cela permettra sans doute à d'autre de gagner du temps.
Il s'agit d'un modèle B (avec 512Mo de RAM donc).
# This script create a Centos Minimal Unattended ISO | |
# This method is based on excellent article http://pyxlmap.net/technology/software/linux/custom-centos-iso | |
# | |
# This script has be tested with CentOS 7.2 (on the orign server) to install CentOS 7.2 (on the target server) | |
# TODO: | |
# * test package update to reduce the update task on the target system. The following command downloads all updates : | |
# (cd $CENTOS_CUSTOM_PATH/Packages ; yumdownloader $(for i in *; { echo ${i%%-[0-9]*}; } ) ) | |
# Some global settings : |
cd /etc/yum.repo.d | |
curl -O http://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/cloudera-cdh5.repo | |
curl -O http://archive.cloudera.com/gplextras5/redhat/6/x86_64/gplextras/cloudera-gplextras5.repo | |
rpm --import http://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/RPM-GPG-KEY-cloudera | |
yum clean all | |
# All | |
yum install -y zookeeper | |
mkdir -p /var/lib/zookeeper | |
chown -R zookeeper /var/lib/zookeeper/ |
#!/bin/sh | |
IDRAC_PWD=calvin | |
IDRAC_LOGIN=root | |
IDRAC_IP_LIST="192.168.0.120 10.90.220.10 10.90.200.105" | |
sshracadm() | |
{ | |
ip=$1 | |
shift |
ZONE='' | |
# Source this file to get system timezone on CentOS/RHEL | |
test -f /etc/sysconfig/clock && . /etc/sysconfig/clock | |
# Read /etc/timezone on Debian | |
test -f /etc/timezone && ZONE=$(cat /etc/timezone) | |
# This is for CentOS7 | |
test -x /usr/bin/timedatectl && ZONE=$(/usr/bin/timedatectl |grep -i timezone | awk '{print $2}' ) |
#!/bin/sh | |
# download with this permalink : https://gist.githubusercontent.com/skian/8f5de0419755a7b07d7d/raw/96b4b06ad41630359f54d12db5d43eb52e076ed8/linux-on-dell.sh | |
# Usage : | |
# This script should be run as root | |
yum install -y perl wget | |
# This was the pre-2015 way to install Dell YUM repo |
# This script create a Centos Minimal Unattended ISO | |
# This method is based on excellent article http://pyxlmap.net/technology/software/linux/custom-centos-iso | |
# | |
# This script has be tested with CentOS 6.5 | |
# TODO: | |
# * test package update to reduce the update task on the target system. The following command downloads all updates : | |
# (cd $CENTOS_CUSTOM_PATH/Packages ; yumdownloader $(for i in *; { echo ${i%%-[0-9]*}; } ) ) | |
# Some global settings : |
Ce document trace mes premières expérimentations avec un Raspberry Pi. Cela permettra sans doute à d'autre de gagner du temps.
Il s'agit d'un modèle B (avec 512Mo de RAM donc).
#!/usr/bin/python | |
# -*- coding: UTF-8 -*- | |
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 | |
""" | |
XXX BUG Protect search field | |
XXX BUG missing last char (not anymore ?) | |
XXX TODO test form_groupings | |
XXX BUG not error mess when wrong login | |
""" |