Fedora安装后有10件事

时间:2020-03-21 11:42:24  来源:igfitidea点击:

Fedora是Linux社区中的流行分发。
我也已经使用了Fedora。
由于其更新的软件包和虚拟化支持,我更喜欢Fedora。
如果我们没有使用它,请尝试。
安装后,在Fedora有景点可以做到让用户体验更加顺畅。
这些步骤也可以在CentOS,Redhat中实现。

SELinux是一种防止入侵到操作系统中的安全机制。

这是安全原因非常强大,但如果我们使用Fedora作为桌面,或者我们没有足够的源和SELinux的知识,请尝试禁用它。
请记住,禁用Selinux不会让我们容易受到攻击或者使我们成为攻击者的目标。
它只是Linux的另外安全层。

$sudo nano /etc/selinux/config

打开文件并将"selinux =强制执行"到"selinux = disabled"

# This file controls the state of SELinux on the system. 
# SELINUX= can take one of these three values: 
#     enforcing - SELinux security policy is enforced. 
#     permissive - SELinux prints warnings instead of enforcing. 
#     disabled - No SELinux policy is loaded. 
SELINUX=disabled 
# SELINUXTYPE= can take one of these three values: 
#     targeted - Targeted processes are protected, 
#     minimum - Modification of targeted policy. Only selected processes are protected. 
#     mls - Multi Level Security protection. 
SELINUXTYPE=targeted

主机名是主机的名称,它是在Fedora的大量不同的应用程序和服务使用。

为防止意外错误和问题将一个可靠的主机名设置为系统。

$sudo nano /etc/hostname

打开主机名文件并将主机名添加到文件中

theitroad1

应用主机名更改重新启动系统。

了解更多NMAP主机发现

DNS是网络通信的核心协议。

它将域名和主机名转换为IP地址。
访问网络/Internet快速DNS速度很重要,因此使用GUI或者命令行界面将快速DNS添加到系统。

系统更新是今天的一个重要问题。

它为现有系统提供了新的功能,安全性和稳定性。

$sudo dnf update -y

Chrome是一种现代快速浏览器,使用了数百万人。
Chrome在Fedora存储库中默认情况下不提供。

我们需要添加Chrome存储库,然后安装它。

$sudo cat << EOF > /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome - $basearch
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
EOF
$sudo dnf install google-chrome-stable

Firefox是旧的和开源浏览器,其前身是Netscape。

Firefox可以在Fedora存储库中找到。

[Hyman@theitroad ~]# dnf install firefox -y

IPv6是IPv4协议的新替代,但长时间,它也不会成为现在的主要替代。

如果我们不知道IPv6应用程序,则可以禁用IPv6.

$sudo nano /etc/sysctl.conf

并将以下行添加到sysctl.conf

#Disable IPv6 
net.ipv6.conf.all.disable_ipv6 = 1 
net.ipv6.conf.default.disable_ipv6 = 1 
net.ipv6.conf.lo.disable_ipv6 = 1

终端是Linux的核心,有很多不同的类型。

Yakaake为终端或者命令行控制台使用了新的概念。
yakaake有能力工作所有工作区,可以隐藏在f12键。

$sudo dnf install yakuake -y

RPMUSION是一个repo,提供了许多有用和封闭的源应用程序。
使用rpmfusion将使Fedora生活更轻松。

$sudo dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https:/
/download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

VLC多年来我最喜欢的多媒体播放器。
没有它我无法使用我的桌面。
安装VLC使用以下命令。

$sudo dnf install -y vlc