Postfix邮件服务器搭建(二)
2015-07-23 13:45
363 查看
本文约定:默认情况下,本文中的所有软件的压缩安装文件都放在 /root 目录下,除非特别说明的情况下。
禁用 selinux
[root @test root]# vi /etc/selinux/conifg
# 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 - SELinux is fully disabled.
将 SELINUX=enforcing
改成
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
Selinux 是 linux 系统中一个强制性的安全机制,但也带来了不少麻烦,为了避免不必要的麻烦,还是先关了吧。
因为我装了图形界面,所以就直接打开目录去到/etc/selinux/conifg这里双击打开文件修改后保存即可。
禁用 selinux
[root @test root]# vi /etc/selinux/conifg
# 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 - SELinux is fully disabled.
将 SELINUX=enforcing
改成
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
Selinux 是 linux 系统中一个强制性的安全机制,但也带来了不少麻烦,为了避免不必要的麻烦,还是先关了吧。
因为我装了图形界面,所以就直接打开目录去到/etc/selinux/conifg这里双击打开文件修改后保存即可。
相关文章推荐
- BZOJ 1004 [HNOI2008]Cards
- Introduction to ASP.NET 5
- 2012年5月SAT香港真题解析
- Linux inode分析
- iGriamceV3.0使用教程
- Postfix邮件服务器搭建(一)
- fullCalendar改造计划之带农历节气节假日的万年历(转)
- Charles网 4000 络封包分析工具
- 【Eclipse】Eclipse C++ MINGW :The program file specified in the launch configuration does not exist
- 2015 Multi-University Training Contest 1记录
- Linux下查看IP地址的命令
- CSS布局--上中下布局(上下固定,中间自适应)
- Cocos2dx-背景无限循环播放
- 2015 Multi-University Training Contest 1记录
- 计算机经典书籍电子书合集(适合计算机学生学习以及程序员笔试、面试)
- Exchange Server 2016预览版正式开放下载
- Exchange Server 2016预览版正式开放下载
- 如何参与一个开源项目
- 跨网段数据通信流程
- 关于:0xcdcdcd