上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 90 下一页
摘要: 一、Windows、Linux虚拟机、docker关系图 如果此时在Windows宿主机中pingDocker容器是ping不同的,因为在宿主机上没有通往172.17.0.0/24网络的路由,宿主机会将发往172.17.0.0/24网络的数据发往默认路由,这样就无法到达容器。 二、操作 2.1 关闭 阅读全文
posted @ 2019-08-29 13:52 牛奔 阅读(1882) 评论(0) 推荐(0)
摘要: 有时候为了方便管理,我们常常喜欢在Linux中将之安装为服务,然后就可以使用服务来管理。 但是当我们运行安装服务的命令时候,假设服务名为myservice #chkconfig --add myservice 常常会出现 service myservice does not support chkc 阅读全文
posted @ 2019-08-29 12:29 牛奔 阅读(220) 评论(0) 推荐(0)
摘要: 第一步: 编写nginx文件,放入/etc/init.d/ nginx文件内容如下, 部分为自己实际nginx安装的路径。 #!/bin/bash # nginx Startup script for the Nginx HTTP Server # it is v.0.0.2 version. # 阅读全文
posted @ 2019-08-29 12:06 牛奔 阅读(3266) 评论(0) 推荐(0)
摘要: This article is post on https://coderwall.com/p/ggmpfa configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution复制代码 阅读全文
posted @ 2019-08-27 17:47 牛奔 阅读(316) 评论(0) 推荐(0)
摘要: 添加用户 useradd -r -s /sbin/nologin php-fpm 下载解压安装包 cd /data/pkg wget http://php.net/get/php-7.2.2.tar.gz/from/this/mirror mv mirror php-7.2.2.tar.gz tar 阅读全文
posted @ 2019-08-27 16:04 牛奔 阅读(291) 评论(0) 推荐(0)
摘要: 让页面进行刷新,可以使用location.reload()方法,但是这种方法会让页面一直不断的刷新,这是因为当页面加载完成以后,我们让它刷新一次,那么浏览器就会重新向服务器请求数据,界面会重新加载,然后,加载完成又调用了location.reload()方法,这样就陷入了死循环,一直处于请求然后刷新 阅读全文
posted @ 2019-08-27 10:41 牛奔 阅读(9333) 评论(0) 推荐(2)
摘要: 使用jquery的ajax方法可以异步提交表单,成功后后台返回json数据,回调函数处理,可以不用刷新页面,达到异步的目的; 处理表单的数据可以用serialize()方法进行序列化,而如果提交的数据包括文件流的话,就需要使用 FormData对象: 不带文件的表单数据使用:var data = $ 阅读全文
posted @ 2019-08-26 17:14 牛奔 阅读(1201) 评论(0) 推荐(1)
摘要: 错误代码: 1293 Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause 原因: mysql版本低版本不支持在 阅读全文
posted @ 2019-08-23 10:27 牛奔 阅读(1069) 评论(0) 推荐(0)
摘要: 1 安装ImageMagick依赖 yum install ImageMagick ImageMagick-devel 2 安装zbar拓展 wget -c http://jaist.dl.sourceforge.net/project/zbar/zbar/0.10/zbar-0.10.tar.bz 阅读全文
posted @ 2019-08-22 16:26 牛奔 阅读(801) 评论(0) 推荐(0)
摘要: 1. Redis默认不是以守护进程的方式运行,可以通过该配置项修改,使用yes启用守护进程 daemonize no 2. 当Redis以守护进程方式运行时,Redis默认会把pid写入/var/run/redis.pid文件,可以通过pidfile指定 pidfile /var/run/redis 阅读全文
posted @ 2019-08-22 15:30 牛奔 阅读(161) 评论(0) 推荐(0)
上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 90 下一页