epel

centos安装tmux

好久不见. 提交于 2019-11-28 07:25:56
1、先执行以下命令: wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm 2.然后可以安装tmux了 yum install tmux 然后选择两次 Y https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=f5v2mcse 来源: https://www.cnblogs.com/mangolw/p/11398841.html

yum安装提示\"没有可用软件包\"

六月ゝ 毕业季﹏ 提交于 2019-11-28 05:46:24
当在Linux系统中使用yum安装软件时提示 “没有可用软件包”时,代表在linux系统yum源中已经没有对应的安装包了,这时,我们需要安装EPEL。 EPEL(Extra Packages for Enterprise Linux),企业版Linux额外包,RHEL分布非标准包的社区类库。安装如下: yum没有找到对应依赖包,更新epel第三方软件库,运行命令: yum install -y epel-release   更新完epel第三方软件库后,再次尝试使用yum命令安装对应的软件包 ———————————————— 版权声明:本文为CSDN博主「风暴幽居」的原创文章,遵循CC 4.0 by-sa版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/shuiyuetianwy/article/details/86070213 来源: https://www.cnblogs.com/zqntx/p/11395136.html

阿里云镜像centos7更换方法

被刻印的时光 ゝ 提交于 2019-11-28 05:42:09
国内镜像源有很多,阿里云的不错,选择一个好的镜像源加快Centos7系统的更新升级或者安装软件的速度吧!以下方法来自网络,亲测有效。 1. 备份原来的yum源 cp /etc/yum .repos .d /CentOS-Base .repo /etc/yum .repos .d /CentOS-Base .repo .bak 2.设置aliyun的yum源 wget -O /etc/yum .repos .d /CentOS-Base .repo http://mirrors .aliyun .com /repo/Centos- 7. repo 3.添加EPEL源 EPEL( http://fedoraproject.org/wiki/EPEL )是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。装上 EPEL后,可以像在 Fedora 上一样,可以通过 yum install package-name,安装更多软件。 wget -P /etc/yum .repos .d / http://mirrors .aliyun .com /repo/epel- 7. repo 4.清理缓存并生成新的缓存 yum clean all yum makecache 来源: CSDN 作者: 走西闯东 链接:

Cent OS 7的Linux系统优化加固

老子叫甜甜 提交于 2019-11-28 05:36:27
1.关闭selinux 2.关闭防火墙 3.关闭NetworkManager 4.为系统运维管理员创建普通用户,并配置sudo(vi sudo) 5.清空泄漏系统版本信息的文件 6.基础优化sshd服务 vim /etc/ssh/sshd_config egrep -n 'GSSAPIA|UseDNS' /etc/ssh/sshd_config(查看是否修改了)7.修改系统YUM源,添加系统epel源 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo #修改系统YUM源curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo #添加系统epel源 yum repolist #查看系统YUM源和epel源8.安装系统常用软件 yum install -y tree vim wget bash-completion bash-completion-extras lrzsz net-tools sysstat iotop iftop htop unzip nc nmap telnet bc psmisc 9.优化linux内核参数 cat >>/etc/sysctl

docker部署安装zabbix

荒凉一梦 提交于 2019-11-28 05:24:51
安装docker 安装docker需要配置网络yum源,centos7自带的版本太低了 第一步:下载阿里云的docker安装包 在yum仓库的目录之下 [root@localhost yum.repos.d]# wget http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 还需要使用到extra和epel源 [extra] name=centos extra enabled=1 gpgcheck=0 baseurl=https://mirrors.aliyun.com/centos/7/extras/x86_64/ [epel] name=epel enabled=1 gpgcheck=0 baseurl=https://mirrors.aliyun.com/epel/7Server/x86_64/ 第二步:使用yum即可进行安装 docker-ce是社区版,是免费的 docker-ee是企业版,是收费的 这里我们下载社区版的 [root@ken ~]# yum install docker-ce -y 第三步:添加加速器地址 把刚才注册得到的镜像加速地址如下步骤填写进去 [root@ken ~]# mkdir /etc/docker [root@ken ~]# cat /etc/docker/daemon

配置源

