2020年10月26日 星期一

Install Centos8

 Dell 710 Server Install CentOS 8.2

Downlead diver for Dell 710, 注意8.2 與8.1 有分別

https://elrepo.org/linux/dud/el8/x86_64/dd-megaraid_sas-07.710.50.00-1.el8_2.elrepo.iso

Copy to  USB and format under FAT32 rather NTFS !!

Put USB to Server with OS DVD (Or USB) 

到了Install 畫面, 按"TAB", 在底部那行加入 inst.dd=/dev/sda1

Start Install ( Default is "Server with GUI", suggest "Minimal Install" )

--------------------------------------

Install GUI 

yum -y groupinstall "Server with GUI"

......

systemctl set-default graphical

.....

reboot

-----------------------------------

dnf insted yum

指令與YUM一樣

check version:

dnf --version


-----------

after install, yum update not work "Failed to download metadata for repo ‘AppStream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist”"

cd /etc/yum.repos.d

sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*

sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo

如果沒有Wget. 可以執行 "yum install wget "

下載完成后執行

yum clean all

yum makecache

then, 

yum update

----Seems all steps must be performed once after the update. otherwise, no repo is workable---

沒有留言:

張貼留言

 YUM ( or DNF) upgrade PHP  listed running PHP version yum list installed |grep PHP Remove the old version yum remove php* Then install the ...