单机服务端节点启动配置 vi /etc/systemd/system/consul.service [Unit] Description=consul After=syslog.target network.target [Service] Type=simple RemainAfterExit=no WorkingDirectory=/usr/local/consul ExecStart=/u ...
单机服务端节点启动配置 vi /etc/systemd/system/consul.service [Unit] Description=consul After=syslog.target network.target [Service] Type=simple RemainAfterExit=no WorkingDirectory=/usr/local/consul ExecStart=/u ...
.gitlab-ci.yml文件编写说明 大概念 gitlab8.0开始:整合了gitlab CI,项目中增加.gitlab-ci.yml即可。 GitLab CI:管理各个项目的构建状态。 Runner:可安装在任意机器,连接gitlab,执行构建任务,进行持续集成。(不影响gitlab性能) 在项目根目录添加.gitlab-ci.yml之后,每次提交或者合并都会自动运行构建任务。 小 ...
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 ...
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 ...
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, ...
NodeJS 11.x curl -sL https://rpm.nodesource.com/setup_11.x | bash - NodeJS 10.x curl -sL https://rpm.nodesource.com/setup_10.x | bash - NodeJS 8.x curl -sL https://rpm.nodesource.com/setup_8.x | bas ...
最新评论