Fedora19使用技巧汇总
(gtk_accel_path "<Actions>/DirViewActions/Trash" "Delete")
?
3.安装新的软件下载源
Fedora 19的源:?
sudo yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-19.noarch.rpm? http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-19.noarch.rpm
?
安装后可以在/etc/yum.repos.d下看到多出了几个源。
?
?4.系统更新
sudo yum -y update
?
5.防火墙开启与关闭
默认使用的是firewall作为防火墙
查看当前状态:
sudo systemctl stauts firewalld.service ?或者 service firewalld status
关闭:
sudo systemctl stop firewalld.service?或者 service firewalld stop
sudo systemctl disable firewalld.service?或者 service firewalld disable
开启:
sudo systemctl start firewalld.service?或者 service firewalld start
重启:
sudo systemctl restart firewalld.service?或者 service firewalld restart
?
firewall限制规则不灵活,所以还是使用iptables吧,方法如下:
关闭firewall:
service firewalld stop
service firewalld disable
?
在/etc/sysconfig下新建文件iptables
vi iptables
?
boxdrv?setup可是执行命令后依旧报错:Recompiling?VirtualBox?kernel?module?[FAILED]
[root@localhost?~]#?cat?ar/log
box-install.log
Makefile:159:?***?Error:?unable?to?find?the?sources?of?your?current?Linux?kernel.?Specify?KERN_DIR=?and?run?Make?again.?Stop.?