yum是一个基于rpm的前端软件包管理器,相较于rpm而言yum不需要关注包的依赖关系,使用更加简单 apt-get也是一个前端软件包管理器,yum和apt-get分别属于不同linux版本的管理器,yum属于centos版本 使用:yum [options] [command] [package] ...
分类:
其他好文 时间:
2020-07-05 21:16:07
阅读次数:
148
作为一个网络工程师经常需要测试网络是否通,经常用的是ping,telnet,可是针对UDP的相关端口上面的两个命令并不适用,这时我们可以用NC这个小工具。 centos安装: yum install nc 常用选项 -g<网关> 设置路由器跃程通信网关,最多可设置8个。 -G<指向器数目> 设置来源 ...
分类:
其他好文 时间:
2020-07-05 15:13:11
阅读次数:
85
1 安装yum -y install dnsmasq开放udp tcp 53 端口2,修改配置文件 dnsmasq.conf# grep -Ev "^$|^[#;]" /etc/dnsmasq.conf 查看文件中未注释的内容信息# vi /etc/dnsmasq.conf #指定上游dns服务器 ...
分类:
其他好文 时间:
2020-07-05 10:51:30
阅读次数:
71
一.创建yum源文件 cd /etc/yum.repo.d/ touch google-chrome.repo 二.输入yum源信息 [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/st ...
分类:
其他好文 时间:
2020-07-05 10:38:04
阅读次数:
114
OpenStack Train版-1.安装基础环境&服务 1. 基础环境1.1 主机名&ip IP地址 主机名 配置10.0.0.11 controller 4C8G10.0.0.31 compute01 4C8G1.2 ntp时间同步 [root@controller ~]# yum instal ...
分类:
其他好文 时间:
2020-07-05 00:16:35
阅读次数:
83
安装平台:centos7.3 1、下载包到指定目录 wget http://nginx.org/download/nginx-1.16.1.tar.gz -P /tmp 2、解压包 tar -zxvf /tmp/nginx-1.16.1.tar.gz -C /tmp 3、安装依赖包 yum -y i ...
分类:
其他好文 时间:
2020-07-04 23:05:57
阅读次数:
109
一,Redis介绍 Redis如今已经成为Web开发社区最火热的内存数据库之一,随着Web2.0的快速发展,再加上半结构数据比重加大,网站对高效性能的需求也越来越多。 而且大型网站一般都有几百台或者更多Redis服务器。Redis作为一款功能强大的系统,无论是存储、队列还是缓存系统,都有其用武之地。 ...
分类:
系统相关 时间:
2020-07-04 22:38:23
阅读次数:
105
链接: https://pan.baidu.com/s/1vSj474Gq8mLVCWGyNCvh6A 提取码: mmb8 1、安装pcre依赖 将安装文件上传到 linux中 解压压缩文件 :tar -xvf pcre-8.37.tar.gz 进入解压之后的目录:执行 ./configure 安装 ...
分类:
系统相关 时间:
2020-07-04 22:27:40
阅读次数:
95
前提:centos7 1、yum -y install sendmail 2、yum install -y mailx 3、systemctl start sendmail.service 4、systemctl enable sendmail.service 5、在/etc/mail.rc 新添加 ...
分类:
系统相关 时间:
2020-07-04 21:04:38
阅读次数:
77
1、打开centos的yum文件夹输入命令cd /etc/yum.repos.d/2、用wget下载repo文件输入命令wget http://mirrors.aliyun.com/repo/Centos-7.repo如果wget命令不生效,说明还没有安装wget工具,输入yum -y instal ...
分类:
其他好文 时间:
2020-07-04 20:51:52
阅读次数:
154