首页 列表 - 第 2 页
Ubuntu启动修复
Ubuntu启动修复 如何修复无法正确启动的Ubuntu系统? 创建Live CD / USB 创建引导光盘/U盘 下载Ubuntu live ISO文件,然后使用dd写入光盘或者U盘。 $ sudo dd if="ubuntu-18.04-desktop-amd64.iso" of=/dev/sdX bs=8M 将U盘插入机器,选择从U盘引导。 当Ubuntu出现时,选择“
Views:0 2020-07-07
Ubuntu报错 sudo: add-apt-repository: command not found
Ubuntu报错 sudo: add-apt-repository: command not found 问题: sudo: add-apt-repository: command not found 修复add-apt-repository:命令在Ubuntu中找不到的错误很简单。 add-apt-repository命令取决于 software-properties-common 。 只需运行
Views:0 2020-07-07
Ubuntu 20.04系统备份和恢复
Ubuntu 20.04系统备份和恢复 在本教程中,我们将使用TimeShift来创建Ubuntu 20.04系统的完整系统备份快照。 安装Timeshift备份实用程序: $ sudo apt install timeshift 使用Timeshift GUI创建备份 创建系统备份 在左上方打开timeshift应用程序。 在这里,你有两个选择。首先是使用“rsync”作为主要备份工具或者
Views:0 2020-07-07
Ubuntu 20.04如何重置root密码
Ubuntu 20.04如何重置root密码 重新启动进入 GRUB 菜单。 如果 Ubuntu 20.04 是唯一安装的操作系统,您需要一直按“SHIFT”才能显示 GRUB 菜单。 接下来,当您的“Ubuntu”启动菜单突出显示时,按“e”编辑 Grub 菜单项。 使用上下箭头键,找到 ro quiet splash $vt_handoff 这行。 并把 ro quiet splash $v
Views:0 2020-07-07
如何从Windows 10远程桌面访问Ubuntu 20.04
如何从Windows 10远程桌面访问Ubuntu 20.04 在Ubuntu 20.04桌面上安装远程桌面协议(RDP)服务器XRDP。 $ sudo apt install xrdp 设置开机自启动并运行远程桌面共享服务器xrdp: $ sudo systemctl enable --now xrdp 打开3389TCP端口: $ sudo ufw allow from any to an
Views:0 2020-07-07
在Ubuntu 20.04中如何切换Python版本
在Ubuntu 20.04中如何切换Python版本 检查Ubuntu系统上有哪些Python版本: $ ls /usr/bin/python* /usr/bin/python2 /usr/bin/python2.7 /usr/bin/python3 /usr/bin/python3.7 /usr/bin/python3.7m /usr/bin/python3.8 /usr/bin/p
Views:0 2020-07-07
Ubuntu 20.04使用UFW打开HTTP端口80和HTTPS端口443
Ubuntu 20.04使用UFW打开HTTP端口80和HTTPS端口443 Ubuntu检查UFW防火墙的状态。 # ufw status verbose Status: active Logging: on (low) Default: deny (incoming), allow (outgoing), disabled (routed) New profiles: skip 我们有多种选
Views:0 2020-07-07
Ubuntu 20.04 NTP服务器
Ubuntu 20.04 NTP服务器 NTP 表示 National Time Protocol(国家时间协议),用于多台计算机的时钟同步。 NTP服务器负责彼此同步地保持一组计算机。 安装NTP服务器 首先,我们需要安装NTP服务器。 $ sudo apt install ntp 配置NTP服务器 NTP服务器已经预先配置了一些服务器池,我们可以在“/etc/ntp.conf”文件中
Views:0 2020-07-07
列出Ubuntu 20.04中所有服务
列出Ubuntu 20.04中所有服务 列出所有服务 列出所有服务单元文件: $ systemctl list-units --all --type=service --no-pager 列出所有可用的系统单元文件: $ systemctl list-unit-files --no-pager 可以使用grep过滤我们想要的服务单元文件: $ systemctl list-unit-fil
Views:0 2020-07-07
Ubuntu 20.04 如何安装Cinnamon桌面
Ubuntu 20.04 如何安装Cinnamon桌面 安装Cinnamon Desktop桌面: $ sudo apt install cinnamon-desktop-environment
Views:0 2020-07-07
在Ubuntu 20.04 上安装图形界面GUI
在Ubuntu 20.04 上安装图形界面GUI 更新“APT”包索引并安装“Tasksel”。 $ sudo apt update $ sudo apt install tasksel 通过“Tasksel”,我们可以安装下面主要桌面环境: 桌面 描述 kubuntu-desktop Kubuntu Desktop(KDE桌面) lubuntu-desktop Lubuntu
Views:0 2020-07-07
Ubuntu 20.04 使用命令行连接到WiFi
Ubuntu 20.04 使用命令行连接到WiFi 识别无线网络接口的名称: $ ls /sys/class/net enp0s25 lo wlp3s0 导航到 /etc/netplan 目录并找到适当的 Netplan 配置文件。 配置文件类似于 01-network-manager-all.yaml 或者 50-cloud-init.yaml。 $ ls /etc/netplan/ 编
Views:0 2020-07-07
Ubuntu 20.04如何使用命令行将ISO刻录到DVD
Ubuntu 20.04如何使用命令行将ISO刻录到DVD 检查系统是否支持DVD刻录。 $ cat /proc/sys/dev/cdrom/info 系统应具有至少一个支持DVD写入的硬件设备。 检查输出并查找 Can write DVD-R。 整数1表示支持DVD写入。 还要注意支持DVD写入的驱动器名称。 安装刻录工具: $ sudo apt install growisofs 将空白D
Views:0 2020-07-07
Ubuntu 14.04忘记root密码如何恢复
Ubuntu 14.04忘记root密码如何恢复 重新启动到GRUB2启动菜单 重启系统, 出现Grub2引导加载程序菜单时,按上下箭头停住。 选择要启动的Ubuntu系统,然后按“e”进行编辑。 修改引导选项 找到以“Linux”开头的行。 在末尾添加: init=/bin/bash 启动系统 修改后,按F10重启系统 重置我们丢失的密码 进入命令行提示后,输入以下Linux命
Views:0 2020-07-07
修复Ubuntu 20.04 Temporary failure resolving错误
修复Ubuntu 20.04 Temporary failure resolving错误 如何解决 Temporary failure resolving错误? 虽然此错误消息最有可能与DNS服务器名称解析相关,但第一步是检查我们的Internet连接。 $ ping -c 2 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 byte
Views:0 2020-07-07
sudo: apt-add-repository: command not found
sudo: apt-add-repository: command not found 解决方法: 获取最新的存储库更新。 $ sudo apt update 安装“software-properties-common”包。 $ sudo apt install software-properties-common 现在可以使用apt-add-repository 命令来添加PPA存储库了
Views:0 2020-07-07