Ubuntu



title: 星期六 ubuntu
date: 2021-03-20 18:47:34
tags:


alt

1
2
3
4
5
6
7
8
9
10
$ deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb 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 main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

以上apt-get ubuntu 镜像源本人亲测可用
方法: bash $ sudo vim /etc/apt/sources.list

在前面加# 注释掉原来的镜像源
替换成国内的镜像源这个bionic(Ubuntu系统代号codename)要根据自己的Ubuntu版本进行修改 查看Ubuntu版本命令lsb_release -a,可解决下载速度慢
bash $ hexo -s hexo clean hexo d or hexo deploy
hexo s 启动本地服务器 localhost:4000 or 127.0.0.1:4000
hexo d 生成一个public文件夹 打包发布成浏览器可执行的html文件


文章作者: chen
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 chen !
  目录