1.nginx和apache的对比 nginx是轻量级服务器,apache是重量级服务器 nginx适合处理静态页面,apache比较适合动态页面 nginx抗并发能力比较好 apache稳定性比较好 2.nginx下载 添加epel网络源 [local] name=local enabled=1 ...
分类:
其他好文 时间:
2019-07-06 10:32:35
阅读次数:
93
一,在安装Redis时,按步骤安装结果在启动时却提示找不到redis.conf配置文件,试过更改redis.conf的路径发现都不行, 之后干脆放在Redis的bi目录下跟redis-server在同一目录下,在启动时直接输入 [root@zzj001 bin]# ./redis-server re ...
分类:
其他好文 时间:
2019-07-06 00:06:28
阅读次数:
143
# 服务端口 server.port=8083 #spring.mvc.favicon.enabled=false server.servlet.context-path=/bug/ dateformat=yyyy-MM-dd HH:mm:ss roles=role_user,role_admin ... ...
分类:
移动开发 时间:
2019-07-03 10:35:19
阅读次数:
109
gpedit.msc Computer Configuration - Administrative Templates - Windows Components - Remote Desktop Services - Remote Desktop Session Host - Connection ...
效果如图: 实现脚本: 给要高亮的物体加上脚本: gameObject.GetComponent<SpectrumController>().enabled = true; 取消高亮: gameObject.GetComponent<SpectrumController>().enabled = F ...
分类:
其他好文 时间:
2019-07-02 16:24:40
阅读次数:
128
server.address 指定server绑定的地址 server.compression.enabled 是否开启压缩,默认为false server.compression.excluded-user-agents 指定不压缩的user-agent 多个以逗号分隔,默认值为text/html ...
分类:
编程语言 时间:
2019-06-29 23:44:58
阅读次数:
196
1.修改Apache配置文件打开Apache的配置文件,/etc/apache2/sites-enabled/000-default.conf在文件底部添加以下内容<VirtualHost*:8080>ServerAdminwebmaster@localhostDocumentRoot/var/www/html/phpmyadminErrorLog${APACHE_LOG_DIR}/e
分类:
其他好文 时间:
2019-06-27 23:09:23
阅读次数:
234
selinux 查看SELinux状态: 1、/usr/sbin/sestatus v 如果SELinux status参数为enabled即为开启状态 SELinux status: enabled 2、getenforce 也可以用这个命令检查关闭SELinux: 1、临时关闭(不用重启机器): ...
分类:
系统相关 时间:
2019-06-27 20:37:46
阅读次数:
150
1 weblogic控制台地址暴露 ² 整改方法: 禁用weblogic控制台。在weblogic域(sguap-domain和base-domain)的config下的config.xml中 </security-configuration>下面添加<console-enabled>false</ ...
分类:
Web程序 时间:
2019-06-26 20:50:11
阅读次数:
346