阿里云 CentOS7 + Nginx 部署Let’s Encrypt SSL证书 2020/12/21 | Nginx | admin | 暂无评论 | 498 views 上一篇讲了在CentOS6+nginx环境下如何用Let’s Encrypt签发免费的SSL证书,本篇将介绍在CentOS7环境下的签发方法。 在CentOS7环境下比在CentOS6环境下更简单,只要按照步骤做,基本不会有问题。 系统环境:CentOS Linux release 7.9.2009 (Core) 官方文档:https:/……
阿里云 CentOS6 + Nginx 部署Let’s Encrypt SSL证书 2020/12/03 | Nginx | admin | 暂无评论 | 534 views 系统环境:阿里云 CentOS release 6.10 (Final) Python版本:Python 2.6.6 官方文档:https://certbot.eff.org/lets-encrypt/centos6-nginx 官方文档很简单,就3步,但是基础环境不对的话,执行第2步时肯定会出错。 一、基础环……
nodejs安装 2019/02/18 | nodejs | admin | 暂无评论 | 780 views 直接从官网下载二进制包进行安装: 地址:https://nodejs.org/en/download/ 选择 Linux Binaries (x64) 安装前请卸载机器上已经存在的版本: yum remove nodejs yum remove npm 安装如下: wget https://nodejs.org……
nginx代理websoket 2018/10/08 | Nginx | admin | 暂无评论 | 1246 views 配置文件如下: http { include mime.types; default_type application/octet-stream; # for websoket map $http_upgrade $connection_upgrade { default upgrade; ” close; } log_format m……
由于本地JDK版本低导致对Let’s Encrypt证书不信任的问题 2018/05/04 | Tomcat | admin | 暂无评论 | 2089 views 异常信息: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderExceptio……
Tomcat8配置manager 2018/02/01 | Tomcat | admin | 暂无评论 | 1028 views conf/tomcat-users.xml 添加: <role rolename=”manager-gui”/> <role rolename=”admin-gui”/> <user username=”user” password=”password” roles=”manager-gui,admin-gu……
解决wordpress过滤掉br标签的问题 2017/11/21 | Wordpress | admin | 暂无评论 | 2324 views WordPress默认的编辑器中使用回车换行,在页面上可以正常展现,但是默认编辑器功能太有限了,不能够满足日常插入代码,图片,地图等功能。 于是我使用 UEditor-KityFormula富文本插件,git地址:https://gitee.com/fedkey/UEditor-KityFormula-for-wordpress ……
配置jconsole监控Tomcat/Java程序运行性能 2017/09/25 | Tomcat | admin | 暂无评论 | 1644 views 最近由于服务器上的一些问题,需要对tomcat进行调优,调优总得需要一定的数据支撑来设定合适的值吧,所以使用jdk自带的jconsole来对tomcat进行监控。 说一下环境:阿里云的服务器,tomcat7,jdk1.8 配置tomcat: 在tomcat/bin/目录下新建文件setenv.sh,将以下加入文件中: exp……
proxy.conf 2017/03/31 | Nginx | admin | 暂无评论 | 822 views # server_tokens off; sendfile on; tcp_nopush on; tcp_nodelay on; keepali……
nginx.conf 2017/03/31 | Nginx | admin | 暂无评论 | 1155 views # worker_processes 4; error_log logs/error.log; events { use epoll; worker_connections&nbs……