把腾讯云的ubuntu16.04升级到18.04

腾讯云买的服务器也没怎么弄,正好重装一下玩乐了。

1. 重装系统,在腾讯云里先停机,然后重装系统,目前最高是ubuntu16.04。为什么选择Ubuntu?因为,因为习惯吧,之前学习laravel就是用的Ubuntu,现在学习python,Ubuntu照样好使。

2. sudo su。首先切换到root用户。腾讯云和其他云服务器不一样,默认是Ubuntu用户,而阿里云等其他服务器安装好后默认用户就是root用户。

3. apt-get update。一般很快。

4. apt-get upgrade。好多需要更新,如果secureCRT等中文乱码,就按回车选择默认就可以了。

5. apt-get install update-manager。安装更新版本管理工具。有[y/n],当然选择y了。等待,等待……

6.do-release-upgrade -d 。其实这一步才是最重要的命令,可以忽略前面5步…… 输入y,然后继续,多选时按回车选择默认。时间蛮久,可以玩吧王者了。又掉段位了……还是钻石……

重启后登录不了了……

重置……

原文地址:https://www.cnblogs.com/andu99/p/9175664.html

时间: 2024-08-02 14:32:30

把腾讯云的ubuntu16.04升级到18.04的相关文章

制作U盘启动盘将Ubuntu 12.04升级为14.04的方法

1 介绍 在周六的下午,我决定想快速浏览一下书籍[1],看看这个关于Ubuntu的圣经究竟在讲什么东东.感觉讲的不错,当我看到介绍文件标记语言-TeX和LaTeX的时候,该书作者推荐在Ubuntu上常用的teTeX软件包,可是我在软件中心(Software Center)通过查询(Searcch)对话框并没有找到该软件,于是进入作者推荐的关于teTeX的主页(www.tug.org/tetex)去了解.发现teTex自2006那年就停止维护,建议对TEX感兴趣的安装和关注TexLive.我当时就

Ubuntu14.04升级到16.04遇到的问题

直接执行下面命令 [email protected]:/home/kuku# do-release-upgrade 若出现下面报错 The required dependency 'apt (>= 1.0.1ubuntu2.13)' is not installed. 则查看当前版本号 [email protected]:/home/kuku# uname -a Linux kuku-virtual-machine 4.2.0-27-generic #32~14.04.1-Ubuntu SMP 

Ubuntu升级到18.04

1.更新 sudo apt-get update 2.升级 sudo apt-get upgrade 3.检测最新版本 sudo update-manager -c -d 然后就会弹出窗口,提示ubuntu18.04现在可以安装,我们直接点击"升级"(窗口只有确定按钮就直接确定). 原文地址:https://www.cnblogs.com/woshimrf/p/upgrade-ubuntu-18.html

Ubuntu 12.04 升级到14.04之后,pidgin-sipe 出现的问题: Trouble with the pidgin and self-signed SSL certificate

Once again, I run into trouble when upgrading my LinuxMint. In last few days, my Linux mint notifies me that lots of packages need to be upgraded. As I'm using an LTS version, I agreed to download and upgrade all packages, which includes pidgin. Pidg

腾讯云ubuntu14.04安装hustoj

官方推荐的就是ubuntu14.04 用这个版本安装可以省去很多麻烦,之前在腾讯云用ubuntu16.04安装最后访问不了,但在本地安装却可以.所以就改ubuntu14.04了. 安装就简单多了,不需要LAMP环境. 运行下面三行命令就行了. wget https://raw.githubusercontent.com/zhblue/hustoj/master/trunk/install/install-ubuntu14.04.shchmod +x install-ubuntu14.04.sh

腾讯云服务器配置

腾讯云服务器配置(Ubuntu16.04) 1.首先备份apt更新源文件 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 然后更改源文件为清华大学开源软件镜像站 sudo vim /etc/apt/sources.list deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse deb https://mi

drf项目部署到腾讯云

1.部署准备 1.腾讯云服务器(Ubuntu 16.04系统) 在购买了腾讯云服务器成功之后,腾讯云的站内信会将系统的登录名:Ubuntu,以及登录初始密码发给你. 2.本地需要的软件工具 1. Xshell 远程操作服务器实例 通过Xshell,打开软件→[文件]→[新建]→[新建会话,输入云服务器的公网ip,用户名:ubuntu,登录初始密码]即可连接到云服务器. 为了方便安装包,从用户ubuntu切换为root用户: sudo -i 2. filezilla 用于将打包成zip包的项目压缩

How To Install Docker On Ubuntu 18.04

Docker is an increasingly popular software package that creates a container for application development. Developing in Docker speeds up applications, as it shares the kernel and other resources, instead of requiring dedicated resources. There are two

Ubuntu 18.04 设置固定的静态ip

系统版本: [email protected]:/# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04 LTS Release: 18.04 Codename: bionic [email protected]:/# 之前的版本网卡配置信息配置在/etc/network/interfaces文件,可以如下配置, auto ens33 iface ens33 i