Ubuntu-server版安装

Ubuntu-server版安装

一.下载镜像
 地址:https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/

二.安装。
这里就不介绍怎么创建虚拟机了,直接是开机安装Ubuntu的步骤!
安装server版没有鼠标操作,全部是键盘,字符界面控制!

1.选择语言,回车下一步
Ubuntu-server版安装
2.默认安装。直接回车下一步
Ubuntu-server版安装

3.还是选择语言,保持默认,回车下一步
Ubuntu-server版安装

4.选择国家!
Ubuntu-server版安装Ubuntu-server版安装Ubuntu-server版安装

5.选择字符编码!
Ubuntu-server版安装

6.键盘设置!
Ubuntu-server版安装
Ubuntu-server版安装Ubuntu-server版安装

7.上一步回车后会自动设置一些网络相关的!

8.配置主机名称
Ubuntu-server版安装

9.添加新用户
在Ubuntu中也有root用户,但是不让root用户直接登录,必须创建一个普通用户登录系统,如果需要管理操作的话,后期可切换至root用户
Ubuntu-server版安装Ubuntu-server版安装Ubuntu-server版安装Ubuntu-server版安装

10.磁盘管理
Ubuntu-server版安装Ubuntu-server版安装Ubuntu-server版安装Ubuntu-server版安装Ubuntu-server版安装
Ubuntu-server版安装Ubuntu-server版安装
Ubuntu-server版安装Ubuntu-server版安装Ubuntu-server版安装Ubuntu-server版安装Ubuntu-server版安装

swap分区,先指定大小后子啊选择文件系统,swap就可以创建完成
Ubuntu-server版安装Ubuntu-server版安装Ubuntu-server版安装

11.是否自动更新,当然选择不自动
Ubuntu-server版安装

12.安装基础包,一定要安装ssh
Ubuntu-server版安装

然后安装!!!

13.安装grub引导程序
Ubuntu-server版安装

14.重启完成!
Ubuntu-server版安装

重启后正常使用!!!
建议先做个快照


在第一次登录后创建root密码!
登录后输入命令 “sudo passwd root”,提示输入当前用户密码。 提示"输入新的UNIX密码",此时输入要设置的root口令,然后 su - root 切换以下试试!