Centos7.5编译安装mysql5.5
当然环境Centos7.5,mysql版本5.5.59,同样也适用于Centos6.9系统 1、安装依赖
1 |
yum install gcc-c++ ncurses-devel |
2、为mysql创建用户 [crayon-682663be435e8414694974/ … 阅读全文
当然环境Centos7.5,mysql版本5.5.59,同样也适用于Centos6.9系统 1、安装依赖
1 |
yum install gcc-c++ ncurses-devel |
2、为mysql创建用户 [crayon-682663be435e8414694974/ … 阅读全文
需求:本地(windows7)使用cwRsync往服务器(linux)上推送文件。 问题:由于本地是windows机器,无法和linux权限保持一致,本地cwRsync推送文件到服务器上后。文件权限变成了700。 解决办法:通过rsync帮助文档可以找到,rs … 阅读全文
当前系统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-682663be44 … 阅读全文
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-682663b … 阅读全文
一定要安装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-682663be44df9425612 … 阅读全文
只允许百度谷歌等搜索引擎蜘蛛访问,正常用户无法访问,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- … 阅读全文