ubuntu server 18.04 上安装 GNOME gnome-core 图形桌面
2023-02-26 10:20:39 时间
#/bin/bash # ubuntu 其他版本软件仓库: https://developer.aliyun.com/mirror/ubuntu?spm=a2c6h.13651102.0.0.3e221b11Lyoail # ubuntu18 阿里云仓库源 配置案例: echo " deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse " >> /etc/apt/sources.list # 写入软件仓库配置文件 sudo rm /var/lib/dpkg/updates/* sudo apt-get update # 更新软件仓库,否则无法安装出现问题: # E: dpkg uas interrupted, you nus tn an ually run 'dpkg --com figure-a' to correct the proble n. -+a:7k-11m7uAo..L.o..f..7.~m m一 -11 # E: dpkg 被中断,您必须手工运行 sudo dpkg –configure -a 解决此问题。 apt-get install x-window-system-core apt-get install gnome-core # 安装GNOME桌面环境。 startx # 执行以下命令,启动图形化桌面。
你还在原价购买阿里云、腾讯云、华为云、天翼云产品?那就亏大啦!现在申请成为四大品牌云厂商VIP用户,可以3折优惠价购买云服务器等云产品,并且可享四大云服务商产品终身VIP优惠价,还等什么?赶紧点击下面对应链接免费申请VIP客户吧:
相关文章
- LeetCode初中级算法题解:排序算法介绍篇
- 跟着官网学Go之基于Gin开发一个简单的RESTful API
- New 一个对象在堆中的历程
- 跟着官网学Go之Golang环境准备
- 包教包会的零拷贝,你会了吗?
- 面试官:Context携带数据是线程安全的吗?
- 聊聊无锁编程设计
- Golang 语言 Vendor 在 Gopath 和 Modules 中的区别
- 生产环境 Go 程序内存泄露,用 Pprof 如何快速定位
- 代码重用是什么,怎样更能使程序员受益?
- 如何测试 React 路由 ?
- C 开发人员应遵循的三个显式编程技巧
- 一日一技:8行炫技代码,知识点多得不得了
- 听说面试常考高性能分布式 ID 生成算法?
- 自古以来,JSON序列化就是兵家必争之地
- 一招制敌,搞定前端系统设计和优化题
- 科普文:常见垃圾回收算法与 JS GC 原理
- 面试突击:为什么ConcurrentHashMap是线程安全的?
- Web前端性能优化深度解读,这些细节千万不能忽视
- 手写简易前端框架:Vdom 渲染和 jsx 编译