摘要:
当禁用tomcat管理页面时,但是在服务器从启动时,在tomcat默认的/aliyun/tomcat7/logs/ 存放日志的目录下依然还会生成关于host-manager,manager的日志文件,他们此时是无用的,所以要禁止自动生成这些日志,所以修改 [root@tomcat04 conf]# 阅读全文
posted @ 2018-01-01 21:38
勤奋的蓝猫
阅读(12)
评论(0)
推荐(0)
摘要:
[root@tomcat02 ~]# cat /etc/init.d/memcached #!/bin/bash Init file for memcached chkconfig: - 86 14 description: Distributed memory caching daemon pro 阅读全文
posted @ 2018-01-01 21:31
勤奋的蓝猫
阅读(11)
评论(0)
推荐(0)
摘要:
添加红色这一行,才会启动tomcat生成pid文件 [root@tomcat01 work]# cat -n /aliyun/tomcat7/bin/catalina.sh |sed -n ‘128,132p’ 128 [ -z “CATALINA_BASE" ] && CATALINA_BASE= 阅读全文
posted @ 2018-01-01 21:24
勤奋的蓝猫
阅读(24)
评论(0)
推荐(0)
摘要:
第一种方法:yum 安装cronolog软件 1.yum install cronolog -y 第三方软件 源码包下载地址 http://download.chinaunix.net/download.php?id=3457&ResourceID=1851 2.修改配置文件。修改前记得备份 [ro 阅读全文
posted @ 2018-01-01 21:21
勤奋的蓝猫
阅读(6)
评论(0)
推荐(0)
摘要:
通过host.allow和hosts.deny限制特定IP来ssh登陆服务器 [root@cacti vhost]# cat /etc/hosts.allow hosts.allow This file contains access rules which are used to allow or 阅读全文
posted @ 2018-01-01 20:47
勤奋的蓝猫
阅读(39)
评论(0)
推荐(0)
摘要:
使用nginx配置多个php fastcgi负载均衡 服务器环境是一键安装包lnmp nginx 配置文件 参考地址: http://blog.chinaunix.net/uid-26284395-id-3084491.html nginx 配置文件 [root@cacti vhost]# cat 阅读全文
posted @ 2018-01-01 19:36
勤奋的蓝猫
阅读(7)
评论(0)
推荐(0)

浙公网安备 33010602011771号