Apache
酸茶
这个作者很懒,什么都没留下…
展开
-
Apache Centos多站点配置
Apache Centos多站点配置 centos 中apache配置文件路径为/etc/httpd/conf/httpd.conf 最后一行为"IncludeOptional conf.d/*.conf",会自动加载/etc/httpd/conf.d/下的所有conf文件 。 所以只需在conf.d文件中创建.conf文件即可。 例如:my.conf 文件内容如下 NameVirtualHos...原创 2018-10-16 11:04:41 · 289 阅读 · 0 评论 -
Windows下Apache 多站点配置与虚拟域名
修改httpd-vhosts.conf配置文件 <VirtualHost *:80> ServerName localhost ServerAlias localhost DocumentRoot "${INSTALL_DIR}/www" <Directory "${INSTALL_DIR}/www/"> Opti原创 2018-10-16 11:16:36 · 561 阅读 · 0 评论 -
Windows 下apache配置外网可访问
1.配置apache的httpd.conf <Directory "${INSTALL_DIR}/www/"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes I原创 2018-10-26 13:48:02 · 6192 阅读 · 2 评论 -
JMeter 压力测试
1.安装java jdk (360里找,网上满世界都是) 2.下载JMeter 下载地址 下载对应的版本即可 3.配置环境变量 在系统变量框,点击“新建”,建立一个变量:JMETER_HOME,值为你解压的jmeter安装路径。我的安装路径是在D盘,这个路径根据自己实际安装路径进行填写。然后点击确定保存即可 编辑CLASSPATH变量,在CLASPATH加上 %JMETER_HOME%\lib...原创 2018-11-21 15:11:22 · 139 阅读 · 0 评论 -
Centos 下配置mysql
安装apache [root@localhost ~]# yum install httpd 安装php yum install php 重启apache systemctl restart httpd 安装mysql 1.下载mysql的repo源 $ wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm 2.安装...原创 2018-10-16 11:04:21 · 142 阅读 · 0 评论 -
centos 下php支持redis扩展
1.安装redis yum install redis 2.下载扩展包安装 $ wget http://pecl.php.net/get/redis-3.1.2.tgz $ tar xzf redis-3.1.2.tgz $ cd redis-3.1.2/ $ phpize $ ./configure --with-php-config=/usr/bin/php-config 前...原创 2018-11-22 15:15:47 · 266 阅读 · 0 评论