代码改变世界

随笔档案-2015年08月

项目所遇问题

2015-08-30 14:11 by sylar_liang, 188 阅读, 收藏,
摘要: 问题1: git push时总是提示要输入账户和密码原因: 克隆时使用的是 git clonehttps://github.com/xxx/xxx.git 这种形式。解决: 使用 ssh 方式 而非 https 方式clonegit clone git@github.com:xxx/xxx.git问... 阅读全文

linux下编译C++程序无法链接Mysql的问题

2015-08-15 13:40 by sylar_liang, 513 阅读, 收藏,
摘要: 1.添加mysql的头文件MYSQLINC = /usr/local/mysql/include或MYSQLINC = /usr/local/mysql2.添加mysql的依赖库#find / -name "libmysqlclient*" // 查找mysql lib的目录MYSQLLIB = -... 阅读全文

linux 同步时间 调试core内核

2015-08-07 18:05 by sylar_liang, 284 阅读, 收藏,
摘要: 1.同步时间#chkconfig --list | grep ntpntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:offntpdate 0:off 1:off 2:off 3:off 4:off 5:off 6:off#chkconfig nt... 阅读全文