码迷,mamicode.com
首页 >  
搜索关键字:saltstack httpd    ( 7619个结果
LoadRunner 监控 Apache
配置Apache部分1.修改Apache中Httpd.conf文件 SetHandler server-status Order deny,allow Deny from all Allow from .localhost 2.添加ExtendedStatus,设置ExtendedStatus O....
分类:其他好文   时间:2014-10-07 11:23:43    阅读次数:152
vim /etc/httpd/conf/httpd.conf
[root@localhost httpd]# cat -n /etc/httpd/conf/httpd.conf //httpd.conf配置文件初始值 1 # 2 # This is the main Apache server configuration file. It...
分类:其他好文   时间:2014-10-06 19:52:20    阅读次数:435
vim /usr/local/apache2/conf/httpd.conf
[root@localhost ~]# vim -n /usr/local/apache2/conf/httpd.conf 1 # 2 # This is the main Apache HTTP server configuration file. It contains ...
分类:其他好文   时间:2014-10-06 02:15:19    阅读次数:1733
saltstack之用户管理
在集中化管理中,用户管理是重要的。下面是我自己总结salt对用户管理的文档。一、添加单个用户:生成密码opensslpasswd-1 -salt‘linwangyi‘user.users文件[root@salt51salt]#catuser/useradd.slslinwangyi:user.present:-fullname:linwangyiD-shell:/bin/bash-password:‘$1$lin..
分类:其他好文   时间:2014-10-05 23:39:30    阅读次数:1224
源码LAMP环境搭建
一、LAMP源码环境搭建:(1.)所需软件包:(2.)安装源码编译所需包:(3.)httpd编译安装:(4.)mysql编译安装:1.安装依赖包:2.创建mysql用户和组:3.创建mysql运行的pid存放目录及pid文件,并修改其权限:4.编译安装mysql:(5.)php编译安装:1.安装依赖包:2.编译安装p..
分类:其他好文   时间:2014-10-04 21:00:17    阅读次数:286
在windows下配置apache以cgi方式支持python
Apache配置在httpd.conf中查找DocumentRoot:允许目录可以执行cgi:DocumentRoot"D:\WWW" <Directory/> OptionsIndexesFollowSymLinksMultiViewsExecCGI AllowOverrideAll Orderallow,deny Allowfromall Requireallgranted </Directory>只允许在特别目录下执行cgi程..
分类:编程语言   时间:2014-10-04 04:39:26    阅读次数:295
使用phpnow本地搭建Discuz!如何实现伪静态
用phpnow本地搭建Discuz!如何实现伪静态因为phpnow本身就支持伪静态,那只要看下相关的设置是否正确,写个.htaccess的文件就可以了。一.确认httpd.conf的设置在xxx\Apache-22\conf路径下找到httpd.conf,查找“rewrite”,确保开启了rewri...
分类:Web程序   时间:2014-10-03 18:42:15    阅读次数:258
centos apache php 安装
1.下载 wget http://apache.fayea.com/apache-mirror//httpd/httpd-2.2.29.tar.gztar zxvf httpd-2.2.29.tar.gzcd httpd-2.2.29./configure --prefix=/usr/local/h...
分类:Web程序   时间:2014-10-01 19:29:11    阅读次数:272
git - 常用操作汇总
远程仓库相关命令检出仓库:$git@192.168.1.102:yaoxiabing/saltstack.git查看远程仓库:$gitremote-v添加远程仓库:$gitremoteadd[name][url]删除远程仓库:$gitremoterm[name]修改远程仓库:$gitremoteset-url--push[name][newUrl]拉取远程仓库:$gitpull[remoteName][localB..
分类:其他好文   时间:2014-10-01 01:06:31    阅读次数:232
.htaccess防盗链方法(文件、图片)
http标准协议中有专门的字段记录referer,一来可以追溯上一个入站地址是什么,二来对于资源文件,可以跟踪到包含显示他的网页地址是什么。因此所有防盗链方法都是基于这个Referer字段两种方法:第一种是使用apache 文件FileMatch限制,在httpd.conf中增加 ( 其实也可以将把...
分类:数据库   时间:2014-09-30 23:34:30    阅读次数:293
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!