SELinux与MySQL数据库的定制安装  被引量:1

Customized installation of SELinux and MySQL databases

在线阅读下载全文

作  者:于述春[1] Yu Shuchun(Huaihua University,Huaihua 418000,China)

机构地区:[1]怀化学院,湖南怀化418000

出  处:《无线互联科技》2024年第7期85-87,共3页Wireless Internet Technology

摘  要:随着服务器操作系统Linux的推广,在Linux上安装数据库的情形也越来越普遍。考虑到存储空间等因素,数据库安装多采用定制安装,即不是安装在默认路径下,而是安装在某个指定路径。SELinux(Security-Enhanced Linux)模块既是Linux的自带安全防护网,但同时也对如Web服务和数据库服务的安装目录规定了访问权限,即只开放默认安装目录的访问权限,而限制数据库等服务对其他目录的访问。当然,最简单的解决方案是关闭SELinux模块,但这会影响系统安全。因此,人们需要既运行SELinux又开放数据库服务对定制目录的访问。文章通过对SELinux的分析,可以修改定制目录的SELinux访问权限。With the promotion of Linux as a server operating system by enterprises,more and more databases are being installed on Linux.Moreover,due to factors such as storage space,database installation often adopts customized installation,that is,it is not installed in the default path,but installed in a specified path.The SELinux module is not only the built-in security net of Linux,but also specifies access permissions for installation directories such as web services and database services,that is,it only opens access permissions to the default installation directory and restricts access to other directories for database and other services.Of course,the simplest solution is to shut down the SELinux module,but this can affect system security.Therefore,we need to run both SELinux and open database services to access custom directories.By analyzing SELinux,it is possible to modify the SELinux access permissions for custom directories.

关 键 词:SELINUX MYSQL 安全性 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象