tech:notes_slurm-web_et_pyslurm
Notes slurm-web et pyslurm
apt-get install debhelper apache2-dev node-uglify apt-get install libslurm-dev python-dev apt-get install libslurmdb-dev apt-get install devscripts apt-get install python-flask apt-get install ClusterShell apt-get install fakeroot apt-get install python-pip apt-get install cython apt-get install apache2 apt-get install libapache2-mod-wsgi apt-get install npm # apt-get install libjs-bootstrap libjs-jquery-flot libjs-jquery-tablesorter libjs-requirejs libjs-requirejs-text libjs-three libjs-bootstrap-typeahead libjs-bootstrap-tagsinput libjs-d3
cat > /etc/apt/sources.list.d/debian-stretch.list <<EOF deb ftp://ftp.fr.debian.org/debian stretch main contrib deb-src ftp://ftp.fr.debian.org/debian stretch main contrib deb http://security.debian.org/ stretch/updates main contrib deb-src http://security.debian.org/ stretch/updates main contrib EOF apt-get clean apt-get update apt-get install $(dpkg -l |grep slurm | grep ^ii |awk '{print $2}') rm -f /etc/apt/sources.list.d/debian-stretch.list apt-get clean apt-get update
git clone https://github.com/gingergeeks/pyslurm cd pyslurm
pyslurm/setup.py - __max_slurm_hex_version__ = "0x0f0803" + __max_slurm_hex_version__ = "0x0f0809" -DEFAULT_SLURM = '/usr' +DEFAULT_SLURM = '/tmp' SLURM_DIR = SLURM_LIB = SLURM_INC = '' +SLURM_INC='/usr/include' +SLURM_LIB='/usr/lib/x86_64-linux-gnu'
git clone https://github.com/edf-hpc/libjs-bootstrap-typeahead cd libjs-bootstrap-typeahead/ debuild -us -uc -b dpkg -i ../libjs-bootstrap-typeahead_0.11.1-1_all.deb git clone https://github.com/edf-hpc/libjs-bootstrap-tagsinput cd libjs-bootstrap-tagsinput/ debuild -us -uc -b dpkg -i ../libjs-bootstrap-tagsinput_0.5.0-1_all.deb apt-get -f install
debuild -us -uc -b sudo dpkg -i ../python-pyslurm*.deb
a2enmod wsgi
a2enconf javascript-common
a2enconf slurm-web-*
service apache2 reload
tech/notes_slurm-web_et_pyslurm.txt · Dernière modification : de 127.0.0.1
