ICode9

精准搜索请尝试: 精确搜索
  • 虚拟机Virtualbox网络设置HostOnly模式连接外网配置CentOS7的阿里云yum源2020-05-02 13:00:08

    本文先配置虚拟机网络环境,是的 host-only 网卡模式下的虚拟机可以上外网。再配置 阿里云的 yum 源  repo  一、计算机网络环境情况说明: 1、手机 开启热点模式,计算机连接到我的热点。      2、建立的虚拟机,当网络设置为”Host-Only“模式时:          二、使 Host-Only

  • centos 7.4 配置阿里YUM源镜像2020-04-29 11:03:54

    环境:centos 7.4 只搭建阿里源 步骤一:安装wget,已安装则跳过此步骤 [root@localhost ~]# wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo -bash: wget: 未找到命令 [root@localhost yum.repos.d]# yum -y install wget   步骤二:移除旧

  • linux centos 配置yum源步骤及操作方法2020-04-28 12:37:34

    一、了解yum源是什么。 二、如何更换yum源。 一、yum源是什么? linux下方便安装软件的优秀工具称之为yum工具,linux的二级制软件包一般为rpm包,类似于windows下的exe程序。通过yum工具安装,默认获取的rpm包的软件配置一般为国外centos官方源下载,所以安装软件会速度较慢,因此需要

  • 【转】CentOS7.X怎样更新yum源2020-04-20 17:55:59

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

  • linux-offen-used-commands2020-04-13 18:03:50

    文件系统 cd 进入目录 ls 列出目录信息,ls -al (或 ll)列出详细信息 touch 新建文件 mkdir 新建目录 rm 删除文件或目录 cp 复制 mv 移动(或重命名) 搜索、查找、读取 tail 从文件尾部读取 head 从文件头部读取 cat 读取整个文件 more/less 分页读取 grep 搜索关键字 find 查找文

  • CentOS7.X更新yum源2020-04-07 09:04:01

    对于新装的系统,最好更新一下yum源,不然有的软件用yum命令安装不上,因为该软件不在默认的源中。 1.备份原来的yum源 # cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo-backup 2.设置aliyun的yum源 # wget -O /etc/yum.repos.d/CentOS-Base.repo http://mir

  • 换成阿里云源yum2020-04-01 10:51:43

    改成阿里云源1、备份mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup2、下载新的CentOS-Base.repo 到/etc/yum.repos.d/ CentOS 5wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo或者curl -o /etc/yum

  • centos7 安装k8s kubectl 客户端2020-03-24 12:57:43

    1、 配置k8s的kubelet 管理客户端 1 cat <<EOF > /etc/yum.repos.d/kubernetes.repo 2 [kubernetes] 3 name=Kubernetes 4 baseurl=https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64 5 enabled=1 6 gpgcheck=1 7 repo_gpgcheck=1 8 gpgkey=https://mi

  • 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

  • Centos设置软件源2020-03-18 11:05:23

    yum的配置文件在/etc/yum.repos.d/下 备份Centos-Base.repo cp CentOS-Base.repo CentOS-Base.repo.bk 然后下载阿里云的yum文件 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 清理缓存 yum makecache 查看刚才配置的源 yum repolis

  • 搭建OpenStack私有云准备工作2020-03-17 20:02:33

    Centos7安装完成后克隆其他子节点 首先在VMware中:右击 虚拟机controller-->设置-->添加-->网络适配器,然后做如下设置:       在VMware中操作       点击:克隆-->下一步-->虚拟机中的当前状态-->创建完整克隆-->下一步(克隆controller、compuet、storage) 总体硬件架构:    

  • 将CentOS默认的yum源更换为国内的阿里源2020-03-15 15:01:34

    目录 1. 备份默认的源文件,防止因更换失败而出现的错误 2.下载新的CentOS-Base.repo到/etc/yum.repos.d/(也可以先现在好一个,然后在上传到服务器) 3. 之后运行yum makecache生成缓存 1. 备份默认的源文件,防止因更换失败而出现的错误 mv /etc/yum.repos.d/CentOS-Base.repo /e

  • CentoOS7搭建svn2020-03-15 10:09:23

    1.安装httpd subversion # yum install -y httpd subversion mod_dav_svn 2.创建svn库 # mkdir /cust/data/svn/repos # svnadmin create /cust/data/svn/repos/ # vim /cust/data/svn/repos/conf/svnserve.conf #修改以下4行 anon-access = none auth-access = write pas

  • git仓库创建及基本使用2020-03-09 15:55:09

    创建git用户 useradd git passwd git 创建目录 mkdir /home/git/repos/app.git/ -p 初始化目录 cd /home/git/repos/app.git/ git --bare init 其他主机clone下app.git git clone git@172.16.1.32:/home/git/repos/app.git 在其他主机目录创建文件index.html 首先提交到本机仓库

  • 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

  • (本地源)OpenStack多节点部署安装,实操演示!!2020-02-27 20:00:32

    文章目录前言一:实验环境1.1:环境介绍1.2:实验拓扑图1.3:实验目的二:实验过程2.1:创建虚拟机并安装系统2.2:修改三个节点的IP地址2.3:三个节点开局优化2.4:控制节点Openstack一键环境部署2.5:实验成功,谢谢观看! 前言 一:实验环境 1.1:环境介绍 VMware软件(我的电脑内存为24G) 主机名

  • 软件包管理-yum客户端配置文件2020-02-23 22:54:48

    1,yum源路径:repodata所在的路径 2,服务器端不再需要配置文件; 3,客户端配置文件:   a,/etc/yum.repos.d中已存在有repo文件,将这些repo文件移到指定位置   mkdir bak   b,/etc/yum.repos.d中建立repo文件,并配置内容(本地) 图中根据repodata的位置路径,知道yum源路径为/misc/cd  

  • CentOS7 更换阿里云yum源2020-01-22 12:39:33

    备份本地yum源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_bak 获取阿里yum源配置文件 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo  注意:这里使用了wget,如果使用过程出现问题,请参考:这里 更

  • Docker学习__安装Docker2020-01-16 21:54:16

    Doccur依赖的基础环境: 需要使用64为的CPU 内核版本需要使用3.10及以上版本   安装Docker有两种方式: CentOS 7     在名为“Extras”的长裤中存在有docker。     在这里不建议使用CentOS中自带的docker版本(版本太老了!!!)     在清华大学镜像站中将repo文件下载到/etc

  • 制作CentOS7yum源2020-01-16 10:04:29

    制作CentOS7.7 内网yum源 如果CentOS服务器处在内网环境中时,如果缺少依赖手动安装那么会非常麻烦,要花费很多时间来寻找rpm包,现在如果搭建本地的yum源,就非常方便了,如果搭建http的,那么局域网内其他服务器就都可以使用了,使用yum源首先需要一个CentOS安装镜像 IP 主机名 用途

  • 更新yum源2020-01-14 20:03:55

    cd /etc/yum.repos.d 备份一下原来的yum源 mv CentOS-Base.repo CentOS-Base.repo.bk 下载新的CentOS-Base.repo 到/etc/yum.repos.d/ 如下的源用一个就好,三条命令选其一 //更新为阿里云的源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Cent

  • Centos7+配置阿里云yum源2020-01-13 12:54:33

    备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup   下载新的 CentOS-Base.repo 到 /etc/yum.repos.d/ wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo or curl -o /etc/yum.repos.d/CentOS-B

  • 记录一次升级kernel2020-01-12 12:54:37

    记录一次升级非官方kernel 5.4.10-1.el7.elrepo     [root@va32llufweb03 ~]# cd /etc/yum.repos.d/ [root@va32llufweb03 yum.repos.d]# ls CentOS-Base.repo  CentOS-Debuginfo.repo  CentOS-Media.repo    CentOS-Vault.repo  epel-testing.repo CentOS-CR.repo    Ce

  • linux 最小功能版 切换yum源2020-01-08 23:51:04

    虚拟机网络配置为桥接 ip addr 查看网卡信息 vi /etc/sysconfig /network-scripts/ifcfg-网卡名 编辑ONBOOT=yes,激活网卡 重启网络服务 service network restart 安装net-tools,以便使用ifconfig命令 yum install net-tools 替换默认源使用说明 http://mirrors.163.com/.help/cen

  • KVM+GFS分布式文件系统高可用群集2020-01-06 22:55:08

    GlusterFS概述 GFS是一个可扩展的分布式文件系统,用于大型的、分布式的、对大量数据进行访问的应用。它运行于廉价的普通硬件上,并提供容错功能。它可以给大量的用户提供总体性能较高的服务。开源的分布式文件系统;由存储服务器、客户端以及 NFS/Samba 存储网关组成; GlusterFS 特点:

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

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

ICode9版权所有