会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wadeson
github:https://github.com/jsonhc/
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
下一页
2017年7月25日
python之time模块
摘要: >>> time.asctime(x)'Tue Jul 25 14:44:59 2017' 将时间戳转化为string: >>> time.ctime(time.time()) 'Tue Jul 25 15:16:11 2017' >>> print(datetime.datetime.now()
阅读全文
posted @ 2017-07-25 15:25 wadeson
阅读(323)
评论(0)
推荐(0)
编辑
2017年7月24日
nginx之proxy、cache、upstream模块学习
摘要: nginx之proxy反向代理模块: location ^~ /proxy_path/ { root "/www/html"; 这里没必要配置 index index.html; 这里也没必须配置 proxy_pass http://192.168.223.137/; proxy_set_heade
阅读全文
posted @ 2017-07-24 14:50 wadeson
阅读(4549)
评论(0)
推荐(0)
编辑
2017年7月21日
lvs负载均衡
摘要: lvs工作在内核中,当接收客户端请求,并没有将接收到的请求 送到用户程序空间,而是直接在内核进行转发到了后端服务器 lvs根据目标请求报文的目标ip和port将其转发至后端主机集群中的某一个 根据调度算法来分发至后端的某个主机,响应客户端请求 tcp协议应用在内核中,lvs不需要监听在套接字上面,文
阅读全文
posted @ 2017-07-21 15:24 wadeson
阅读(381)
评论(0)
推荐(0)
编辑
2017年7月18日
nginx之rewrite匹配需求
摘要: 现在需求如下: nginx上配有aaa.example.com的虚拟主机,现在需要将访问http://aaa.example.com/api/x.x/client/的请求转到http://bbb.example.com/api/x.x/client/,bbb.example.com的虚拟主机在另外一
阅读全文
posted @ 2017-07-18 11:15 wadeson
阅读(664)
评论(0)
推荐(0)
编辑
nginx之配置proxy_set_header
摘要: win10客户端请求web服务,win10的ip:192.168.223.1 nginx作为反向代理服务器:192.168.223.136 nginx作为后端web服务器:192.168.223.137 前提条件:配置nginx转发到后端服务器 server { listen 8080; serve
阅读全文
posted @ 2017-07-18 10:56 wadeson
阅读(94604)
评论(2)
推荐(8)
编辑
nginx结合fastcgi
摘要: 1、首先安装nginx,这里采用编译安装 useradd -M -s /sbin/nologin nginx 安装一些依赖包: yum -y install pcre-devel libxslt-devel gd gd-devel GeoIP GeoIP-devel 最后的这两个包,需要epel源进
阅读全文
posted @ 2017-07-18 09:32 wadeson
阅读(454)
评论(0)
推荐(0)
编辑
2017年7月13日
转载:vsftp中的local_umask和anon_umask
摘要: 转载出处:http://blog.sina.com.cn/s/blog_67c5699001010e3e.html umask是unix操作系统的概念,umask决定目录和文件被创建时得到的初始权限umask = 022 时,新建的目录 权限是755,文件的权限是 644umask = 077 时,
阅读全文
posted @ 2017-07-13 16:23 wadeson
阅读(414)
评论(0)
推荐(0)
编辑
python3.6连接mysql或者mariadb
摘要: python3.6版本的安装查看上一篇文章 mysql或mariadb数据库的安装查看以前的文章,这里不再赘述 首先在mariadb数据库中创建相应的库和表: MariaDB [(none)]> create database oracle default character set utf8 de
阅读全文
posted @ 2017-07-13 16:02 wadeson
阅读(3849)
评论(0)
推荐(0)
编辑
在linux环境下安装python3.6
摘要: wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz --no-check-certificat gunzip Python-3.6.1.tgz tar xf Python-3.6.1.tgz cd Python-3.6.1 mk
阅读全文
posted @ 2017-07-13 14:44 wadeson
阅读(1490)
评论(0)
推荐(0)
编辑
2017年7月12日
vsftpd基于mysql的认证方式
摘要: 安装epel源: cd /etc/yum.repos.d wget http://mirrors.neusoft.edu.cn/epel/epel-release-latest-6.noarch.rpm rpm -ivh epel-release-latest-6.noarch.rpm 然后安装pa
阅读全文
posted @ 2017-07-12 20:47 wadeson
阅读(664)
评论(0)
推荐(0)
编辑
上一页
1
···
7
8
9
10
11
12
下一页