一个人想着一个人 提交于 2019-11-28 05:23:44
配置网络源 vim /etc/yum.repos.d [epel1] name = epel enabled = 1 gpgcheck = 0 baseurl = https://mirrors.aliyun.com/epel/7/x86_64/ cost = 1 [centos] name = centos base enabled = 1 gpgcheck = 0 baseurl = http://mirrors.163.com/centos/7/os/x86_64/ ---------------------------------------------------------------------------------------------------------------------------- 下载docker时 还需要使用到extra和epel源 [extra] name=centos extra enabled=1 gpgcheck=0 baseurl=https://mirrors.aliyun.com/centos/7/extras/x86_64/ [epel] name=epel enabled=1 gpgcheck=0 baseurl=https://mirrors.aliyun.com/epel/7Server/x86_64/ --------

centos7下安装最新nginx并管理

家住魔仙堡 提交于 2019-11-28 03:46:26
开始前的准备 在开始阅读此教程之前,请确保你是以拥有 sudo 权限的用户来登录的服务器,并且服务器中没有 Apache 或是其他服务正在使用 80(HTTP) 和 443(HTTPS) 端口上,防止端口被占用,造成 Nginx 无法正常启动。 在 CentOS 中安装 Nginx 请按照下面的步骤,在 CentOS 中安装 Nginx。 1、 EPEL 仓库中有 Nginx 的安装包。如果你还没有安装过 EPEL,可以通过运行下面的命令来完成安装: sudo yum install epel-release 上面代码的意思是以 sudo 权限运行安装 epel-release,如果你当前登录的用户不是 root,则会提示你输入密码来运行,输入密码时是看不到输入的内容的,所以不用担心,继续输入就行。然后回车继续运行,后面的命令中如果包含 sudo 则都表明是刚提到的意思,不再重复解释。 2、 输入以下命令来安装 Nginx: sudo yum install nginx 如果这是您第一次从 EPEL 仓库中安装软件,yum 可能会提示您导入 EPEL GPG key: Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 Importing GPG key 0x352C64E5: Userid :

docker部署安装zabbix

和自甴很熟 提交于 2019-11-28 03:11:47
安装docker 安装docker需要配置网络yum源,centos7自带的版本太低了 第一步:下载阿里云的docker安装包 在yum仓库的目录之下 [root@localhost yum.repos.d]# wget http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 还需要使用到extra和epel源 [extra] name=centos extra enabled=1 gpgcheck=0 baseurl=https://mirrors.aliyun.com/centos/7/extras/x86_64/ [epel] name=epel enabled=1 gpgcheck=0 baseurl=https://mirrors.aliyun.com/epel/7Server/x86_64/ 第二步:使用yum即可进行安装 docker-ce是社区版,是免费的 docker-ee是企业版,是收费的 这里我们下载社区版的 [root@ken ~]# yum install docker-ce -y 第三步:添加加速器地址 把刚才注册得到的镜像加速地址如下步骤填写进去 [root@ken ~]# mkdir /etc/docker [root@ken ~]# cat /etc/docker/daemon

安装EPEL源

丶灬走出姿态 提交于 2019-11-28 01:26:21
[root@bogon yum.repos.d]# yum list | grep epel-release epel-release.noarch 7-9 extras [root@bogon yum.repos.d]# yum install -y epel-release Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com Resolving Dependencies --> Running transaction check ---> Package epel-release.noarch 0:7-9 will be installed --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================================================

centos6 安装docker

一曲冷凌霜 提交于 2019-11-28 00:24:37
docker 安装要求内核 大于3.10 , 而 centos6 机器上内核一般是 2.6 , 除了升级内核外, 还可以安装低版本的docker , 本文介绍docker 1.7的安装。 机器 环境 [root@node202 docker]# uname -a Linux node202.hmbank.com 2.6.32-573.el6.x86_64 #1 SMP Wed Jul 1 18:23:37 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux [root@node202 docker]# cat /etc/system-release Red Hat Enterprise Linux Server release 6.7 (Santiago) 添加epel源 rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 安装 yum -y install docker-io =====================================================================================================================================