1.fedora21关闭防火墙
systemctl start/stop firewalld 启动和关闭防火墙
systemctl disable firewalld 禁用防火墙
2.关闭selinux
SELinux的全称是Security-Enhanced Linux。1、临时关闭selinux。如果你想不关闭系统而暂时关闭,使用以下命令:setenforce 0。 2、开机不启动:vi /etc/sysconfig/selinux
# 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 two values:targeted - Targeted processes are protected, mls - Multi Level Security protection.SELINUXTYPE=targeted
3.安装google浏览器后yum不可使用,因为无法链接到google的源,将/etc/yum.repos.d/的google源删掉就可以了
4.在windows用putty连虚拟机,我是vmware安装的fedora,需要putty选择ssh协议,并且fedora要安装ssh,我直接 yum list openssh*
然后systemctl start sshd.service //开启服务
systemctl enable sshd.service//开机自启
即可putty链接虚拟机fedora
5.解压文件
.tar.gz 格式解压为 tar zxvf xx.tar.gz
.tar.bz2 格式解压为 tar jxvf xx.tar.bz2
.tar.xz 格式解压为 tar xvJf xx.tar.xz