Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What preparations do MySQL need to do before installing the Linux platform?

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the relevant knowledge of "what preparations MySQL needs to do before installing the Linux platform". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

1. Selinux shuts down

Sed-I's Union SELINUXPRENTENTFORCING sed'/ etc/selinux/config

two。 Time synchronization 2.1 redhat 5 Compact 6

Slew time needs to be turned on.

Vi / etc/sysconfig/ntpdOPTIONS= "- x-u ntp:ntp-p / var/run/ntpd.pid" service ntpd restartchkconfig ntpd on

Configure the NTP service

# vi / etc/ntp.confserver iburst

Stop the NTP service and manually synchronize the time.

Service ntpd stopntpdate-b service ntpd start

The clock is written back to the motherboard

Hwclock-systohchwclock;date2.2 redhat 7

Using Chrony services

Vi / etc/chrony.confserver iburst

Restart the time synchronization service:

Systemctl restart chronyd.servicesystemctl enable chronyd.service

View the time synchronization source:

Chronyc sources-v

The clock is written back to the motherboard

Hwclock-- systohchwclock;date3. Network setting # vi / etc/hosts127.0.0.1 localhost 4. Configure Limitscat > > / etc/security/limits.conf/etc/security/limits.d/90-nproc.conf/etc/sysctl.conf

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report