fedora21 操作
2016-01-19 16:58
316 查看
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
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
相关文章推荐
- HTML/Ajax/XML数据交互:HTML通过Ajax读取XML的存储信息
- js模块化开发2:
- js模块化开发1.模块的写法
- CSS垂直居中方法总结(部分翻译)
- 代码狗必看:前端开发3大坑
- 轮播图切换 纯html+js+css
- Node定义
- jQuery的各种插入方法
- html5新增的常用元素
- javascript 属性的特性
- 前端工程师都会喜欢的5个JavaScript库
- 学习JavaScript设计模式之观察者模式
- 用css实现如何使滚动条隐藏但是溢出时有滚动的效果
- jquery实现iframe自适应子页面高度
- base64转换mp3文件,在服务器端(nodejs)反编码命名保存
- [翻译]jQuery Mobile入门教程——主题的使用和定制
- 关于jQuery中的trigger和triggerHandler方法的使用
- 关于jQuery中的trigger和triggerHandler方法的使用
- jackson 实体转json 为NULL或者为空不参加序列化
- C# Html网页生成图片解决方案1