上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页
摘要: [root@localhost ~]# brctl-bash: brctl: command not found 解决方法: [root@localhost ~]# yum install bridge-utils 阅读全文
posted @ 2017-07-02 09:07 泽锦 阅读(12067) 评论(2) 推荐(1) 编辑
摘要: 需要centos7版本,内核版本不低于3.10[root@localhost ~]# uname -r3.10.0-514.el7.x86_64 第一步:更新当前软件:[root@localhost ~]#yum update第二步:添加Docker的yum源[root@localhost ~]# 阅读全文
posted @ 2017-07-01 17:10 泽锦 阅读(3932) 评论(0) 推荐(0) 编辑
摘要: 在/etc/sysctl.conf中添加: net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1 [root@localhost ~]# cat /etc/sysctl.conf net.brid 阅读全文
posted @ 2017-07-01 15:23 泽锦 阅读(25057) 评论(1) 推荐(1) 编辑
摘要: http://mirrors.sohu.com/mysql/ http://mirrors.ustc.edu.cn/mysql-ftp/Downloads/ 开源镜像站点汇总 http://segmentfault.com/a/1190000000375848 http://mirrors.ustc 阅读全文
posted @ 2017-06-24 15:10 泽锦 阅读(32279) 评论(1) 推荐(4) 编辑
摘要: 1.在脚本中先cd到指定路径,再操作文件 2.如果不满足第一条,文件请写绝对路径 要不有可能会出现自己手动执行脚本没有问题,但是加入crontab却发现执行失败的情况。 阅读全文
posted @ 2017-06-15 15:39 泽锦 阅读(753) 评论(0) 推荐(0) 编辑
摘要: openvpn server的配置路径下有大约如下文件: 其中ca.crt ca.key crl.pem dh2048.pem server.crt server.csr server.key 是从之前EasyRSA生成的key复制过来的。 ccd文件夹: 此文件夹用来保留对不同client的配置信 阅读全文
posted @ 2017-06-08 17:28 泽锦 阅读(1809) 评论(0) 推荐(0) 编辑
摘要: 对于client端,其配置目录文件下有如下文件: 其中ca.crt client1.crt client1.csr client1.key 是从server端EasyRSA生成的文件复制过来的。 client1.ovpn client1.passwd: 存放客户端认证帐号密码 第一行放帐号,第二行放 阅读全文
posted @ 2017-06-08 17:18 泽锦 阅读(4506) 评论(0) 推荐(0) 编辑
摘要: cd EasyRSA-2.2.2 source vars ./build-ca #(build the certificate authority (CA) certificate and key)生成证书 ./build-key-server server #(generate a certifi 阅读全文
posted @ 2017-06-08 12:34 泽锦 阅读(2697) 评论(0) 推荐(0) 编辑
摘要: 之前整过openvpn,现把一些过程记录下来,方便以后查阅。 #!/bin/bashcd /usr/local/srcyum install pam-devel.x86_64 -ywget http://www.oberhumer.com/opensource/lzo/download/lzo-2. 阅读全文
posted @ 2017-06-08 12:15 泽锦 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 在redis取得当前时的方法为执行time命令 127.0.0.1:6382> time1) "1495780564"2) "894089" 第一行为以 UNIX 时间戳格式表示已经过去的秒数 第二行为当前这一秒已经过去的微秒数 所以如果你想获得当前已经过去的总的微秒数(当前时间戳),可以执行如下: 阅读全文
posted @ 2017-05-26 14:40 泽锦 阅读(14785) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页