上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: 实验环境 RabbitMQ 集群 server1.example.com IP: 10.10.10.11 Node: diskserver2.example.com IP: 10.10.10.12 Node: diskserver3.example.com IP: 10.10.10.13 Node: 阅读全文
posted @ 2015-12-21 01:24 Edward Guan 阅读(7162) 评论(2) 推荐(2) 编辑
摘要: Nginx中URL转换成小写首先编译安装nginx_lua_module模块server节:location / { if($uri ~ [A-Z]){ rewrite_by_lua 'return ngx.redirect(string.lower(ngx.var.uri),n... 阅读全文
posted @ 2015-12-14 02:52 Edward Guan 阅读(804) 评论(0) 推荐(0) 编辑
摘要: 以RedHat7(64bit)平台为例如果RedHat源没法用,可以使用EPEL源# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm# yum makecache# yum install... 阅读全文
posted @ 2015-12-09 17:59 Edward Guan 阅读(1452) 评论(0) 推荐(0) 编辑
摘要: yum安装MongoDB添加MongoDB源# vi /etc/yum.repos.d/mongodb-org-3.0.repo[mongodb-org-3.0]name=MongoDB Repositorybaseurl=https://repo.mongodb.org/yum/redhat/7/... 阅读全文
posted @ 2015-12-08 10:24 Edward Guan 阅读(2454) 评论(1) 推荐(0) 编辑
摘要: Nginx做为前端服务器(本机IP:192.168.136.104),将访问PHP页面的动态请求转发给Apache服务器(只监听本地回环地址172.0.0.1:80)安装Apache# yum -y install httpd修改Apache默认端口为81#vi /etc/httpd/conf/ht... 阅读全文
posted @ 2015-12-07 15:32 Edward Guan 阅读(703) 评论(0) 推荐(0) 编辑
摘要: 编译安装Tomcat下载jdk (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)解压jdk#tar -zxvf jdk-8u65-linux-x64.gz-C /usr/loca... 阅读全文
posted @ 2015-12-05 23:18 Edward Guan 阅读(1226) 评论(0) 推荐(0) 编辑
摘要: 编译安装MariaDB下载MariaDB#wget http://mirrors.opencas.cn/mariadb//mariadb-10.1.8/source/mariadb-10.1.8.tar.gz解压缩MariaDB# tar -zxvfmariadb-10.1.8.tar.gz && ... 阅读全文
posted @ 2015-12-05 16:13 Edward Guan 阅读(2572) 评论(0) 推荐(0) 编辑
摘要: CentOS由于很追求稳定性,所以官方源中自带的软件不多,因而需要一些第三方源,比如EPEL、ATrpms、ELRepo、Nux Dextop、RepoForge等。 EPEL EPEL即Extra Packages for Enterprise Linux,为CentOS提供了额外的10000多个 阅读全文
posted @ 2015-12-05 12:00 Edward Guan 阅读(13046) 评论(1) 推荐(0) 编辑
摘要: 编译安装PHP下载PHP# wgethttp://cn2.php.net/distributions/php-7.0.0.tar.gz解压缩PHP# tar -zxvfphp-7.0.0.tar.gz && cdphp-7.0.0安装依赖软件# yum -y install gcc libxml2-... 阅读全文
posted @ 2015-12-05 03:25 Edward Guan 阅读(3546) 评论(0) 推荐(0) 编辑
摘要: 编译安装Nginx先安装编译过程中所需依赖包#yum -y install gccpcre-developenssl-develzlib-develjemalloc(更好的内存管理)# wgethttp://www.canonware.com/download/jemalloc/jemalloc-4... 阅读全文
posted @ 2015-12-05 00:19 Edward Guan 阅读(7220) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页