Centos8 安装并启用SSHD
-
安装sshd
dnf install openssh-server
-
执行sshd服务
systemctl start sshd
-
检查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 -oCiphers=aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256>
-
允许sshd服务自启动
systemctl enable sshd
-
设置防火墙
firewall-cmd --zone=public --permanent --add-service=ssh
Centos8 安装telegram
-
启用getpagespeed 扩展存储库
dnf install -y https://extras.getpagespeed.com/release-el8-latest.rpm
-
安装telegram
dnf install -y telegram-desktop
-
从桌面菜单或在终端上输入以下命令,启动Telegram Messenger。请注意,首次启动Telegram 可能需要一些时间:
telegram
Centos8 安装VirtualBox
-
添加VirtualBox存储库:
dnf config-manager --add-repo=https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo
-
导入VirtualBox签名密钥:
rpm --import https://www.virtualbox.org/download/oracle_vbox.asc
-
使用dnf命令安装软件包 VirtualBox 。 首先,检查可用的Virtualbox版本:
dnf search virtualbox VirtualBox-6.0.x86_64 : Oracle VM VirtualBox
选择版本并执行安装:
dnf install VirtualBox-6.0
-
启动VirtualBox
virtualbox