NEW

基于ZFS存储的dalmatinerDB+DalmatinerFE+Grafana环境

2019-03-06

部署zfs文件系统挂载到 /data 下载ddb git源:https://github.com/dalmatinerdb/dalmatinerdb/tree/0.3.1p1 下载dfe git源:https://github.com/dalmatinerdb/dalmatiner-frontend/tree/0.3.1p1 下载grafana rpm包:https://s3-us-west-2 ...

NEW

DNSMASQ

2019-03-06

wget http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.79.tar.gz yum -y install gcc tar -zxvf dnsmasq-2.79.tar.gz cd dnsmasq-2.79 make install ln -s /usr/local/sbin/dnsmasq /usr/sbin/dnsmasq vi /usr/li ...

NEW

gitlab+ci部署

2019-03-06

.gitlab-ci.yml文件编写说明 大概念 gitlab8.0开始:整合了gitlab CI,项目中增加.gitlab-ci.yml即可。 GitLab CI:管理各个项目的构建状态。 Runner:可安装在任意机器,连接gitlab,执行构建任务,进行持续集成。(不影响gitlab性能) 在项目根目录添加.gitlab-ci.yml之后,每次提交或者合并都会自动运行构建任务。 小 ...

NEW

tmux

2019-03-06

tmux 安装 git clone https://github.com/tmux/tmux.git yum install autoconf automake libevent ncurses libevdev-devel libevent-devel cd tmux sh autogen.sh ./configure && make #自动补全 wget https://ra ...

NEW

lvs+keepalived (openstack)

2019-03-06

LVS vi /etc/keepalived/keepalived.conf global_defs { router_id LVS_DEVEL } vrrp_instance VI_1 { state MASTER interface em1 virtual_router_id 51 priority 100 advert_int 1 authentic ...

NEW

rsync+inotify

2019-03-06

yum install inotify-tools #!/bin/sh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin /usr/bin/inotifywait -mrq --timefmt '%Y%m%d-%H:%M' --format '%T %e %w%f' -e close_write,modify, ...