Alibaba cloud CentOS 7.6 installation of mysql8
Create mysql users and user groups
groupadd mysql
useradd -g mysql mysql
passwd mysql
Uninstalling mariadb from the system
#query
rpm -qa|grep mariadb
Return mariadb-libs-5.5.60-1.el7_.x86_
#uninstall
rpm -e mariadb-libs-5.5.60-1.el7_5.x86_64
Return
error: Failed dependencies:
libmysqlclient.so.18()(64bit) is needed by (installed) post ...
Added by steve55 on Sun, 01 Dec 2019 03:37:24 +0200
Linux: DNS Server Setup
Introduction to DNS
DNS (Domain Name System) Domain Name System:
It is a system that uses client/server mechanism to translate computer name to IP address.As an important network service, DNS is not only the basis of the work of the international Internet, but also widely used in the internal network of enterprises.
Role of DNS Server
Forward R ...
Added by techcone on Sat, 23 Nov 2019 09:40:22 +0200
Mysql5.7 + mha0.58 + RedHat 7.4 installation and deployment of HMA
Or through Https://download.csdn.net/download/xxxzhaobb/11151222 download.
1. Basic information of software and hardware
OS
Hostname
IP
Master / slave
Remarks
Redhat 7.4
Mysql1
192.168.54.230
from
Management node
...
Added by johndale on Wed, 20 Nov 2019 20:18:58 +0200
Install Python 3 and ANSI ble under CentOS 8
Compile and install Python 3
First, install some dependency packages required for compilation through yum:
[root@localhost ~]# yum install -y wget gcc make libffi-devel zlib*
Enter the download address on Python official website:
https://www.python.org/downloads/source/
I chose the latest version of 3.8.0:
Click the corresponding version to ...
Added by hookit on Wed, 20 Nov 2019 16:53:43 +0200
Install and configure Redis service under CentOS7
Official website: https://redis.io
Download: https://redis.io/download
1. Installation dependency
➜ yum install -y gcc gcc-c++ kernel-devel
2. Download the source package
# It is recommended to store the source code of each software in this directory
➜ cd /usr/local/src
# Download the specified version
➜ wget http://download.redis.io/rele ...
Added by mcl on Mon, 11 Nov 2019 18:04:03 +0200
Compile and install nginx 1.16.0 in CentOS 7 (full version)
I. installation dependency package
yum install -y gcc gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel
Dependency package description:
1. Compilation depends on GCC environment, so it needs: gcc-c + +;
2. PCRE(Perl Compatible Regular Expressions) is a perl library, including perl compatible regular expr ...
Added by bluegreen1 on Fri, 08 Nov 2019 21:00:13 +0200
The construction of NAT load balancing
**Four virtual machines
Client
lvs server
rs1 server
172.22.144.188
VIP-172.22.144.59 DIP-192.168.49.2
RIP-192.168.49.3
rs2 server
RIP-192.168.49.4
**Note that LVS server needs to play the role of scheduling and routing. Two IP addresses need to be enabled
Whether lvs server, rs1 server and rs2 server are in time synchronization ...
Added by davemwohio on Tue, 05 Nov 2019 18:05:56 +0200
[operating system Linux] solutions without iptables
I. check iptables service status
First check the status of iptables service
[root@woxplife ~]# service iptables status
iptables: Firewall is not running.
The iptables service is installed, but the service is not started.
You can install it directly if it is not installed.
yum install -y iptables
...
Added by Flukey on Thu, 31 Oct 2019 13:33:03 +0200
Linux-centos-64bit install MySQL
1. Download mysql installation package to / usr/local/soft
[root@VM_0_9_centos ~]# cd /usr/local/soft[root@VM_0_9_centos soft]# wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.33-linux-glibc2.5-x86_64.tar.gz
2. Installation dependent environment
[root@VM_0_9_centos soft]# yum -y install perl perl-devel autoconf libaio
3. ...
Added by nyi8083 on Sun, 20 Oct 2019 20:17:09 +0300
centos7 install MySQL version 5.7 (full)
centos installation
Version Description: centos7, mysql5.7, not centos7, some commands may not be compatible
Install MySQL server
# Download and install mysql yum.
wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql57-community-release-el7-10.noarch.rpm
# Install MySQL server
yum -y install m ...
Added by DusterG20 on Sat, 19 Oct 2019 10:52:32 +0300