上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: 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 阅读(817) 评论(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 阅读(1510) 评论(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 阅读(2484) 评论(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 阅读(718) 评论(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 阅读(1241) 评论(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 阅读(2624) 评论(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 阅读(13230) 评论(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 阅读(3580) 评论(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 阅读(7305) 评论(0) 推荐(0)
摘要: 1.新建目录 # mkdir -p /content/rhel7/x86_64/{isos,dvd}/ 2.上传RedHat安装光盘镜像,上传后的路径为 /content/rhel7/x86_64/isos/rhel-server-7.2-x86_64-dvd.iso 3.搭建http服务器(ngi 阅读全文
posted @ 2015-12-04 17:59 Edward Guan 阅读(2368) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页