ICode9

精准搜索请尝试: 精确搜索
  • 配置阿里云yum源2020-12-03 11:57:06

    下载安装wget yum install -y wget 备份默认的yum mv /etc/yum.repos.d /etc/yum.repos.d.backup 设置新的yum目录 mkdir -p /etc/yum.repos.d 下载阿里yum配置到该目录中,选择对应版本 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-

  • Linux学习 - 02 使用 - Centos8 - 『更换rpm/epel包源为国内源』2020-11-23 23:35:38

    1. Centos8 - 『更换rpm/epel包源为国内源』 centos 8 默认是会读取centos.org的mirrorlist的,所以一般来说是不需要配置镜像的。 如果你的网络访问mirrorlist有问题,才需要另外配置 相关镜像配置,请参考各镜像站的相关帮助: rpm 源 -- 阿里云 『CentOS 镜像』 -- 清华大学开源软件

  • centos8更换阿里云yum源和epel源2020-11-15 12:04:30

      # cat /etc/redhat-release   源配置目录 cd /etc/yum.repos.d vi CentOS-AppStream.repo baseurl=https://mirrors.aliyun.com/centos/$releasever/AppStream/$basearch/os/ vi CentOS-Base.repo baseurl=https://mirrors.aliyun.com/centos/$releasever/BaseOS/$ba

  • 通过windows远程桌面连接CentOS系统2020-11-05 08:32:05

    收藏: https://blog.csdn.net/wylfengyujiancheng/article/details/67643293     前提: CentOS安装桌面,如果无桌面,请执行 # yum -y groups install "GNOME Desktop" # startx 1 2 配置源 # yum install epel* -y 1 安装xrdp # yum --enablerepo=epel -y install xrdp 1

  • linux下安装nginx2020-10-31 20:02:16

    备份yum源 cd /etc/yum.repos.d mkdir repo_bak mv *.repo repo_bak/ 下载阿里云repo文件 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo 清空yum

  • AB 安装AB到CentOS2020-10-21 18:01:35

    系统版本:CentOS Linux release 7.3.1611 (Core) 软件版本:httpd-tools-2.4.6 硬件要求:无 1、安装YUM-EPEL源 HTTP-Tools软件包由YUM-EPEL源提供。 [root@localhost ~]# yum -y install epel-release.noarch 2、安装HTTPD-Tools [root@localhost ~]# yum -y install httpd-tools

  • Centos下安装Docker2020-10-16 17:31:55

    Docker可以运行MAC、Windows、Centos、DEBIAN、UBUNTU等操作系统上,提供社区版和企业版,本文开发环境基 于Centos安装Docker。由于Centos6对Docker支持的不好,使用Docker建议升级到Centos7。 Centos7 #安装 yum install -y docker #启动 service docker start #检查 docker version

  • centos7下自建yum源同步阿里源仓库-搭建篇12020-09-29 22:51:34

    yum源服务端配置工作 一、安装必要的软件 yum install -y wget make cmake gcc gcc-c++ &&\ yum install -y pcre-devel lib zlib-devel \ openssl openssl-devel createrepo yum-util 安装nginx ,一会需要对外提供http服务。 yum -y install nginx 二、创建索引下一步将nginx的根

  • nginx 快速安装2020-09-05 05:00:50

    必要条件 1能访问外网 2防火墙放开80 3有软件安装权限 依次执行以下命令 一、设置CentOS7的yum源及EPEL yum源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.cloud.tencent.com/repo/centos7_base.repo wget -O /etc/yum.repos.d/epel.repo http://mirrors.cloud.te

  • centos安装redis(rpm)2020-06-10 16:03:23

     第一、redis安装错误提示 yum -y install redis 
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.sonn.com
* extras: mirror.supremebytes.com
* updates: mirrors.cat.pdx.edu
Setting up Install Process
No package red

  • ansible部署2020-05-15 10:53:21

    1. ansible安装 1.1 环境 centos6.5系统 服务端python2.6及python2.7 客户端只需要安装python2.5及以上和ssh 1.2 部署 (1)源码安装  安装   #git clone git://github.com/ansible/ansible.git --recursive   #cd ./ansible   #./hacking/env-setup   #pip install p

  • CentOS82020-05-09 14:56:44

    重启网卡,需要先查看网卡名称。 # 可以通过ip addr查看网卡名称。 sudo nmcli c reload 网卡名称 启用 EPEL 和 PowerTools 存储库。 sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm sudo dnf config-manager --set-enabled

  • CentOS7 安装redis2020-04-25 13:00:19

    CentOS7 安装redis yum安装 yum install redis -y 如出现以下错误 Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirrors.huaweicloud.com * extras: mirrors.huaweicloud.com * updates: mirrors.neusoft.edu.cn No pa

  • CentOS-7安装pip2020-04-22 11:56:19

    首先需要安装epel-release拓展源 pip对应的python2.7 pip3ui应的python3.x yum -y install epel-release (1)随后,清空cache,并makecache yum clear all yum makecache (2)安装pip  yum -y install python-pip (3)升级pip pip install --upgrade pip

  • CentOS 7 X64 LNMP快速安装2020-04-04 13:57:35

    1. 背景   一台云服务器  CentOS 7.X x64   最快速的安装,展示类应用 2. 安装过程 # 更新epel-release 依赖库 yum install epel-release -y # 强制YUM安装Nginx、Mariadb、PHP组件  yum -y install nginx* mariadb* php* --skip-broken # 启动服务并设置开机启动服务 s

  • CentOS 7使用yum安装PHP5.62020-04-03 18:07:21

    CentOS 7使用yum安装PHP5.6   删除旧php包 yum remove php.x86_64 php-cli.x86_64 php-common.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mysql.x86_64 php-pdo.x86_64 配置epel源 yum install -y epel-release wget -O /etc/yum.

  • CentOS7安装jq2020-04-02 09:52:00

    jq 简介JSON 是一种轻量级的数据交换格式。其采用完全独立于语言的文本格式,具有方便人阅读和编写,同时也易于机器的解析和生成。这些特性决定了 JSON 格式越来越广泛的应用于现代的各种系统中。作为系统管理员,在日常的工作中无论是编辑配置文件或者通过 http 请求查询信息,我们都不

  • Linux有趣的命令2020-03-23 20:01:53

    安装EPEL EPEL (Extra Packages for Enterprise Linux,企业版Linux的额外软件包) 是Fedora小组维护的一个软件仓库项目,为RHEL/CentOS提供他们默认不提供的软件包。这个源兼容RHEL及像CentOS和Scientific Linux这样的衍生版本。可以很容易地通过yum命令从EPEL源上获取上万个在Cent

  • Ansible2.9.6 Yum安装2020-03-23 14:04:24

    1、首先先查看操作系统版本  2、先进入到放置repo文件的目录  3、下载并重命名repo文件  4、清理缓存、更新yum源    5、安装epel-release    6、安装python [root@app yum.repos.d]# yum install ansible –y 报错如下图所示    7、将epel.repo文件放在别的文

  • Centos Install EPEL repository failed, please check it2020-03-19 20:52:08

    vi /etc/yum.repos.d/epel.repo,将epel配置信息中的baseurl注释去掉,mirrorlist   如果内容为空则需要重新安装epel 1、首先检查系统是否安装epel-release  rpm -q epel-release   2、安装 32位:http://mirrors.ustc.edu.cn/fedora/epel/6/i386/epel-release-6-8.noarch.rpm 6

  • nginx安装配置 centos72020-03-08 14:02:04

    安装epel源码 yum -y install epel-release  yum -y install nginx   worker进程绑定cpu核心,提高缓存命中率,提高效率 配置文件nginx.conf ,worker processes下面添加一行: worker_cpu_affinity auto ,或者是掩码 0001,0010,0100,1000(绑定4个cpu核心)

  • Linux(软件包管理-系统级别的官方源)6/72020-03-08 10:42:42

    (一) 概览 RPM(Redhat Pagckage Manage) 用yum方式安装rpm包,用pip安装python包 软件包分类: 常见的二进制包: 查看yum安装源: yum repolist (二)基础源 安装完 centos后,默认会有三个源(一般安装完centos后第一件事是更新系统软件,使用“yum update” 命令从base updates extras中去更新

  • yum安装时出现:Cannot retrieve metalink for repository: epel. Please verify its path and try again2020-03-03 22:02:09

    在CentOS 6.3 x86_64下安装php-mcrypt的时候出现了问题:Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again,需要安装epel源。 解决方法: 一句话:把/etc/yum.repos.d/epel.repo,文件第3行注释去掉,把第四行注释掉。具体如下: 打开/etc/yum.rep

  • CentOS7设置阿里镜像2020-03-02 14:05:59

      1. 备份原来的yum源 sudo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 2.设置aliyun的yum源 sudo wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 3.添加EPEL源 EPEL(http://fedoraprojec

  • Linux安装pip命令2020-02-01 18:38:56

    1 报错内容 # pip -bash: pip: 未找到命令 或者 - bash: pip: command not found 2 解决办法 1、如果没有epel源下载阿里的epel源 # wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo 2、安装pip # yum -y install python-pip 3 验证 #

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有