本次安装的是ubuntu16.04

1.安装略过不说

2.安装后检查是否在安装过程中是否安装了OPEN-ssh,一定在安装最后的时候选择安装这个

3.修改rood密码的方法:

sudo passwd root ,然后更改root密码。具备了root的账号

4.更新源为国内的,推荐清华大学的源

https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/

ubuntu安装注意事项:

 

5.把相应内容复制到

cp  /etc/apt/sources.list  /etc/apt/sources.list.backup 

然后修改sources.list ,把上述清华大学源内容复制这里

5A.首先需要更新下资源。

sudo  apt-get  update   #更新系统

5B.对系统中的软件都更新升级。

sudo  apt-get   upgrade  

6.重启网卡服务

sudo /etc/init.d/networking restart

 

7.重启ssh服务

/etc/init.d/sshstart

8.关闭防火墙

ufw disabled

相关文章:

  • 2021-11-29
  • 2022-01-22
  • 2021-04-19
  • 2021-10-12
  • 2021-05-03
  • 2021-09-01
  • 2021-06-29
猜你喜欢
  • 2022-01-24
  • 2021-08-30
  • 2021-04-17
  • 2022-01-20
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
相关资源
相似解决方案