zoukankan      html  css  js  c++  java
  • Ubuntu Server 18.04安装后vi命令解决键盘错乱方法和wifi连接之后不能上网

    一、编辑/etc/vim/vimrc.tiny   使用root权限操作

    将“compatible”改成“nocompatible”

    新增一个配置:

    set backspace=2  。

    最终效果是:

    保存即可。

    二、wifi装填已连接,但不能上网解决办法需要配置DNS

    vi /etc/systemd/resolved.conf

    在如下位置配置DNS后保存

    重启systemd-resolved服务

    service systemd-resolved restart

    三、开启远程连接:

    1.更新源列表

      sudo apt-get update

    2.安装openssh-client

      sudo apt-get install openssh-client

    3.安装openssh-service

      sudo apt-get install openssh-server

    4.启动ssh服务

      sudo service ssh start

    5.查看IP地址

      ifconfig

      假如出现command not found,可以执行下面的命令来安装net-tools

      sudo apt install net-tools

    参考连接:https://blog.csdn.net/weixin_42739326/article/details/82260588

  • 相关阅读:
    3.27 课堂 笔记
    第四周 4-2
    3-26
    Java EE期末项目
    条件查询、SQL、JPQL、HQL比较
    J2EE 第八周(04.23-04.29)
    J2EE 第七周(04.16-04.22)
    J2EE 第六周(04.09-04.15)
    J2EE 第五周(04.02-04.08)
    J2EE 第四周(03.26-04.01)
  • 原文地址:https://www.cnblogs.com/free-ys/p/10504858.html
Copyright © 2011-2022 走看看