栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

整理安装centos8出现的一些问题

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

整理安装centos8出现的一些问题

 

CentOS8下载及设置安装源

软件-安装源地址
https://ftp.sjtu.edu.cn/centos/8-stream/BaseOS/x86_64/os/
https://mirrors.aliyun.com/centos/8-stream/BaseOS/x86_64/os/ ---阿里云
https://mirrors.ustc.edu.cn/centos/8-stream/BaseOS/x86_64/os/
https://mirrors.njupt.edu.cn/centos/8-stream/BaseOS/x86_64/os/
https://mirrors.163.com/centos/8-stream/BaseOS/x86_64/os/ --网易
https://mirrors.huaweicloud.com/centos/8-stream/BaseOS/x86_64/os/ --华为
https://mirrors.tuna.tsinghua.edu.cn/centos/8-stream/BaseOS/x86_64/os/
https://mirrors.neusoft.edu.cn/centos/8-stream/BaseOS/x86_64/os/
https://mirrors.cqu.edu.cn/centos/8-stream/BaseOS/x86_64/os/
https://mirrors.bfsu.edu.cn/centos/8-stream/BaseOS/x86_64/os/
https://mirrors.nju.edu.cn/centos/8-stream/BaseOS/x86_64/os/

由于centOS8不存在桌面  所以需要激活控制台 

systemctl enable --now cockpit.socket    #激活控制台
systemctl disable --now cockpit.socket    #移除控制台

有的用户不存在控制台所以需要自己去安装Cockpit

登录你的 CentOS 8/RHEL 8,打开终端并执行以下 dnf 命令:

dnf install cockpit -y

运行以下命令启用并启动 cockpit 服务:

systemctl start cockpit.socket
systemctl enable cockpit.socket

使用以下命令在系统防火墙中允许 Cockpit 端口:

firewall-cmd --permanent --add-service=cockpit
firewall-cmd --reload

验证 cockpit 服务是否已启动和运行,执行以下命令:

systemctl status cockpit.socket
ss -tunlp | grep cockpit
ps auxf|grep cockpit

至此安装完成  可以通过 网页 https://你的ip:9090登录centOS终端

如果centOS是在虚拟机中安装 建议通过xshell连接centOS再去外网访问

附centOS8镜像(迅雷)

链接:https://pan.xunlei.com/s/VN1sQJjIuYhaf8xcPX29y-44A1
提取码:skjj

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/881164.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号