回顾 redirect 临时重定向 ad-hoc:临时执行 playbook:使用yml语法记录了多条ad-hoc roles:解耦 site里面写了,依赖也写了,不会执行两遍 client 客户端 server 服务端 yum: 1.路径(本地) 2.包名(镜像仓库) 3.url(网站中的) ca ...
分类:
其他好文 时间:
2020-06-19 20:53:17
阅读次数:
134
yum仓库管理 yum-config-manager 简介 # yum 主要功能是更方便的添加/删除/更新RPM 包,自动解决包的倚赖性问题,便于管理大量系统的更新问题。 # yum 可以同时配置多个资源库(Repository),简洁的配置文件(/etc/yum.conf),自动解决增加或删除 在 ...
分类:
其他好文 时间:
2020-06-19 20:45:56
阅读次数:
383
1、安装gcc(编译时需要) FastDFS是C语言开发,安装FastDFS需要先将官网下载的源码进行编译,编译依赖gcc环境,如果没有gcc环境,需要安装gcc yum install -y gcc gcc-c++ 2、安装libevent(运行时需求) 若安装了桌面图形界面,就不需要安装;Fas ...
分类:
其他好文 时间:
2020-06-19 15:38:08
阅读次数:
41
目前有好几种办法可以用来同步yum仓库,但是都有其弊端,下面是我整理的几种yum仓库创建办法 1.使用rsync从清华源同步(缺点:平台有限制,想同步很难) #同步c6和c7 rsync -zaP --exclude-from /usr/share/nginx/html/rsync_exclude2 ...
分类:
其他好文 时间:
2020-06-19 12:23:13
阅读次数:
73
使用存储库安装 首次安装Docker-ce之前,需要设置Docker存储库。便可以从存储库安装和更新Docker。 设置存储库 1.安装yum-utils软件包(提供yum-config-manager 实用程序)并设置稳定的存储库。 //1.安装yum-utils sudo yum install ...
分类:
其他好文 时间:
2020-06-19 12:11:03
阅读次数:
47
mysql多实例部署 下载软件 [root@localhost ~]# ls anaconda-ks.cfg mysql-5.7.29-linux-glibc2.12-x86_64.tar.gz #安装perl [root@localhost ~]# yum -y install perl 配置用户 ...
分类:
数据库 时间:
2020-06-19 12:10:00
阅读次数:
44
1.nfs安装部署 master\node上: yum install -y nfs-utils-* systemctl restart rpcbind systemctl restart nfs systemctl enable rpcbind systemctl enable nfs maste ...
分类:
其他好文 时间:
2020-06-19 11:46:36
阅读次数:
57
centos7中安装zabbix 1、关闭防火墙 # systemctl stop firewalld # setenforce 0 同步时间 # ntpdate pool.ntp.org 2、安装Apache、php、mariadb # yum -y install httpd mariadb m ...
分类:
其他好文 时间:
2020-06-19 00:35:29
阅读次数:
86
由于ECS快到期了,打算换个配置,趁着618入手一台新的。结果之前顺利安装过几次的文档居然报错了。 情况如下 Error: Package: php72w-pecl-imagick-3.4.3-1.2.w7.x86_64 (webtatic) Requires: libMagickWand.so.5 ...
分类:
Web程序 时间:
2020-06-18 22:07:29
阅读次数:
164
centos7 安装xinetd,telnet 安装方式:yum [root@master ~]# yum list |grep telnettelnet-server.x86_64 1:0.17-59.el7 @base telnet.x86_64 1:0.17-59.el7 base [root ...
分类:
Web程序 时间:
2020-06-18 21:11:02
阅读次数:
74