4

Centos8 安装备忘

 2 years ago
source link: https://3mile.github.io/archives/2019/1107115421/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

A beautiful sunrise

Centos8 安装并启用SSHD

  1. 安装sshd

    dnf install openssh-server
    
  2. 执行sshd服务

    systemctl start sshd
    
  3. 检查sshd服务状态

    systemctl status sshd
    
    sshd.service - OpenSSH server daemon
    Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
    Active: active (running) since Thu 2019-11-07 10:35:16 CST; 1h 22min ago
     Docs: man:sshd(8)
           man:sshd_config(5)
    Main PID: 977 (sshd)
    Tasks: 1 (limit: 23144)
     Memory: 5.1M
    CGroup: /system.slice/sshd.service
           └─977 /usr/sbin/sshd -D [email protected],[email protected],aes256>
    
  4. 允许sshd服务自启动

    systemctl enable sshd
    
  5. 设置防火墙

    firewall-cmd --zone=public --permanent --add-service=ssh
    

Centos8 安装telegram

  1. 启用getpagespeed 扩展存储库

    dnf install -y https://extras.getpagespeed.com/release-el8-latest.rpm
    
  2. 安装telegram

    dnf install -y telegram-desktop
    
  3. 从桌面菜单或在终端上输入以下命令,启动Telegram Messenger。请注意,首次启动Telegram 可能需要一些时间:

    telegram
    

Centos8 安装VirtualBox

  1. 添加VirtualBox存储库:

    dnf config-manager --add-repo=https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo
    
  2. 导入VirtualBox签名密钥:

    rpm --import https://www.virtualbox.org/download/oracle_vbox.asc
    
  3. 使用dnf命令安装软件包 VirtualBox 。 首先,检查可用的Virtualbox版本:

    dnf search virtualbox
    
    VirtualBox-6.0.x86_64 : Oracle VM VirtualBox
    

    选择版本并执行安装:

    dnf install VirtualBox-6.0
    
  4. 启动VirtualBox

    virtualbox
    

标签
Centos8

文章阅读量 1000000
Code -1: Request has been terminated
Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc. [N/A GET https://us.avoscloud.com/1.1/classes/Comment]
Powered By Valine
v1.4.4

© 2020 By 3mile


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK