摘要:
DenyHosts是Python语言写的一个程序,它会分析sshd的日志文件(/var/log/secure),当发现重 复的攻击时就会记录IP到/etc/hosts.deny文件,从而达到自动屏IP的功能。 1. 到官网下载DenyHosts DenyHosts官网:http://denyhost 阅读全文
摘要:
vi /etc/init.d/confluence #!/bin/bash# chkconfig: 2345 85 15# Provides: atlassian# Short-Description: Start and stop the Jira&Confluence server# Descr 阅读全文
摘要:
[root@confluence bin]# vim /etc/init.d/confluence #!/bin/bash # Confluence Linux service controller scriptcd "/opt/atlassian/confluence/bin" case "$1" 阅读全文