Ubuntu系统升级
- 查看当前版本
lsb_release -a
- 执行更新
apt-get update
apt-get upgrade
apt dist-upgrade
- 重启系统
reboot
- 升级系统
do-release-upgrade
注:升级会从14.04升级到16.04,然后再从14.04升级到18.04
lsb_release -a
apt-get update
apt-get upgrade
apt dist-upgrade
reboot
do-release-upgrade
注:升级会从14.04升级到16.04,然后再从14.04升级到18.04