修改apache的默认用户和组##更改前查看apache的用户和组egrep-i"user|group"httpd.conf|egrep-v"#|^$"ps-ef|grephttpd[root@LAMPconf]#egrep-i"user|group"httpd.conf|egrep-v"#|^$"UserdaemonGroupdaemon[root@LAMPlib]#ps-ef|grephttpdroot433291011:09?00:00:00/application..
分类:
Web程序 时间:
2015-09-24 19:43:36
阅读次数:
389
一、安装php前准备:rpm-qazlib-devellibxml2-devellibjpeg-develfreetype-devellibpng-develgd-develcurl-developenssl-devellibxslt-develmysql,apache,libiconv需要源码安装二、编译参数./configure\--prefix=/application/php-5.6.13\--with-apxs2=/application/apache/bin..
分类:
Web程序 时间:
2015-09-24 19:42:57
阅读次数:
209
<html><head><title>我的第三个页面</title><metacharset=utf-8></head><body><tableborder="1px"bordercolor="red"width="800px"height="200px"align="center"cellpadding="50px"cellspacing="10px"bgcolor="#ACEBFD"background..
分类:
Web程序 时间:
2015-09-24 19:44:25
阅读次数:
154
以前一直做WinForm桌面应用开发,所以对MVC也是这几天的了解。传统三层是架构,MVC是展示模式,MVC相当于UI层,只是把UI层再次进行了分解。我用的是一个传统的三层架构+MVC2来做的一个增删改的示例。其中传统三层为了方便(懒省事),把其中的BLL层搞掉了。具体看下面项目的目..
分类:
Web程序 时间:
2015-09-24 19:41:53
阅读次数:
199
##创建普通用户,并切换到普通用户下useraddlvnian002tail-5/etc/passwdechoasdasd|passwd--stdinlvnian002sulvnian002##########[root@LAMPconf]#useraddlvnian002tail-5/etc/passwdechoasdasd|passwd--stdinlvnian002sulvnian002[root@LAMPconf]#tail-5/etc/passwdtcpdump:x:..
分类:
Web程序 时间:
2015-09-24 19:38:52
阅读次数:
333
常规获取方法:varprotocol=window.location.protocol;//"http:"varhost=window.location.host;//"localhost"or"www.baidu.com"varpathname=window.location.pathname;//"/dkrl/services/cases.php"varhref=window.location.href;//"http://localhost/dkrl/services/cases.php?..
分类:
Web程序 时间:
2015-09-24 19:39:07
阅读次数:
180
js代码如下:functionaddFavorite(){varurl=window.location;vartitle=document.title;varua=navigator.userAgent.toLowerCase();if(ua.indexOf("360se")>-1){alert("由于360浏览器功能限制,请按Ctrl+D手动收藏!");}elseif(ua.indexOf("msie8")>-1){window.external.Ad..
分类:
Web程序 时间:
2015-09-24 19:36:32
阅读次数:
231
#!/bin/shsoft_path=/soft/tooltar_path=/usr/local/srcapr_dir=/usr/local/src/apr-1.5.2apr_util_dir=$tar_path/apr-util-1.5.4httpd_dir=$tar_path/httpd-2.4.16svn_dir=$tar_path/subversion-1.9.1pcre_dir=$tar_path/pcre-8.36sqlite_dir=$tar_path/sqlite-autoconf-30811..
分类:
Web程序 时间:
2015-09-24 19:36:34
阅读次数:
226
Redundancyiscommonpointfortoday’stopologies.Especiallyinmission-criticalnetworksthatitisnotacceptablethatusingonlyonegatewaytoreachapoint.Becauseonegatewaymeanssinglepointoffailure.Withmultiplegateways,youcanstillreachtheremotenodeevenifthatyouconnectfails..
分类:
Web程序 时间:
2015-09-24 19:34:44
阅读次数:
215
日志轮询方法1下载cronlog软件cd/home/lvnian/toolswgethttp://down1.chinaunix.net/distfiles/cronolog-1.6.2.tar.gztarxfcronolog-1.6.2.tar.gzcdcronolog-1.6.2./configuremake&&makeinstallll/usr/local/sbin/cronolog#######3cronlog系统自带方式.把httpd.conf或..
分类:
Web程序 时间:
2015-09-24 19:34:55
阅读次数:
171
apache日志不记录指定格式元素的日志apache不记录指点网站元素的日志,为什么需要这样做,什么情况下需要这样做:当计算日志pv时,一般不需要统计图片元素的日志,因为,打开一个网页才是一个PV,当RS服务器不希望记录来自前端负责均衡健康检查的无用日志,整个配置需要mod_set..
分类:
Web程序 时间:
2015-09-24 19:35:20
阅读次数:
225
<!DOCTYPEhtml><html><head><title>我的第四个页面</title><metacharset=utf-8></head><body><tableborder="1"bordercolor="red"width="500"align="center"cellpadding="10"cellspacing="10"bgcolor="#000EFFE"background=..
分类:
Web程序 时间:
2015-09-24 19:31:55
阅读次数:
244
最近正在学习这套课程,感觉讲的特别好,拿出来和大家分享一下。课程详细内容:第一阶段、Web视觉工具篇-Photoshop技法入门第二阶段、Web视觉工具篇-Photoshop高手进阶第三阶段、Web视觉设计师必修-Illustrator实录技法入门第四阶段、Web视觉高级篇-完美版式必修第五阶段、Web..
分类:
Web程序 时间:
2015-09-24 19:29:55
阅读次数:
153
AngularJS 指令之 ng-hide/ng-show 用途 ng-hide/ng-show属性用来控制页面内元素的显示或隐藏。 ng-hide条件为true时,隐藏所在元素;false,则显示所在元素。 ng-show正好相反。true时,显示所在元素;false,则隐藏所在元素。
分类:
Web程序 时间:
2015-09-24 19:23:36
阅读次数:
182
其中type.id是int,这样绑定后下拉框会生成。但是不管editObj.AdType的值是什么都无法绑定成功。原因在于ng-options会把int型自动转成string。我们要把它转回来就可以了。 $scope.convertToInt = function (id) { ...
分类:
Web程序 时间:
2015-09-24 19:23:21
阅读次数:
368
转载自http://xbingoz.com/423.html通过seajs实现前端模块化的过程中,必然需要将原有脚本改成seajs的模块。如果是一段相对独立的脚本,实现模块化的方法会比较简单,只要用define函数将原来的代码包裹起来,然后将主函数或对象用exports输出就可以了。而相比之下,将一...
分类:
Web程序 时间:
2015-09-24 19:22:11
阅读次数:
204
1 package com.zq.www.mis.action; 2 3 import java.util.List; 4 5 import org.apache.struts2.convention.annotation.Result; 6 import org.apache.struts2...
分类:
Web程序 时间:
2015-09-24 19:23:01
阅读次数:
288