摘要: c++封装编写线程池 可以模拟go 的postgresql连接池,但要自己模拟实现c++的channal 阅读全文
posted @ 2017-05-11 10:51 cdongyang 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 自动挂载配置文件: /etc/fstab 先手动将所有磁盘打开,再用ps -ef | grep mount.ntfs查出所有磁盘的mount状态,粘贴到/etc/fstab改一下,重启就看到效果了 参考自 ubuntu14.04开机自动挂载windows磁盘的配置方法 阅读全文
posted @ 2017-05-11 10:25 cdongyang 阅读(1766) 评论(0) 推荐(0) 编辑
摘要: 查看日志:journalctl -xe 重新加载更新了的service:systemctl daemon-reload 设置ssh.service自启:systemctl enable ssh.service 关闭ssh.service自启:systemctl disable ssh.service 阅读全文
posted @ 2017-05-11 00:42 cdongyang 阅读(7358) 评论(0) 推荐(0) 编辑