服务器使用赛风
摘要:赛风->设置->本地代理端口 HTTP/HTTPS 设置一个端口号,如7070 重新连接 windows上安装git 打开git bash ssh -CqTnN -R 0.0.0.0:9000:localhost:7070 root@服务器ip 任何服务器上使用: export http_proxy
阅读全文
pycharm 远程开发
摘要:1. 服务器安装图形化 和 pycharm 本地使用 MobaXterm 工具登陆 session配置 勾选 x11-forwarding 运行pycharm.sh 2. 本地pycharm 远程服务器的同步配置 远程服务器IP地址192.168.203.95,开启ssh服务,安装python版本2
阅读全文
swagger ui
摘要:You can pull a pre-built docker image of the swagger-ui directly from Dockerhub: Will start nginx with swagger-ui on port 80. Or you can provide your
阅读全文
git
摘要:git 命令: 列出所有分支 git branch git branch -v git branch -vvgit branch --merged (列出已经合并到当前分支的分支,可删除) git branch --no-merged 创建分支 git branch iss53 删除分支 git b
阅读全文
dns server 配置
摘要:# cat /etc/named.conf//// named.conf//// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS// server as a caching only nameserver
阅读全文
etcd 集群恢复
摘要:七个节点,挂了5个,etcd无法访问 参考: https://coreos.com/etcd/docs/latest/op-guide/recovery.html 此次我只恢复了v3的数据 在存活的节点上 export ETCDCTL_API=3 alias etcdctl="etcdctl --e
阅读全文
etcd ui
摘要:https://github.com/henszey/etcd-browser docker build --build-arg http_proxy=http://109.105.4.17:3128 --build-arg https_proxy=http://109.105.4.17:8119
阅读全文
powerdns
摘要:powerdns http://bbs.51cto.com/thread-880297-1.html https://blog.csdn.net/kepa520/article/details/79142146 http://bbs.chinaunix.net/thread-3592697-1-1.
阅读全文
sysdig
摘要:centos 7 安装 https://sysdig.com/opensource/sysdig/install/ 1) Trust the Draios GPG key, configure the yum repository rpm --import https://s3.amazonaws.
阅读全文
proxychains 安装
摘要:一、安装下载源码: 编译和安装: 如果执行make && make install时提示make: cc: Command not found错误 这是由于新安装的Linux系统没有安装gcc环境,需要安装gcc 二、配置proxychains-ng的配置非常简单,只需将代理加入[ProxyList
阅读全文
centos7 莫名重起的问题
摘要:ausearch -i -m system_boot,system_shutdown | tail -4 type=SYSTEM_BOOT msg=audit(2018年05月10日 07:45:39.813:8) : pid=1697 uid=root auid=unset ses=unset s
阅读全文
fio 测试磁盘
摘要:root@rook-test:/# ceph osd status+ + + + + + + + + +| id | host | used | avail | wr ops | wr data | rd ops | rd data | state |+ + + + + + + + + +| 0 |
阅读全文
too few PGs per OSD (20 < min 30)
摘要:ceph osd pool set replicapool pg_num 150 ceph osd pool set replicapool pgp_num 150
阅读全文
容器网络之网桥
摘要:创建网桥 # brctl addbr mhc 绑定到物理网卡(网卡会失效) # brctl addif mhc enp3s0 # ifconfig enp3s0 0.0.0.0 给网桥配置一个ip (启用了) # ifconfig mhc 109.105.4.65 # ifconfig docker
阅读全文
容器网络之 veth设备
摘要:创建命名空间 # ip netns add mhc # ip link show1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT qlen 1 link/loopback 00:00:00
阅读全文
ubuntu apt-get 代理
摘要:# cat /etc/apt/apt.conf Acquire::http::Proxy "http://109.105.4.17:8119"; Acquire::https::Proxy "http://109.105.4.17:8119";
阅读全文
network
摘要:yum install tcpdump tcpdump -i eth1 -vvv icmp # dig gcloud.bst-1.cns.bstjpc.com @109.105.30.14; <<>> DiG 9.9.4-RedHat-9.9.4-38.el7_3.3 <<>> gcloud.bst
阅读全文
磁盘挂载
摘要:fdisk /dev/sdb d 删除分区 n 添加分区 (p 主,e 扩展) + 233G w 保存 格式化 mkfs -t ext3 /dev/sdb1 挂载 mkdir /ssd mount /dev/sdb1 /ssd vi /etc/fstab 添加 /dev/sdb1 /ssd ext3
阅读全文