Centos7配置fail2ban防止ssh被暴力破解
当前系统centos7.5 1、配置epel源
|
1 |
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo |
2、安装fail2ban
|
1 |
yum install fail2ban |
3、查看当前版本 [crayon-6914d7edc3 … 阅读全文
当前系统centos7.5 1、配置epel源
|
1 |
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo |
2、安装fail2ban
|
1 |
yum install fail2ban |
3、查看当前版本 [crayon-6914d7edc3 … 阅读全文
Gitlab11.0增加了两个强大的工具Auto DevOps和License Management,具体细节查看Gitlab11.0官方公告:https://about.gitlab.com/2018/06/22/gitlab-11-0-released/ … 阅读全文
系统环境:当前服务器centos7.4(建议内存至少2G以上),本地使用windows7主机 本地先下载confluence破解包 https://down.whsir.com/downloads/confluence_crack.zip 本地安装java h … 阅读全文
当前环境,全新的Centos7.4系统,配置好yum源 1、安装docker
|
1 2 3 4 5 |
yum install yum-utils device-mapper-persistent-data lvm2 wget -O /etc/yum.repos.d/docker-ce.repo https://download.docker.com/linux/centos/docker-ce.repo sed -i 's+download.docker.com+mirrors.tuna.tsinghua.edu.cn/docker-ce+' /etc/yum.repos.d/docker-ce.repo yum makecache fast yum install docker |
docker version 2、docker镜像加速 镜像加速器可参考:https://blog.whsir.co … 阅读全文
当前系统Centos6.9,Nginx版本1.14.0,关闭selinux,关闭防火墙(或自行设置) 1、配置好yum源,安装所需依赖
|
1 |
yum install wget gcc gcc-c++ pcre pcre-devel openssl openssl-devel zlib zlib-devel |
2、创建nginx启动用户 [crayon-6914d7e … 阅读全文
一定要安装bzip2包、一定要安装bzip2包、一定要安装bzip2包 1、下载head插件源码
|
1 2 3 |
cd /usr/local/src git clone https://github.com/mobz/elasticsearch-head.git cd elasticsearch-head |
2、安装npm(确保你配置了epel源) [crayon-6914d7edc4ba2985180 … 阅读全文
只允许百度谷歌等搜索引擎蜘蛛访问,正常用户无法访问,ua头根据自身情况进行增加删减 在nginx的server字段中配置下面内容即可
|
1 2 3 4 5 6 7 |
set $ua ''; if ($http_user_agent ~* (Baiduspider|googlebot|bing|sogou|yahoo)){ set $ua 1; } if ($ua != 1) { return 403; } |
附:Nginx屏蔽百度谷歌等搜索引擎蜘蛛方法https:// … 阅读全文
当前所使用系统Centos7.5(其他系统自测),Transmission2.94最新版,关闭selinux,关闭防火墙(或自行配置规则) 由于一些软件官网下载速度过慢,所以我这里都替换成了本地链接,介意的话自行去官网下载。 1、安装相关依赖 [crayon- … 阅读全文
ELK是三个软件产品的首字母缩写,Elasticsearch,Logstash和Kibana。这三款软件都是开源的,现在归于Elastic.co公司。 在这套系统中,Elasticsearch主要充当一个全文检索和分析引擎,Logstash是一款分布式日志收集 … 阅读全文
以下报错及解决办法在Centos6.9、Centos7.4系统,php5.6.35版本测试通过,其他系统及版本请自测 报错一: configure: error: no acceptable C compiler found in $PATH See `con … 阅读全文