![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
zhengjian0617
这个作者很懒,什么都没留下…
展开
-
Cannot find OpenSSL
开始以为是没有安装openssl, openssl-devel,安装后发现还是提示这个错误,搜索了一下evp.h,这个文件也存在。GOOGLE 了一下,在stackoverflow,找到了答案,原来是 phpize 生成的configure脚本有问题。解决方法:export PHP_OPENSSL_DIR=yes./configure -with-openssl-dir=/usr/in...转载 2018-09-12 16:47:45 · 273 阅读 · 0 评论 -
CentOS 添加开机启动脚本
生成脚本内容# start nginx# chkconfig 2345 10 90/usr/local/nginx/sbin/nginx # start php/usr/local/sbin/php-fpm# start esnohup /usr/local/elasticsearch-6.4.0/bin/elasticsearch & # start redisno...原创 2018-09-10 09:56:53 · 994 阅读 · 0 评论 -
git使用
-- git 配置 -- 设置账户 git config --global user.name xxx git config --global user.email zhengjianfeng666@qq.com -- 查看设置 git config --list -- ssh 配置 ssh-keygen -t...原创 2018-09-18 09:35:35 · 129 阅读 · 0 评论 -
Centos rsync配置
https://www.cnblogs.com/taosim/articles/一、服务器端配置:# yum -y install xinetd# vi /etc/xinetd.d/rsync将如下代码service rsync{disable = yessocket_type = streamwait = nouser = rootserver = /usr/bin/r...转载 2018-09-18 12:11:02 · 1222 阅读 · 1 评论 -
Linux 常用端口
端口号码 / 层 名称 注释 1 tcpmux TCP 端口服务多路复用 5 rje 远程作业入口 7 echo Echo 服务 9 discard 用于连接测试的空服务 11 systat 用于列举连接了的端口的系统状态 13 daytime 给请求主机发送日期和时间 17 qo...转载 2018-09-18 12:11:40 · 619 阅读 · 0 评论 -
搞定Docker私有仓库Registry
转自:https://www.cnblogs.com/Javame/p/7389093.html一、什么是Docker私有仓库Registry官方的Docker hub是一个用于管理公共镜像的好地方,我们可以在上面找到我们想要的镜像,也可以把我们自己的镜像推送上去。但是,有时候我们的服务器无法访问互联网,或者你不希望将自己的镜像放到公网当中,那么你就需要Docker Registry,它可...转载 2018-09-27 17:45:10 · 234 阅读 · 0 评论 -
Docker下Elasticsearch无法通过java 连接
背景通过java API 连接es的时候9300端口无法访问, 提示如下错误:[{#transport#-1}{eD3ouMadRCGvciJh4jzsMw}{127.199.116.213}{127.199.116.213:9300}]org.elasticsearch.client.transport.NoNodeAvailableException: None of the con...原创 2018-10-18 17:21:36 · 2725 阅读 · 1 评论 -
win7 下 docker 端口访问问题
背景:安装nginx后, 指定了映射端口,而在浏览器中却始终无法访问,令人崩溃~!原因:The reason you’re having this, is because on Linux, the docker daemon (and your containers) run on the Linux machine itself, so “localhost” is also th...原创 2018-10-22 18:03:12 · 1731 阅读 · 1 评论