slurm.conf
建议修正当前slurm.conf的一些和常规用法差别较大的配置,建议逐步尝试把这些用法修正。这些配置修改对SLURM用法没有影响,可以在线进行。若发生异常,还原slurm.conf配置,重启slurm服务即可。
| set-option -g set-titles on | |
| set-option -g set-titles-string '#T #W tmux{#S}:#I.#P' | |
| set-window-option -g automatic-rename on | |
| set-option -g history-limit 6000 | |
| set-option -s escape-time 0 | |
| set-option -g display-time 4000 | |
| set-option -g repeat-time 300 | |
| set-window-option -g aggressive-resize on | |
| set-option -g base-index 1 | |
| set-window-option -g pane-base-index 1 |
| // A small SSH daemon providing bash sessions | |
| // | |
| // Server: | |
| // cd my/new/dir/ | |
| // #generate server keypair | |
| // ssh-keygen -t rsa | |
| // go get -v . | |
| // go run sshd.go | |
| // | |
| // Client: |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "os/signal" | |
| "syscall" | |
| ) | |
| func main() { |
| #!/bin/bash -e | |
| DIST="centos7" | |
| TAG="$(date +%Y%m%d)" | |
| IMG_DIR="${PWD}/buildroot-${DIST}" | |
| REPO_DIR="${IMG_DIR}/etc/yum.repos.d" | |
| RPMS=( | |
| bind-utils | |
| bash |
Add the following chunk to your existing ISC dhcpd.conf file.
if exists user-class and ( option user-class = "iPXE" ) {
filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
filename "undionly.kpxe";
}
(or see https://gist.github.com/4008017 for a more elaborate setup