上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页
摘要: Vim has a builtin help system, I just quoted what it says to :h E212. You might want to edit the file as a superuser like sudo vim FILE. Or if you don 阅读全文
posted @ 2017-03-15 09:26 Eamon13 阅读(22700) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES # # It is highly advisable to create own systemd services or udev rules # to run scripts d 阅读全文
posted @ 2017-03-10 15:24 Eamon13 阅读(713) 评论(0) 推荐(0) 编辑
摘要: 1 磁盘 iostat 安装 yum install sysstat 2 网络 ifstat RX Pkts/Rate 数据包接收流量 RX Errs/Drop 丢包 TX Pkts/Rate 数据包发送流量 RX Data/Rate 数据接收流量 TX Data/Rate 数据发送流量 lo与et 阅读全文
posted @ 2017-03-07 15:34 Eamon13 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 访问 1. listen_addresses 监听访问地址 2. port 监听端口 3. max_connections 最大连接数 4. 性能 1. shared_buffers PostgreSql并非直接在磁盘上进行数据修改,而是将数据据读入shared buffer cache ,进而Po 阅读全文
posted @ 2017-03-07 10:47 Eamon13 阅读(912) 评论(0) 推荐(0) 编辑
摘要: 数据一致性通常指关联数据之间的逻辑关系是否正确和完整。而数据存储的一致性模型则可以认为是存储系统和数据使用者之间的一种约定。如果使用者遵循这种约定,则可以得到系统所承诺的访问结果。 常用的一致性模型有:a、严格一致性(linearizability, strict/atomic Consistenc 阅读全文
posted @ 2017-02-09 16:46 Eamon13 阅读(683) 评论(0) 推荐(0) 编辑
摘要: openssl genrsa -out ca.key 2048openssl req -x509 -new -nodes -key ca.key -subj "/CN=cluster.local" -days 10000 -out ca.crtopenssl genrsa -out server.k 阅读全文
posted @ 2017-01-11 09:46 Eamon13 阅读(366) 评论(1) 推荐(0) 编辑
摘要: nfs 搭建yum install nfs-utils rpcbind 修改配置文件 /etc/exports格式 每个共享的文件系统需要独立一行目录客户端主机列表需要使用空格隔开配置文件中支持通配符 语法结构 共享路径 客户端主机(选项) 默认设置 ro,sync,wdelay,root_squa 阅读全文
posted @ 2016-12-29 14:44 Eamon13 阅读(191) 评论(0) 推荐(0) 编辑
摘要: port The port that the service is exposed on the service’s cluster ip (virsual ip). Port is the service port which is accessed by others with cluster 阅读全文
posted @ 2016-12-21 17:29 Eamon13 阅读(938) 评论(0) 推荐(0) 编辑
摘要: rpm 安装包制作 思路 参照系统自带 etcd 解压-》替换掉执行文件-》打包 1 预备安装工具 下载工具 yumloader #yum install -y yum-utils 解压工具 rmp打包工具 fpmyum -y install ruby rubygems ruby-devel安装fp 阅读全文
posted @ 2016-12-08 14:50 Eamon13 阅读(702) 评论(2) 推荐(0) 编辑
摘要: location / { root /home/data-nginx/; index index.html index.htm; autoindex on; ##显示索引 autoindex_exact_size on; ##显示大小 autoindex_localtime on; ##显示时间 } 阅读全文
posted @ 2016-12-08 14:28 Eamon13 阅读(391) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页