第一安装Ubuntu20.04你需要做的事

时间:2021-08-23
本文章向大家介绍第一安装Ubuntu20.04你需要做的事,主要包括第一安装Ubuntu20.04你需要做的事使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。

1.  apt的使用

  1.1 你需要打开shell实列,进入root用户下的命令行

vim .bashrc

# 在该文件的最后添加代理
# export http_proxy=http://child-prc.intel.com:913
# export https_proxy=http://child-prc.intel.com:913

  普通用户使用:

Acquire::http::Proxy "http://child-prc.intel.com:913/";
Acquire::https::Proxy "https://child-prc.intel.com:913/";

  notes:

  1. 然后你在root的shell实列下就可以使用apt了

  2. 但是你会发现,切换到普通用户apt不能使用了

  3. 当然你的网络不需要设置代理,我想事不存在这个问题的

2.  Firefox web browser

  1.  选择setting,然后网络设置,选择设置代理

  2. 输入代理: child-prc.intel.com    913

3. ssh 

 3.1 普通用户连接

  安装工具

  apt-get install openssh-client openssh-server

 3.2 root用户连接

  first: passwd root

  second: vim /etc/ssh/sshd_config

  input context: # PermitRootLogin *** -->  PermitRootLogin yes

原文地址:https://www.cnblogs.com/zhuangshenhao/p/15167042.html