会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
奥特最帅
不要问为什么,天生的。。。。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
11
下一页
2017年2月13日
改主机名颜色
摘要: export PS1="\[\033]2;\h:\u \w\007\033[32;1m\]\u@\033[33;1m\h \033[35;1m$ip\033[0m \[\033[36;1m\]\w\[\033[0m\] \[\e[33;1m\]# \[\e[0m\]" 199 vim .bashrc
阅读全文
posted @ 2017-02-13 08:50 *奥特*
阅读(265)
评论(0)
推荐(0)
2017年2月12日
lnmp 实现owncloud
摘要: 安装下载最新nginx rpm -Uvh http://101.96.8.164/nginx.org/packages/centos/7/x86_64/RPMS/nginx-1.10.3-1.el7.ngx.x86_64.rpm 安装支持的mysql本例为5.7 tar vxf mysql-5.7.
阅读全文
posted @ 2017-02-12 14:34 *奥特*
阅读(986)
评论(0)
推荐(0)
2017年2月10日
lemp 编译安装 不完整版
摘要: 准备 各种包下载网址 nginx下载 http://101.96.8.164/nginx.org/download/nginx-1.11.9.tar.gz pcre下载 ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.21
阅读全文
posted @ 2017-02-10 14:21 *奥特*
阅读(196)
评论(0)
推荐(0)
2017年2月9日
dns 视图
摘要: DNS视图功能实现 众所周知网通和电信之间互相的访问速度是很慢的,但是大型网络公司无论你是在哪用的什么方式接入的网络,访问起来速度都很快,那么是怎么实现的呢!首先想到的会是电信和网通各放一些内容完全相同的服务器,那么怎样才能让电信的用户自己去访问电信的服务器,网通的用户访问网通的服务器呢?就需要DN
阅读全文
posted @ 2017-02-09 19:01 *奥特*
阅读(221)
评论(0)
推荐(0)
nginx 实现cache
摘要: cache 192.168.1.142 源192.168.1.148 在142配置 vi /etc/nginx/nginx.conf worker_processes 2;events { worker_connections 1024;}http { include mime.types; def
阅读全文
posted @ 2017-02-09 17:49 *奥特*
阅读(179)
评论(0)
推荐(0)
nginx实现负载均衡
摘要: 在代理端写 vi /etc/nginx/nginx.conf worker_processes 2;events { worker_connections 1024;}http { include mime.types; default_type application/octet-stream;
阅读全文
posted @ 2017-02-09 15:59 *奥特*
阅读(133)
评论(0)
推荐(0)
nginx实现 stubstatus 查看工作状态(监控)
摘要: 在源站写 vi /etc/nginx/nginx.conf 添加 location /nginxstatus { stub_status on; access_log /usr/local/nginx/logs/nginxstatus.log; auth_basic "mima"; auth_bas
阅读全文
posted @ 2017-02-09 14:23 *奥特*
阅读(2822)
评论(0)
推荐(0)
nginx反向代理 查看源ip
摘要: 源192.168.1.148 apache的 代理192.168.1.142 访问192.168.1.141 配置代理142 Vi /etc/nginx/nginx.conf worker_processes 2; events { worker_connections 1024; } http {
阅读全文
posted @ 2017-02-09 14:14 *奥特*
阅读(5105)
评论(0)
推荐(0)
2017年2月8日
lemp-------3多站点访问,,访问控制,,虚拟目录
摘要: 基于ip vi /etc/nginx/nginx.conf server { listen 192.168.1.142:80; server_name localhost; access_log logs/host.access.log main; location / { root /web2;
阅读全文
posted @ 2017-02-08 18:45 *奥特*
阅读(219)
评论(0)
推荐(0)
lemp --------2ssl加密 模拟自签发
摘要: openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ssl.pem -out ssl.pem vi /etc/nginx/nginx.conf server { listen 443 ssl; server_name localho
阅读全文
posted @ 2017-02-08 17:50 *奥特*
阅读(168)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
11
下一页
公告