把玩Fedora29操作系统

reference:   https://ask.csdn.net/questions/657608

1、下载Fedora服务器版操作系统

https://getfedora.org/zh_CN/server/download/

 

2、虚拟机中安装Fedora系统

在VM中安装Fedora系统,设置硬盘大写为60GB、用户名、密码;

系统安装完成后,进入命令行界面;

3、安装XFCE桌面

https://spins.fedoraproject.org/

$ sudo yum install xfce-desktop

  下载大概300多MB,然后自动进行安装,依次选择yes即可。

4、修改默认配置

安装XFCE界面后,默认启动仍然是命令行,需要对配置进行修改;

vi  /etc/inittab  

 看到文件提示在fedora29中,已经放弃在此进行配置:

需要通过systemctl来进行配置:

systemctl get-default                     #查看默认配置,默认为multi-user.target
systemctl set-default graphical.target    #设置为图形界面启动
systemctl get-default                     #查看修改后的配置,修改为graphical.target

完成配置。

 注:直接使用startx指令进行启动图形界面会出现闪退。

5、重启系统,即可进入图形界面。

6、安装gcc/g++

$sudo dnf install gcc
$sudo dnf install gcc-c++

Ubuntu中支持C++的包为g++,在Fedora中名字为c++。

7、安装google-chrome

$sudo dnf install google-chrome

 如果发现Chrome不能使用,需要重新安装:

$sudo dnf remove google-chrome
$sudo dnf install google-chrome

建议使用在线安装,如果使用redhat之类非免费操作系统,需要特别注意依赖问题,尽量少使用

$sudo  rpm -ivh *.rpm --nodeps

之类的方式安装,可能会对整个系统造成破坏。

 

猜你喜欢

转载自www.cnblogs.com/limanjihe/p/10163204.html