centos7下编译安装libiconv-1.14 error: ‘gets’ undeclared here (not in a function) By duncan21Posted on 2017 年 1 月 30 日2021 年 4 月 15 日Posted in LinuxTagged libiconvNo Comments on centos7下编译安装libiconv-1.14 error: ‘gets’ undeclared here (not in a function) 今天在centos7下编译安装libiconv-1.14报错: 解决方法如下: 编辑 libiconv-1.14/srclib/stdio.h 文件,这个文件在make之后才会生成[……] 阅读全文 Read More
系统出现kernel: audit: backlog limit exceeded提示 By duncan21Posted on 2017 年 1 月 26 日Posted in LinuxTagged audit, backlogNo Comments on 系统出现kernel: audit: backlog limit exceeded提示 今天早上上班以来,发现一台服务器无法ssh,果断找到了机房重启,机房重启的过程中,大量的 backlog limit exceeded 错误,如下图: 我就马上找了一些关于audit的信[……] 阅读全文 Read More
解决手机浏览器提示网站证书无效错误提示 By duncan21Posted on 2017 年 1 月 20 日2021 年 4 月 14 日Posted in LinuxTagged ssl, 浏览器错误No Comments on 解决手机浏览器提示网站证书无效错误提示 网站使用证书已经很久了,pc端打开没有任何问题,但是发现在手机端打开,浏览器会提示证书有问题: 通过工具检测,发现是证书链不完整: 我以comodo证书[……] 阅读全文 Read More
Centos7系统优化 By duncan21Posted on 2017 年 1 月 19 日2021 年 11 月 10 日Posted in LinuxTagged centos7, 优化No Comments on Centos7系统优化 #升级内核到最新 可以参考:https://teddylu.xyz/blog/4258.html #升级openssl 可以参考:https://teddylu.[……] 阅读全文 Read More
sqlserver 2008常用sql语句总结 By duncan21Posted on 2017 年 1 月 19 日2017 年 8 月 17 日Posted in sqlserverNo Comments on sqlserver 2008常用sql语句总结 sqlserver 2008常用sql语句总结 1.查询某个数据库有多少个表 select count(*) from sys.tables as t, sysindexes as i whe[......]阅读全文 Read More
Linux下PHP扩展PDO编译安装 By duncan21Posted on 2017 年 1 月 18 日2017 年 1 月 18 日Posted in LinuxTagged pdo, pdo_mysqlNo Comments on Linux下PHP扩展PDO编译安装 背景: 最近,有个新站点上线,程序使用的是pdo连接MySQL,但是线上的php在当初安装的时候没有编译pdo, 同时,由于是线上服务,不能重新编译php所以,考虑使用php的扩展编译方法来实现。[……] 阅读全文 Read More
windows下强制删除某个正在使用的文件 By duncan21Posted on 2017 年 1 月 17 日Posted in computingTagged delNo Comments on windows下强制删除某个正在使用的文件 与linux不同,正常情况下,是不能删除一下正在使用中的文件,比如iis的日志文件,线上的生产环境,是不能随便暂停或者关闭iss,所以需要强制删除文件。域名如下: del /s/f/q f:/a[……] 阅读全文 Read More