会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
泽锦
慢慢来,会更快。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
17
下一页
2017年7月2日
linux brctl command not found
摘要: [root@localhost ~]# brctl-bash: brctl: command not found 解决方法: [root@localhost ~]# yum install bridge-utils
阅读全文
posted @ 2017-07-02 09:07 泽锦
阅读(12322)
评论(2)
推荐(1)
2017年7月1日
docker安装及加速配置
摘要: 需要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 泽锦
阅读(3957)
评论(0)
推荐(0)
centos7添加bridge-nf-call-ip6tables出现No such file or directory
摘要: 在/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 泽锦
阅读(25416)
评论(1)
推荐(1)
2017年6月24日
mysql国内镜像下载网址
摘要: 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 泽锦
阅读(32718)
评论(1)
推荐(4)
2017年6月15日
shell脚本路径写法的注意点
摘要: 1.在脚本中先cd到指定路径,再操作文件 2.如果不满足第一条,文件请写绝对路径 要不有可能会出现自己手动执行脚本没有问题,但是加入crontab却发现执行失败的情况。
阅读全文
posted @ 2017-06-15 15:39 泽锦
阅读(766)
评论(0)
推荐(0)
2017年6月8日
openvpn之server配置篇
摘要: 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)
openvpn之client配置篇
摘要: 对于client端,其配置目录文件下有如下文件: 其中ca.crt client1.crt client1.csr client1.key 是从server端EasyRSA生成的文件复制过来的。 client1.ovpn client1.passwd: 存放客户端认证帐号密码 第一行放帐号,第二行放
阅读全文
posted @ 2017-06-08 17:18 泽锦
阅读(4508)
评论(0)
推荐(0)
openvpn之EasyRSA配置篇
摘要: 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之安装篇
摘要: 之前整过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)
2017年5月26日
redis获取当前时间精确到微秒
摘要: 在redis取得当前时的方法为执行time命令 127.0.0.1:6382> time1) "1495780564"2) "894089" 第一行为以 UNIX 时间戳格式表示已经过去的秒数 第二行为当前这一秒已经过去的微秒数 所以如果你想获得当前已经过去的总的微秒数(当前时间戳),可以执行如下:
阅读全文
posted @ 2017-05-26 14:40 泽锦
阅读(14957)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
17
下一页
公告