准备篇:服务器环境搭建
1.购买阿里云服务器
具体步骤请参考阿里云官网
这里选择安装的镜像Linux ubuntu16.x系统
2.环境的搭建
-
刷新软件源
$ sudo apt-get update
当显示如下内容时更新完成
root@VM-0-16-ubuntu:~# sudo apt-get update Hit:1 http://mirrors.tencentyun.com/ubuntu bionic InRelease Get:2 http://mirrors.tencentyun.com/ubuntu bionic-security InRelease [88.7 kB] Get:3 http://mirrors.tencentyun.com/ubuntu bionic-updates InRelease [88.7 kB] Fetched 177 kB in 0s (