How To Install Mysql Server On Redhat Linux
Infrastructure and Management
- Red Hat Enterprise Linux
- Cerise Hat Virtualization
- Cerise Hat Identity Management
- Cherry-red Lid Directory Server
- Red Lid Certificate System
- Red Chapeau Satellite
- Red Hat Subscription Management
- Ruby-red Hat Update Infrastructure
- Reddish Hat Insights
- Red Chapeau Ansible Automation Platform
Cloud Calculating
- Red Lid OpenShift
- Red Hat CloudForms
- Red Lid OpenStack Platform
- Red Hat OpenShift Container Platform
- Crimson Hat OpenShift Data Scientific discipline
- Reddish Chapeau OpenShift Online
- Red Chapeau OpenShift Dedicated
- Red Lid Advanced Cluster Security for Kubernetes
- Reddish Hat Advanced Cluster Management for Kubernetes
- Red Hat Quay
- Crimson Hat CodeReady Workspaces
- Blood-red Chapeau OpenShift Service on AWS
Storage
- Red Hat Gluster Storage
- Red Chapeau Hyperconverged Infrastructure
- Red Hat Ceph Storage
- Red Lid OpenShift Data Foundation
Runtimes
- Red Hat Runtimes
- Red Chapeau JBoss Enterprise Awarding Platform
- Ruby-red Hat Data Grid
- Red Hat JBoss Spider web Server
- Red Hat Single Sign On
- Red Lid back up for Spring Kick
- Ruddy Lid build of Node.js
- Red Hat build of Thorntail
- Ruddy Hat build of Eclipse Vert.ten
- Red Hat build of OpenJDK
- Red Hat build of Quarkus
- Red Hat CodeReady Studio
Integration and Automation
- Red Hat Process Automation
- Reddish Hat Process Automation Manager
- Red Hat Decision Manager
Testify Table of Contents
Chapter ix. MySQL
The MySQL database is a multi-user, multi-threaded SQL database server that consists of the MySQL server daemon (mysqld
) and many client programs and libraries.[vii]
In Red Lid Enterprise Linux, the mysql-server package provides MySQL. Run the rpm -q mysql-server
control to see if the mysql-server bundle is installed. If it is not installed, run the following control as the root user to install information technology:
~]# yum install mysql-server
9.1. MySQL and SELinux
When MySQL is enabled, it runs confined by default. Confined processes run in their own domains, and are separated from other bars processes. If a bars procedure is compromised by an assaulter, depending on SELinux policy configuration, an assaulter'southward access to resources and the possible damage they tin can practise is limited. The post-obit example demonstrates the MySQL processes running in their own domain. This case assumes the mysql package is installed:
-
Run the
getenforce
command to confirm SELinux is running in enforcing manner:~]$
getenforce
EnforcingThe
getenforce
command returnsEnforcing
when SELinux is running in enforcing way. -
Run the
service mysqld beginning
command as the root user to firstmysqld
:~]#
service mysqld start
Initializing MySQL database: Installing MySQL organization tables... [ OK ] Starting MySQL: [ OK ] -
Run the
ps -eZ | grep mysqld
command to view themysqld
processes:~]$
ps -eZ | grep mysqld
unconfined_u:system_r:mysqld_safe_t:s0 6035 pts/1 00:00:00 mysqld_safe unconfined_u:system_r:mysqld_t:s0 6123 pts/i 00:00:00 mysqldThe SELinux context associated with the
mysqld
processes isunconfined_u:system_r:mysqld_t:s0
. The second terminal part of the context,mysqld_t
, is the type. A type defines a domain for processes and a type for files. In this case, themysqld
processes are running in themysqld_t
domain.
Source: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/managing_confined_services/chap-managing_confined_services-mysql
Posted by: stephensuppon1939.blogspot.com
0 Response to "How To Install Mysql Server On Redhat Linux"
Post a Comment