系统没有安装的xz的话,需要选安装(sudo yum install xz) xz的用法基本与gzip/bzip2相同,xz比gzip/bzip2的压缩比更高。 xz:bzip2 [-cdkzv#] 文件名 xcat 文件名.xz 查看压缩文件 -c:将压缩的过程产生的数据输出到屏幕上 -d:解压 ...
分类:
其他好文 时间:
2020-04-02 01:06:56
阅读次数:
73
1.更新yum源 yum -y update 2.尝试安装sl yum install sl 执行yum命令时会去centos镜像查找sl包,但是镜像中没有sl包,所以要安装额外包,需要安装epel-release-6-8.noarch.rpm 3.下载epel-release-6-8.noarch ...
分类:
其他好文 时间:
2020-03-28 13:05:43
阅读次数:
311
1. 工具安装 yum install iproute 查看工具是否安装 ip -V 2. ip rule 和 ip route ip命令中和策略路由相关的OBJECT有 rule 和 route。 查看所有的 rule ip rule show 优先级 判断条件 动作 表ID 0: from al ...
分类:
其他好文 时间:
2020-03-27 13:12:41
阅读次数:
657
Nginx是一款高性能的Web服务器软件.具有极高的并发性能利用Nginx与Tomcat组合使用,搭建反向代理集群Nginx反向代理集群可以解决网站的高并发问题!1、安装Yum安装安装yum-yinstallnginx启动、停止、重启、开机自启systemctlstart|stop|restart|enablenginx.service检查进程ps-aux|grepnginx源码编译安装下载源代码
分类:
其他好文 时间:
2020-03-26 01:34:52
阅读次数:
97
centos6 ldapyum安装yum -y install openldap openldap-*yum -y install nscd nss-pam-ldapd nss-* pcre pcre-* cp /usr/share/openldap-servers/slapd.conf.obsol ...
分类:
其他好文 时间:
2020-03-25 23:18:20
阅读次数:
64
1.前置环境yum -y groupinstall 'X Window System'2.桌面安装 yum -y groupinstall 'Desktop' 3.语言包yum -y groupinstall "Chinese Support"4.中文套件编辑/etc/sysconfig/i18n, ...
分类:
其他好文 时间:
2020-03-25 12:09:21
阅读次数:
87
1.docker在linux上的安装 yum install -y docker systemctl enable docker && systemctl start docker sysctl net.bridge.bridge-nf-call-iptables=1 2.配置国内镜像 https: ...
分类:
其他好文 时间:
2020-03-22 10:27:58
阅读次数:
68
netstat命令不可用,安装net-tools有本地yum源或可连外网的yum源:直接yum安装 yum install net-tools没有外网或本地yum源,下载rpm文件 如:net-tools-2.0-0.22.20131004git.el7.x86_64.rpm wget https: ...
分类:
Web程序 时间:
2020-03-21 12:57:28
阅读次数:
106
介绍两种安装方式yum 和编译 1)yum安装 yum install ansible -y 2)编译安装 ... ansible原理和架构 主要包含6个组件: 1)Ansible核心 2)Inventory主机清单 3)Modules模块 4)Playbook剧本 5)Plugins插件 6)连接 ...
分类:
其他好文 时间:
2020-03-16 13:12:34
阅读次数:
75
基于用户_明文传输http 工具安装,yum install -y httpd-tools 设置用户名和密码htpasswd -b -c /etc/nginx/.auth.conf testnginx 123456 /etc/nginx/conf.d/default.conf中在监控部分添加 loc ...
分类:
其他好文 时间:
2020-03-14 12:53:26
阅读次数:
50