当前位置:首页 > 教育培训 >

ubuntu18系统要求(ubuntu server 18 硬件要求)

来源:原点资讯(www.yd166.com)时间:2023-06-10 02:55:51作者:YD166手机阅读>>

建议最小化安装 Ubuntu 系统,精简不必要的软件!

Ubuntu 镜像

用于 apt 加速。首先,选择你的 Ubuntu 版本的配置,

  • 阿里源
    • https://developer.aliyun.com/mirror/ubuntu
  • 清华源
    • https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/

然后,替换进 /etc/apt/sources.list :

sudocp/etc/apt/sources.list/etc/apt/sources.list.backup sudovi/etc/apt/sources.list sudoaptupdate中文输入法

  1. 打开 Settings 的 Region & Language 配置页,点击 Manage Installed Language 弹出 Language Support 窗口
  2. 于 Language Support 窗口,点击 Install/Remove Languages ,勾选 Chinese (simplified) 再 Apply 安装语言
    1. Keyboard Input method system 选 IBus
  3. 回到 Region & Language 配置页, Input Sources 下点击 ,选择 Chinese 再 Chinese (Intelligent Pinyin) 完成
  4. 打开 Settings 的 Devices Keyboard 配置页,可修改 Typing 快捷键。默认 Super Space 切换输入。
    1. Chinese (Intelligent Pinyin) 时 Shift 切换中英。
exFAT 驱动

支持 exFAT 格式的移动硬盘。exFAT 于 macOS, Windows 可读写;文件和分区的大小,可到 128PB 。

sudoaptinstallexfat-fuseexfat-utils必要开发软件

系统最小化安装时,必要安装的一些工具:

#ifconfig sudoaptinstallnet-tools

开发,必要安装的一些软件:

sudoaptinstallbuild-essentialcmakegit

  • Visual Studio Code on Linux
    • https://code.visualstudio.com/docs/setup/linux
SSH 配置

远程机器启用 SSH 服务:

#安装服务 sudoaptinstallopenssh-server #启动服务 sudoservicesshstart #检查服务 ps-aux|grepssh

如果要免密登录,可把公钥复制进 ~/.ssh/authorized_keys。或者,本地机器写进远程机器:

ssh-copy-id-i~/.ssh/id_rsa.pubremote@0.0.0.0

本地机器添加 SSH 私钥:

#如果没有,则生成秘钥 #私钥id_rsa公钥id_rsa.pub ssh-keygen-trsa-C"ikuokuo@hotmail.com" #把已有私钥放进~/.ssh/ mkdir-p~/.ssh/ mvid_rsa~/.ssh/ chmod600~/.ssh/id_rsa #添加进ssh-agent ssh-add~/.ssh/id_rsa #测试是否成功 ssh-Tremote@0.0.0.0

配置 ~/.ssh/config,可设 Host 昵称,如用于 GitHub 多账户:

Hostgithub.com HostNamegithub.com PreferredAuthenticationspublickey IdentityFile~/.ssh/id_rsa屏幕分享

Settings > Sharing > Screen Sharing ,启用屏幕分享。

系统最小化安装时,或于某些嵌入式版本的 Ubuntu ,不存在上述选项,需安装:

#安装服务 sudoaptinstallvino #启用服务 /usr/lib/vino/vino-server #SSH登录启用服务 /usr/lib/vino/vino-server--display=:0

配置需关闭 require-encryption ,此后如 macOS Screen Sharing 等才可登录:

#sudoaptinstalldconf-editor sudoaptinstalldconf-tools dconfwrite/org/gnome/desktop/remote-access/require-encryptionfalse

Ubuntu 可用 Remmina 客户端软件, VNC 进入远程桌面:

sudoaptinstallremminaremmina-plugin-vnc屏幕录制

  • Kazam: 屏幕录制
  • HandBrake: 格式转换

因为 Kazam 录制格式于其他平台可能存在问题,如微信。可用 HandBrake 转换成 MPEG-4 再分享。

sudoaptinstallkazamhandbrake桌面优化

可用 Tweaks 优化或定制 GNOME 桌面。其扩展可见:https://extensions.gnome.org 。

sudoaptinstallgnome-tweaksNvidia 驱动

如果是 N 卡,可安装 Nvidia 驱动。推荐使用 graphics drivers PPA 方式:

sudoadd-apt-repositoryppa:graphics-drivers/ppa sudoaptupdate

如果安装 CUDA Toolkit ,请先了解 CUDA Compatibility https://docs.nvidia.com/deploy/cuda-compatibility/index.html。安装 CUDA Toolkit 时,注意其携带的驱动版本,最好将其与驱动分别进行安装。而驱动从官方上直接找合适的版本。

查看驱动信息

Settings > Details > About, Graphics: 查看显卡驱动

$ubuntu-driversdevices ==/sys/devices/pci0000:00/0000:00:14.3== modalias:pci:v00008086d000006F0sv00008086sd000002A4bc02sc80i00 vendor:IntelCorporation manual_install:True driver:backport-iwlwifi-dkms-distrofree

