CentOS7 最小化安装工具包精简版本

安装工具包

yum install net-tools wget zip unzip -y

更新yum源

#先进入源的目录 
cd /etc/yum.repo.d 或者/etc/yum.repos.d
#备份一下官方源 
mv CentOS-Base.repo CentOS-Base.repo.bak 
#将阿里源文件下载下来 
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 
#重建源数据缓存 
yum makecache 
ok,换源完成

#查看安装后的yum源
yum repolist

公共依赖

yum install build-essential openssl openssl-devel unixODBC unixODBC-devel make gcc gcc-c++ kernel-devel m4 ncurses-devel tk tc xz

linux6/7 下载、安装、配置JDK
https://gblfy.blog.csdn.net/article/details/104429254

发布了858 篇原创文章 · 获赞 114 · 访问量 17万+

猜你喜欢

转载自blog.csdn.net/weixin_40816738/article/details/104484809
今日推荐