首页
学习
活动
专区
工具
TVP
发布

乐享123

专栏作者
130
文章
167141
阅读量
41
订阅数
Set Local Repo by Iso
想要挂载一个iso安装镜像作为本地repo mount iso mkdir -p /mnt/cdrom mount -t iso9660 -o loop /home/Centosxxxx.iso /mnt/cdrom set local repo vi /etc/yum.repos.d/local.repo [localrepo] name=Unixmen Repository baseurl=file:///mnt/cdrom gpgcheck=0 enabled=1 set up yum clean
happy123.me
2018-06-04
9690
Migrate Firewalld to Iptables on Centos7
关闭 FireWall systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 安装 iptables yum install iptables-services 配置 iptables #!/bin/bash IF="eth0" #清除规则 /sbin/iptables -F /sbin/iptables -X /sbin/iptables -Z # 预定义策略
happy123.me
2018-06-04
4330
How to Update to gcc4.9.x on Centos7
现在很多软件包默认编译要求GLIBCXX >=3.4.20,碰到这种事redhat系又哭了,目前Centos7.x默认仓库里的gcc还是4.8.5的,所以需要一个办法升级gcc相关组件>=4.9.1。 CentOS下升级gcc版本有两个途径,一个是添加其他源进行自动升级,一个是手动编译升级,这里先顺便讲下自动升级的两个办法: 添加Fedora源 在 /etc/yum.repos.d 目录中添加文件 FedoraRepo.repo ,并输入以下内容: [warning:fedora] name=fedora
happy123.me
2018-06-04
1.9K0
为centos添加EPEL Repo
centos默认的源软件不是很全,大部分时候需要添加EPEL源。 centos5.x wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm centos6.x wget
happy123.me
2018-06-04
4.9K0
没有更多了
社区活动
RAG七天入门训练营
鹅厂大牛手把手带你上手实战
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档