July 2018
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

July 2018
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Migrating to Amazon Linux 2

AWS also announced that Amazon Linux 2018.03 is the last release for the current generation of Amazon Linux and will be supported until June 30, 2020. Therefore, you have to come up with a migration plan.

Amazon Linux 2 comes with the same benefits as Amazon Linux, but it adds some new capabilities:

long-term support: […]

mysql dump issue utf8_unicode_520_ci

i use this in linux :

sed -i ‘s/utf8mb4/utf8/g’ your_file.sql sed -i ‘s/utf8_unicode_ci/utf8_general_ci/g’ your_file.sql sed -i ‘s/utf8_unicode_520_ci/utf8_general_ci/g’ your_file.sql

then restore your_file.sql

mysql -uyourdbuser -pyourdbpasswd yourdb < your_file.sql […]

Install LDAP-slapd.conf mode

Install LDAP-slapd.conf mode ——————start installation——————— Query whether to install

# rpm -qa openldap-servers

Remove ldap # yum remove openldap

# yum remove openldap-servers

Installation Environment Centos7 Apache/2.4.6 (CentOS) PHP 7.1.11

Install LDAP Server

Openldap-servers-2.4.44-5.el7.x86_64

# yum install openldap-servers openldap-clients migrationtools

# rpm -qa | grep openldap

Delete all files in the slapd.d folder and copy […]