随笔分类 -  linux

摘要:阿里巴巴开源镜像站:https://developer.aliyun.com/mirror/ 华为开源镜像站:https://mirrors.huaweicloud.com/ 腾讯开源镜像站:https://mirrors.cloud.tencent.com/ 网易开源镜像站:http://mirr 阅读全文
posted @ 2020-09-29 16:47 缘木与鱼 阅读(165) 评论(0) 推荐(0) 编辑
摘要:1、原文件备份 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 2、编辑源列表文件 sudo vim /etc/apt/sources.list 3、将原来的列表删除,添加如下内容 (dG 删除至文末 d1G 删除至文首) 阿里云官方镜 阅读全文
posted @ 2019-05-31 15:25 缘木与鱼 阅读(19372) 评论(0) 推荐(1) 编辑
摘要:1、安装Centos后默认的Yum源如下 ll /etc/yum.repos.d/ [root@localhost ~]# ll /etc/yum.repos.d/ [root@localhost ~]# ll /etc/yum.repos.d/ total 32 total 32 -rw-r--r 阅读全文
posted @ 2019-05-31 15:22 缘木与鱼 阅读(26116) 评论(0) 推荐(1) 编辑
摘要:1、安装Centos后默认的Yum源如下 [root@localhost ~]# ll /etc/yum.repos.d/ total 32 -rw-r--r--. 1 root root 1664 Nov 23 21:16 CentOS-Base.repo -rw-r--r--. 1 root r 阅读全文
posted @ 2019-05-31 15:18 缘木与鱼 阅读(1545) 评论(0) 推荐(0) 编辑
摘要:1、 安装xrdp sudo apt-get -y install xrdp 2、安装vnc4server sudo apt-get install vnc4server 3、安装xubuntu-desktop sudo apt-get -y install xubuntu-desktop 4、向x 阅读全文
posted @ 2019-05-31 15:10 缘木与鱼 阅读(3731) 评论(0) 推荐(0) 编辑
摘要:一般来说常用的会配置两个网卡:(两个网卡应该在安装虚拟机之前就设置好) 1、NAT网络: 用于上外网; 2、host-only: 用于ssh连接,可以被其他人远程访问。 前提: 如图:在virtualbox下设置全局的网络 操作步骤: 1 --> 全局设定 --> 2 --> 3 -- > 4 -- 阅读全文
posted @ 2018-12-04 19:20 缘木与鱼 阅读(285) 评论(0) 推荐(0) 编辑