$lspci|grep-ivga 00:02.0VGAcompatiblecontroller:IntelCorporationDevice9bc4(rev05) 01:00.0VGAcompatiblecontroller:NVIDIACorporationDevice1f15(reva1) $lspci-v-s01:00.0 01:00.0VGAcompatiblecontroller:NVIDIACorporationDevice1f15(reva1)(prog-if00[VGAcontroller]) Subsystem:Device1d05:1097 Flags:busmaster,fastdevsel,latency0,IRQ159 Memoryatc5000000(32-bit,non-prefetchable)[size=16M] Memoryatb0000000(64-bit,prefetchable)[size=256M] Memoryatc0000000(64-bit,prefetchable)[size=32M] I/Oportsat6000[size=128] ExpansionROMatc6000000[disabled][size=512K] Capabilities:<accessdenied> Kerneldriverinuse:nouveau Kernelmodules:nvidiafb,nouveau安装 Nvidia 驱动

apt-cachesearchnvidia|grep^nvidia-driver sudoaptinstallnvidia-driver-440查看 Nvidia 驱动信息

$nvidia-smi FriApr1707:31:552020 ----------------------------------------------------------------------------- |NVIDIA-SMI440.82DriverVersion:440.82CUDAVersion:10.2| |------------------------------- ---------------------- ---------------------- |GPUNamePersistence-M|Bus-IdDisp.A|VolatileUncorr.ECC| |FanTempPerfPwr:Usage/Cap|Memory-Usage|GPU-UtilComputeM.| |=============================== ====================== ======================| |0GeForceRTX2060Off|00000000:01:00.0Off|N/A| |N/A40CP85W/N/A|263MiB/5934MiB|3%Default| ------------------------------- ---------------------- ---------------------- ----------------------------------------------------------------------------- |Processes:GPUMemory| |GPUPIDTypeProcessnameUsage| |=============================================================================| |01560G/usr/lib/xorg/Xorg144MiB| |01726G/usr/bin/gnome-shell76MiB| |02063G...uest-channel-token=1054483394819661551739MiB| -----------------------------------------------------------------------------

#afterreboot $nvidia-settings

栏目热文

ubuntu1804怎么安装(ubuntu1804安装包怎么解压)

ubuntu1804怎么安装(ubuntu1804安装包怎么解压)

进入系统安装的第一个界面,开始系统的安装操作。每一步的操作,左下角都会提示操作方式!!1.选择系统语言-English2...

2023-06-10 03:22:43查看全文 >>

ubuntu1804网络配置(ubuntu1804升级后网络没了)

ubuntu1804网络配置(ubuntu1804升级后网络没了)

编译自: https://www.ostechnix.com/how-to-configure-ip-address-i...

2023-06-10 03:25:12查看全文 >>

ubuntu1804稳定吗(ubuntu1804死机了怎么操作)

ubuntu1804稳定吗(ubuntu1804死机了怎么操作)

编译自: http://www.Linuxandubuntu.com/home/ubuntu-1804-vs-Fedor...

2023-06-10 02:49:00查看全文 >>

ubuntu 1804桌面是什么

ubuntu 1804桌面是什么

请关注本头条号,每天坚持更新原创干货技术文章。如需学习视频,请在微信搜索公众号“智传网优”直接开始自助视频学习1. 前言...

2023-06-10 02:54:04查看全文 >>

ubuntu1804配置要求(ubuntu1804配置网卡)

ubuntu1804配置要求(ubuntu1804配置网卡)

从事JEE开发多年,一直都是在Windows环境下进行编程的工作,总想安装一个Linux的系统,试试在Linux环境下编...

2023-06-10 03:23:47查看全文 >>

ubuntu21.04(ubuntu 21.04新特性)

ubuntu21.04(ubuntu 21.04新特性)

曾经,Ubuntu 拥趸因 21.04(Hirsute Hippo)成为首个搭载 GNOME 40 桌面环境的发行版本而...

2023-06-10 03:20:10查看全文 >>

ubuntu 18版本(Ubuntu 版本)

ubuntu 18版本(Ubuntu 版本)

Ubuntu 18.04 即将停止更新,以下是你需要了解的信息。标志性的 Ubuntu 18.04 “Bionic B...

2023-06-10 03:09:35查看全文 >>

ubuntu 16.10(ubuntuserver16.04)

ubuntu 16.10(ubuntuserver16.04)

在这篇文章中,我们会介绍迄今为止所有 Ubuntu 发行版本的吉祥物。你可能已经注意到了:每个 Ubuntu 版本都会...

2023-06-10 03:19:50查看全文 >>

ubuntu10.04.4

ubuntu10.04.4

Ubuntu是一个流行的Linux操作系统,和其他Linux发行版相比,Ubuntu非常易用,和Windows相似性很好...

2023-06-10 02:53:18查看全文 >>

ubuntu10.4

ubuntu10.4

openwrt是由Cisco放出源代码的开放无线路由平台。由于是基于linux内核,所以可以将很多linux平台下的软件...

2023-06-10 03:03:10查看全文 >>

文档排行