上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
  2020年6月30日
摘要: 久了不装有点忘,百度临时看还有点蒙,渣渣 https://www.zentao.net/book/zentaopmshelp/90.html 1、将安装包直接解压到/opt目录下 特别说明: 不要 解压到别的目录再拷贝到/opt/,因为这样会导致文件的所有者和读写权限改变, 也不要解压后把整个目录7 阅读全文
posted @ 2020-06-30 15:19 独醉笑清风 阅读(228) 评论(0) 推荐(0) 编辑
  2020年6月28日
摘要: server { listen 80; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { index index.html; root /usr/local/ngin 阅读全文
posted @ 2020-06-28 15:36 独醉笑清风 阅读(1581) 评论(0) 推荐(0) 编辑
  2020年6月26日
摘要: CentOS7默认的防火墙不是iptables,而是firewalle.要停止firewall systemctl disable firewalld.service systemctl stop firewalld.service systemctl status firewalld.servic 阅读全文
posted @ 2020-06-26 11:33 独醉笑清风 阅读(570) 评论(0) 推荐(0) 编辑
  2020年5月5日
摘要: 1.切换到源码包: # cd /root/nginx-1.12.0 2.进行编译: # ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module 3.配置完成后,运行命令: 阅读全文
posted @ 2020-05-05 19:58 独醉笑清风 阅读(4483) 评论(0) 推荐(1) 编辑
  2020年4月20日
摘要: update mto_post set author_id = floor(10+rand()*10) update mto_post t set t.created = concat('2019-',floor(1+rand()*10),'-',floor(rand()*3), floor(1+r 阅读全文
posted @ 2020-04-20 05:41 独醉笑清风 阅读(398) 评论(0) 推荐(0) 编辑
  2020年4月1日
摘要: 解决方法:设置input的属性值为用readonly代替; 分析:1、readonly和disabled的区别readonly:针对input(text / password)和textarea有效,在设置为true的情况下,用户可以获得焦点,但是不能编辑,在提交表单时,输入项会作为form的内容提 阅读全文
posted @ 2020-04-01 14:48 独醉笑清风 阅读(2360) 评论(0) 推荐(0) 编辑
  2020年3月17日
摘要: 配置权重 upstream tomcats { server 172.21.13.165:8088 weight=10; server 172.21.13.81:8088 weight=1; } server { listen 80; #绕过跨域 这样后端那些接口需要跨域也不用单独配置了。这样 we 阅读全文
posted @ 2020-03-17 12:38 独醉笑清风 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Nginx的下载网址为:http://nginx.org/en/download.html Nginx源码下载 # mkdir /root/nginx # cd /root/nginx # wget http://nginx.org/download/nginx-1.12.2.tar.gz # ta 阅读全文
posted @ 2020-03-17 11:01 独醉笑清风 阅读(260) 评论(0) 推荐(0) 编辑
  2020年3月11日
摘要: 通过网络同步时间 (1)首先安装 ntpdate 命令: yum install -y ntpdate (2)接着执行如下命令开始同步: ntpdate 0.asia.pool.ntp.org 若上面的时间服务器不可用,也可以改用如下服务器进行同步: time.nist.gov time.nuri. 阅读全文
posted @ 2020-03-11 20:39 独醉笑清风 阅读(145) 评论(0) 推荐(0) 编辑
  2020年3月3日
摘要: <script type="text/javascript"> function fileChange(target) { var name=target.value; var fileName = name.substring(name.lastIndexOf(".")+1).toLowerCas 阅读全文
posted @ 2020-03-03 14:01 独醉笑清风 阅读(1746) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页