一、安装Apacheyum-yinstallhttpd/etc/init.d/httpdstart文档目录在/var/www/html二、安装PHPyum-yinstallphp修改Apache配置文件,/etc/httpd/conf/httpd.conf对应位置追加以下内容:LoadModulephp5_module/usr/lib64/httpd/modules/libphp5.so追加AddTypeapplication/x-httpd-..
分类:
Web程序 时间:
2014-10-10 17:14:34
阅读次数:
173
Android codebase都很大,编译一次都需要花很多时间,如果是preloader/lk/bootimage还好,但是Android的话都是非常久。
实际上这个编译时间还是可以进一步缩短!
1. 移除modules_to_check
(1). Android默认是所有模块都会编译的(不管需不需要),这个有些冗余,可以通过修改编译系统不编译哪些没有用到的模块
(2). 修改方法...
分类:
移动开发 时间:
2014-10-10 13:16:04
阅读次数:
202
Debian's default Apache2 installation attempts to make adding and
removing modules, virtual hosts, and extra configuration directives as
flexible as...
分类:
其他好文 时间:
2014-10-09 14:46:34
阅读次数:
237
select a.name,a.[type],b.[definition] from sys.all_objects a,sys.sql_modules b where a.is_ms_shipped=0 and a.object_id = b.object_id--and a.[type] ='V...
分类:
数据库 时间:
2014-10-09 14:42:37
阅读次数:
294
Apache is the most popular web server in the world,because it is more efficient than others.Thrust of this article is to share some useful apache modu...
分类:
其他好文 时间:
2014-10-09 13:08:33
阅读次数:
315
安装ansible只需要将管理节点安装ansible,被管理节点不需要安装但如果使用yum安装的话,必须配置epel源rpm-Uvhhttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmrpm-Uvhhttp://dl.fedoraproject.org/pub/epel/5Server/x86_64/epel-release-5-4.noar..
分类:
其他好文 时间:
2014-10-09 02:26:09
阅读次数:
338
写在前面:如果此文有幸被某位朋友看见并发现有错的地方,希望批评指正。如有不明白的地方,愿可一起探讨。实验拓扑图安装ansible#yum-yinstallansible修改/etc/ansible/hosts配置文件#vim/etc/ansible/hosts[hbhosts]
172.16.115.101
172.16.115.102
172.16.115.103由于ansibl..
分类:
其他好文 时间:
2014-10-08 15:23:15
阅读次数:
206
之前用了一段时间的idea,有些老的代码,用eclipse跑了一下,比较麻烦,于是试用一下idea,最后,项目可以顺利跑起来。对项目的配置,主要是在F4中,即:Module Setting,在模块的设置中。设置中,有五个选项,分别是Project,Modules,Libraries,Facts,Ar...
分类:
其他好文 时间:
2014-10-08 14:05:45
阅读次数:
241
安装Node.js环境 sudo apt-get install nodejs
sudo apt-get install npm 对于不同环境依赖 的node_module可以采用以下命令来重新生成 rm -rf node_modules
npm cache clean
npm install 如果...
分类:
Web程序 时间:
2014-10-08 01:45:24
阅读次数:
272
一、改动httpd.conf打开appserv的安装文件夹,找到httpd.conf文件,分别去掉以下两行文字前面的#号。#LoadModule vhost_alias_module modules/mod_vhost_alias.so去掉#意思是启用apache的虚拟主机功能。#Include c...
分类:
其他好文 时间:
2014-10-07 13:24:13
阅读次数:
223