当前位置:   article > 正文

mysql服务

mysql服务

常见的关系型数据库管理系统:

  • MySQL:MySQL,MariaDB,Percona-Server
  • PostgreSQL:简称为pgsql
  • Oracle
  • MSSQL

mysql的安装

  • 源代码:编译安装
  • 二进制格式的程序包:展开至特定路径,并经过简单配置后即可使用
  • 程序包管理器管理的程序包

 配置mysql的yum源

  1. [root@xk ~]# cd /etc/yum.repos.d/
  2. [root@xk yum.repos.d]# ls
  3. [root@xk yum.repos.d]# yum list all|grep mysql
  4. [root@xk yum.repos.d]# cd
  5. [root@xk ~]# rpm -Uvh http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
  6. Retrieving http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
  7. warning: /var/tmp/rpm-tmp.eUeMx4: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
  8. Verifying... ################################# [100%]
  9. Preparing... ################################# [100%]
  10. Updating / installing...
  11. 1:mysql57-community-release-el7-10 ################################# [100%]
  12. [root@xk ~]# ls /etc/yum.repos.d/
  13. mysql-community.repo mysql-community-source.repo
  14. [root@xk ~]# yum clean all
  15. 15 files removed
  16. [root@xk ~]# yum makecache
  17. MySQL Connectors Community 1.4 kB/s | 53 kB 00:38
  18. MySQL Tools Community 682 kB/s | 778 kB 00:01
  19. MySQL 5.7 Community Server 1.7 MB/s | 2.8 MB 00:01
  20. Metadata cache created.
  21. [root@xk ~]# yum list all|grep mysql
  22. mysql57-community-release.noarch el7-10 @System
  23. mysql-community-client.i686 5.7.40-1.el7 mysql57-community
  24. mysql-community-client.x86_64 5.7.40-1.el7 mysql57-community
  25. mysql-community-common.i686 5.7.40-1.el7 mysql57-community
  26. mysql-community-common.x86_64 5.7.40-1.el7 mysql57-community
  27. mysql-community-devel.i686 5.7.40-1.el7 mysql57-community
  28. mysql-community-devel.x86_64 5.7.40-1.el7 mysql57-community
  29. mysql-community-embedded.i686 5.7.40-1.el7 mysql57-community
  30. mysql-community-embedded.x86_64 5.7.40-1.el7 mysql57-community
  31. mysql-community-embedded-compat.i686 5.7.40-1.el7 mysql57-community
  32. mysql-community-embedded-compat.x86_64 5.7.40-1.el7 mysql57-community
  33. mysql-community-embedded-devel.i686 5.7.40-1.el7 mysql57-community
  34. mysql-community-embedded-devel.x86_64 5.7.40-1.el7 mysql57-community
  35. mysql-community-libs.i686 5.7.40-1.el7 mysql57-community
  36. mysql-community-libs.x86_64 5.7.40-1.el7 mysql57-community
  37. mysql-community-libs-compat.i686 5.7.40-1.el7 mysql57-community
  38. mysql-community-libs-compat.x86_64 5.7.40-1.el7 mysql57-community
  39. mysql-community-release.noarch el7-5 mysql-connectors-community
  40. mysql-community-release.noarch el7-5 mysql-tools-community
  41. mysql-community-server.x86_64 5.7.40-1.el7 mysql57-community
  42. mysql-community-test.x86_64 5.7.40-1.el7 mysql57-community
  43. mysql-connector-c++.x86_64 8.0.31-1.el7 mysql-connectors-community
  44. mysql-connector-c++-devel.x86_64 8.0.31-1.el7 mysql-connectors-community
  45. mysql-connector-c++-jdbc.x86_64 8.0.31-1.el7 mysql-connectors-community
  46. mysql-connector-j.noarch 1:8.0.31-1.el7 mysql-connectors-community
  47. mysql-connector-java.noarch 1:8.0.30-1.el7 mysql-connectors-community
  48. mysql-connector-odbc.x86_64 8.0.31-1.el7 mysql-connectors-community
  49. mysql-connector-odbc-setup.x86_64 8.0.31-1.el7 mysql-connectors-community
  50. mysql-connector-python.noarch 2.0.4-1.el7 mysql-connectors-community
  51. mysql-connector-python.x86_64 8.0.23-1.el7 mysql-connectors-community
  52. mysql-connector-python-cext.x86_64 8.0.21-1.el7 mysql-connectors-community
  53. mysql-connector-python3.x86_64 8.0.31-1.el7 mysql-connectors-community
  54. mysql-connector-python3-cext.x86_64 8.0.21-1.el7 mysql-connectors-community
  55. mysql-ref-manual-5.5-en-html-chapter.noarch 1-20170320 mysql57-community
  56. mysql-ref-manual-5.5-en-pdf.noarch 1-20170320 mysql57-community
  57. mysql-ref-manual-5.7-en-html-chapter.noarch 1-20220831 mysql57-community
  58. mysql-ref-manual-5.7-en-pdf.noarch 1-20220831 mysql57-community
  59. mysql-router.x86_64 8.0.12-1.el7 mysql-tools-community
  60. mysql-router-community.x86_64 8.0.31-1.el7 mysql-tools-community
  61. mysql-shell.x86_64 8.0.31-1.el7 mysql-tools-community
  62. mysql-utilities.noarch 1.6.5-1.el7 mysql-tools-community
  63. mysql-utilities-extra.noarch 1.5.6-1.el7 mysql-tools-community
  64. mysql-workbench-community.x86_64 8.0.22-1.

配置阿里云的基础源

  1. [root@xk ~]# curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
  2. % Total % Received % Xferd Average Speed Time Time Time Current
  3. Dload Upload Total Spent Left Speed
  4. 100 2495 100 2495 0 0 12475 0 --:--:-- --:--:-- --:--:-- 12412
  5. [root@xk ~]# sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo
  6. [root@xk ~]# yum clean all
  7. 15 files removed
  8. [root@xk ~]# yum makecache
  9. CentOS-8.5.2111 - Base - mirrors.aliyun.com 1.5 MB/s | 4.6 MB 00:03
  10. CentOS-8.5.2111 - Extras - mirrors.aliyun.com 64 kB/s | 10 kB 00:00
  11. CentOS-8.5.2111 - AppStream - mirrors.aliyun.com 2.4 MB/s | 8.4 MB 00:03
  12. MySQL Connectors Community 173 kB/s | 53 kB 00:00
  13. MySQL Tools Community 1.3 MB/s | 778 kB 00:00
  14. MySQL 5.7 Community Server 2.2 MB/s | 2.8 MB 00:01
  15. Metadata cache created.
  16. [root@xk ~]#

安装wget

  1. [root@xk ~]# yum -y install wget
  2. Last metadata expiration check: 0:17:05 ago on Tue 27 Dec 2022 08:37:02 PM CST.
  3. Dependencies resolved.
  4. ========================================================================================================
  5. Package Architecture Version Repository Size
  6. ========================================================================================================
  7. Installing:
  8. wget x86_64 1.19.5-10.el8 AppStream 734 k
  9. Installing dependencies:
  10. libmetalink x86_64 0.1.3-7.el8 base 32 k
  11. Transaction Summary
  12. ========================================================================================================
  13. Install 2 Packages
  14. Total download size: 766 k
  15. Installed size: 2.8 M
  16. Downloading Packages:
  17. (1/2): libmetalink-0.1.3-7.el8.x86_64.rpm 177 kB/s | 32 kB 00:00
  18. (2/2): wget-1.19.5-10.el8.x86_64.rpm 959 kB/s | 734 kB 00:00
  19. --------------------------------------------------------------------------------------------------------
  20. Total 999 kB/s | 766 kB 00:00
  21. Running transaction check
  22. Transaction check succeeded.
  23. Running transaction test
  24. Transaction test succeeded.
  25. Running transaction
  26. Preparing : 1/1
  27. Installing : libmetalink-0.1.3-7.el8.x86_64 1/2
  28. Installing : wget-1.19.5-10.el8.x86_64 2/2
  29. Running scriptlet: wget-1.19.5-10.el8.x86_64 2/2
  30. Verifying : libmetalink-0.1.3-7.el8.x86_64 1/2
  31. Verifying : wget-1.19.5-10.el8.x86_64 2/2
  32. Installed:
  33. libmetalink-0.1.3-7.el8.x86_64 wget-1.19.5-10.el8.x86_64
  34. Complete!
  35. [root@xk ~]#

下载五个包并查看

  1. [root@xk src]# wget http://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64/mysql-community-client-5.7.40-1.el7.x86_64.rpm http://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64/mysql-community-common-5.7.40-1.el7.x86_64.rpm http://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64/mysql-community-devel-5.7.40-1.el7.x86_64.rpm http://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64/mysql-community-libs-5.7.40-1.el7.x86_64.rpm http://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64/mysql-community-server-5.7.40-1.el7.x86_64.rpm
  2. --2022-12-27 21:03:17-- http://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64/mysql-community-client-5.7.40-1.el7.x86_64.rpm
  3. Resolving repo.mysql.com (repo.mysql.com)... 23.36.48.238
  4. Connecting to repo.mysql.com (repo.mysql.com)|23.36.48.238|:80... connected.
  5. HTTP request sent, awaiting response... 200 OK
  6. Length: 29373184 (28M) [application/x-redhat-package-manager]
  7. Saving to: ‘mysql-community-client-5.7.40-1.el7.x86_64.rpm’
  8. mysql-community-client-5. 100%[=====================================>] 28.01M 3.79MB/s in 8.3s
  9. 2022-12-27 21:03:25 (3.38 MB/s) - ‘mysql-community-client-5.7.40-1.el7.x86_64.rpm’ saved [29373184/29373184]
  10. --2022-12-27 21:03:25-- http://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64/mysql-community-common-5.7.40-1.el7.x86_64.rpm
  11. Reusing existing connection to repo.mysql.com:80.
  12. HTTP request sent, awaiting response... 200 OK
  13. Length: 318744 (311K) [application/x-redhat-package-manager]
  14. Saving to: ‘mysql-community-common-5.7.40-1.el7.x86_64.rpm’
  15. mysql-community-common-5. 100%[=====================================>] 311.27K --.-KB/s in 0.07s
  16. 2022-12-27 21:03:26 (4.30 MB/s) - ‘mysql-community-common-5.7.40-1.el7.x86_64.rpm’ saved [318744/318744]
  17. --2022-12-27 21:03:26-- http://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64/mysql-community-devel-5.7.40-1.el7.x86_64.rpm
  18. Reusing existing connection to repo.mysql.com:80.
  19. HTTP request sent, awaiting response... 200 OK
  20. Length: 4426916 (4.2M) [application/x-redhat-package-manager]
  21. Saving to: ‘mysql-community-devel-5.7.40-1.el7.x86_64.rpm’
  22. mysql-community-devel-5.7 100%[=====================================>] 4.22M 5.36MB/s in 0.8s
  23. 2022-12-27 21:03:26 (5.36 MB/s) - ‘mysql-community-devel-5.7.40-1.el7.x86_64.rpm’ saved [4426916/4426916]
  24. --2022-12-27 21:03:26-- http://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64/mysql-community-libs-5.7.40-1.el7.x86_64.rpm
  25. Reusing existing connection to repo.mysql.com:80.
  26. HTTP request sent, awaiting response... 200 OK
  27. Length: 2744456 (2.6M) [application/x-redhat-package-manager]
  28. Saving to: ‘mysql-community-libs-5.7.40-1.el7.x86_64.rpm’
  29. mysql-community-libs-5.7. 100%[=====================================>] 2.62M 5.91MB/s in 0.4s
  30. 2022-12-27 21:03:27 (5.91 MB/s) - ‘mysql-community-libs-5.7.40-1.el7.x86_64.rpm’ saved [2744456/2744456]
  31. --2022-12-27 21:03:27-- http://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64/mysql-community-server-5.7.40-1.el7.x86_64.rpm
  32. Reusing existing connection to repo.mysql.com:80.
  33. HTTP request sent, awaiting response... 200 OK
  34. Length: 187168492 (178M) [application/x-redhat-package-manager]
  35. Saving to: ‘mysql-community-server-5.7.40-1.el7.x86_64.rpm’
  36. mysql-community-server-5. 100%[=====================================>] 178.50M 3.78MB/s in 51s
  37. 2022-12-27 21:04:18 (3.49 MB/s) - ‘mysql-community-server-5.7.40-1.el7.x86_64.rpm’ saved [187168492/187168492]
  38. FINISHED --2022-12-27 21:04:18--
  39. Total wall clock time: 1m 1s
  40. Downloaded: 5 files, 214M in 1m 1s (3.52 MB/s)
  41. [root@xk src]# ls
  42. debug mysql-community-devel-5.7.40-1.el7.x86_64.rpm
  43. kernels mysql-community-libs-5.7.40-1.el7.x86_64.rpm
  44. mysql-community-client-5.7.40-1.el7.x86_64.rpm mysql-community-server-5.7.40-1.el7.x86_64.rpm
  45. mysql-community-common-5.7.40-1.el7.x86_64.rpm

vim编辑修改为x86-64

  1. [root@xk src]# cd
  2. [root@xk ~]# cd /etc/yum.repos.d/
  3. [root@xk yum.repos.d]# ls
  4. CentOS-Base.repo mysql-community.repo mysql-community-source.repo
  5. [root@xk yum.repos.d]# yum -y install vim
  6. Last metadata expiration check: 0:31:01 ago on Tue 27 Dec 2022 08:37:02 PM CST.
  7. Package vim-enhanced-2:8.0.1763-16.el8.x86_64 is already installed.
  8. Dependencies resolved.
  9. Nothing to do.
  10. Complete!
  11. [root@xk yum.repos.d]# vim mysql-community.repo
  12. [mysql57-community]
  13. name=MySQL 5.7 Community Server
  14. baseurl=http://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64/
  15. enabled=1
  16. gpgcheck=1
  17. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

清理缓存重建

  1. [root@xk ~]# yum clean all
  2. 33 files removed
  3. [root@xk ~]# yum makecache
  4. CentOS-8.5.2111 - Base - mirrors.aliyun.com 3.2 MB/s | 4.6 MB 00:01
  5. CentOS-8.5.2111 - Extras - mirrors.aliyun.com 59 kB/s | 10 kB 00:00
  6. CentOS-8.5.2111 - AppStream - mirrors.aliyun.com 2.4 MB/s | 8.4 MB 00:03
  7. MySQL Connectors Community 107 kB/s | 53 kB 00:00
  8. MySQL Tools Community 761 kB/s | 778 kB 00:01
  9. MySQL 5.7 Community Server 1.5 MB/s | 2.8 MB 00:01
  10. Metadata cache created.
  1. [root@xk src]# yum -y localinstall *.rpm
  2. Last metadata expiration check: 0:04:23 ago on Tue 27 Dec 2022 09:13:22 PM CST.
  3. Dependencies resolved.
  4. ========================================================================================================
  5. Package Arch Version Repository Size
  6. ========================================================================================================
  7. Installing:
  8. mysql-community-client x86_64 5.7.40-1.el7 @commandline 28 M
  9. mysql-community-common x86_64 5.7.40-1.el7 @commandline 311 k
  10. mysql-community-devel x86_64 5.7.40-1.el7 @commandline 4.2 M
  11. mysql-community-libs x86_64 5.7.40-1.el7 @commandline 2.6 M
  12. mysql-community-server x86_64 5.7.40-1.el7 @commandline 178 M
  13. Installing dependencies:
  14. libpkgconf x86_64 1.4.2-1.el8 base 35 k
  15. ncurses-compat-libs x86_64 6.1-9.20180224.el8 base 328 k
  16. net-tools x86_64 2.0-0.52.20160912git.el8 base 322 k
  17. perl-Carp noarch 1.42-396.el8 base 30 k
  18. perl-Data-Dumper x86_64 2.167-399.el8 base 58 k
  19. perl-Digest noarch 1.17-395.el8 AppStream 27 k
  20. perl-Digest-MD5 x86_64 2.55-396.el8 AppStream 37 k
  21. perl-Encode x86_64 4:2.97-3.el8 base 1.5 M
  22. perl-Errno x86_64 1.28-420.el8 base 76 k
  23. perl-Exporter noarch 5.72-396.el8 base 34 k
  24. perl-File-Path noarch 2.15-2.el8 base 38 k
  25. perl-File-Temp noarch 0.230.600-1.el8 base 63 k
  26. perl-Getopt-Long noarch 1:2.50-4.el8 base 63 k
  27. perl-HTTP-Tiny noarch 0.074-1.el8 base 58 k
  28. perl-IO x86_64 1.38-420.el8 base 142 k
  29. perl-MIME-Base64 x86_64 3.15-396.el8 base 31 k
  30. perl-Net-SSLeay x86_64 1.88-1.module_el8.3.0+410+ff426aa3 AppStream 379 k
  31. perl-PathTools x86_64 3.74-1.el8 base 90 k
  32. perl-Pod-Escapes noarch 1:1.07-395.el8 base 20 k
  33. perl-Pod-Perldoc noarch 3.28-396.el8 base 86 k
  34. perl-Pod-Simple noarch 1:3.35-395.el8 base 213 k
  35. perl-Pod-Usage noarch 4:1.69-395.el8 base 34 k
  36. perl-Scalar-List-Utils x86_64 3:1.49-2.el8 base 68 k
  37. perl-Socket x86_64 4:2.027-3.el8 base 59 k
  38. perl-Storable x86_64 1:3.11-3.el8 base 98 k
  39. perl-Term-ANSIColor noarch 4.06-396.el8 base 46 k
  40. perl-Term-Cap noarch 1.17-395.el8 base 23 k
  41. perl-Text-ParseWords noarch 3.30-395.el8 base 18 k
  42. perl-Text-Tabs+Wrap noarch 2013.0523-395.el8 base 24 k
  43. perl-Time-Local noarch 1:1.280-1.el8 base 34 k
  44. perl-URI noarch 1.73-3.el8 AppStream 116 k
  45. perl-Unicode-Normalize x86_64 1.25-396.el8 base 82 k
  46. perl-constant noarch 1.33-396.el8 base 25 k
  47. perl-interpreter x86_64 4:5.26.3-420.el8 base 6.3 M
  48. perl-libnet noarch 3.11-3.el8 AppStream 121 k
  49. perl-libs x86_64 4:5.26.3-420.el8 base 1.6 M
  50. perl-macros x86_64 4:5.26.3-420.el8 base 72 k
  51. perl-parent noarch 1:0.237-1.el8 base 20 k
  52. perl-podlators noarch 4.11-1.el8 base 118 k
  53. perl-threads x86_64 1:2.21-2.el8 base 61 k
  54. perl-threads-shared x86_64 1.58-2.el8 base 48 k
  55. pkgconf x86_64 1.4.2-1.el8 base 38 k
  56. pkgconf-m4 noarch 1.4.2-1.el8 base 17 k
  57. pkgconf-pkg-config x86_64 1.4.2-1.el8 base 15 k
  58. Installing weak dependencies:
  59. perl-IO-Socket-IP noarch 0.39-5.el8 AppStream 47 k
  60. perl-IO-Socket-SSL noarch 2.066-4.module_el8.3.0+410+ff426aa3 AppStream 298 k
  61. perl-Mozilla-CA noarch 20160104-7.module_el8.3.0+416+dee7bcef AppStream 15 k
  62. Enabling module streams:
  63. perl 5.26
  64. perl-IO-Socket-SSL 2.066
  65. perl-libwww-perl 6.34
  66. Transaction Summary
  67. ========================================================================================================
  68. Install 52 Packages
  69. Total size: 227 M
  70. Total download size: 13 M
  71. Installed size: 956 M
  72. Downloading Packages:
  73. (1/47): libpkgconf-1.4.2-1.el8.x86_64.rpm 6.7 kB/s | 35 kB 00:05
  74. (2/47): ncurses-compat-libs-6.1-9.20180224.el8.x86_64.rpm 60 kB/s | 328 kB 00:05
  75. (3/47): net-tools-2.0-0.52.20160912git.el8.x86_64.rpm 58 kB/s | 322 kB 00:05
  76. (4/47): perl-Data-Dumper-2.167-399.el8.x86_64.rpm 387 kB/s | 58 kB 00:00
  77. (5/47): perl-Carp-1.42-396.el8.noarch.rpm 68 kB/s | 30 kB 00:00
  78. (6/47): perl-Exporter-5.72-396.el8.noarch.rpm 199 kB/s | 34 kB 00:00
  79. (7/47): perl-Errno-1.28-420.el8.x86_64.rpm 422 kB/s | 76 kB 00:00
  80. (8/47): perl-File-Path-2.15-2.el8.noarch.rpm 182 kB/s | 38 kB 00:00
  81. (9/47): perl-File-Temp-0.230.600-1.el8.noarch.rpm 310 kB/s | 63 kB 00:00
  82. (10/47): perl-HTTP-Tiny-0.074-1.el8.noarch.rpm 352 kB/s | 58 kB 00:00
  83. (11/47): perl-IO-1.38-420.el8.x86_64.rpm 961 kB/s | 142 kB 00:00
  84. (12/47): perl-Getopt-Long-2.50-4.el8.noarch.rpm 189 kB/s | 63 kB 00:00
  85. (13/47): perl-MIME-Base64-3.15-396.el8.x86_64.rpm 154 kB/s | 31 kB 00:00
  86. (14/47): perl-PathTools-3.74-1.el8.x86_64.rpm 465 kB/s | 90 kB 00:00
  87. (15/47): perl-Encode-2.97-3.el8.x86_64.rpm 1.3 MB/s | 1.5 MB 00:01
  88. (16/47): perl-Pod-Escapes-1.07-395.el8.noarch.rpm 118 kB/s | 20 kB 00:00
  89. (17/47): perl-Pod-Perldoc-3.28-396.el8.noarch.rpm 473 kB/s | 86 kB 00:00
  90. (18/47): perl-Pod-Usage-1.69-395.el8.noarch.rpm 245 kB/s | 34 kB 00:00
  91. (19/47): perl-Scalar-List-Utils-1.49-2.el8.x86_64.rpm 310 kB/s | 68 kB 00:00
  92. (20/47): perl-Pod-Simple-3.35-395.el8.noarch.rpm 836 kB/s | 213 kB 00:00
  93. (21/47): perl-Socket-2.027-3.el8.x86_64.rpm 547 kB/s | 59 kB 00:00
  94. (22/47): perl-Term-ANSIColor-4.06-396.el8.noarch.rpm 249 kB/s | 46 kB 00:00
  95. (23/47): perl-Term-Cap-1.17-395.el8.noarch.rpm 102 kB/s | 23 kB 00:00
  96. (24/47): perl-Storable-3.11-3.el8.x86_64.rpm 343 kB/s | 98 kB 00:00
  97. (25/47): perl-Text-ParseWords-3.30-395.el8.noarch.rpm 143 kB/s | 18 kB 00:00
  98. (26/47): perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch.rpm 187 kB/s | 24 kB 00:00
  99. (27/47): perl-Unicode-Normalize-1.25-396.el8.x86_64.rpm 710 kB/s | 82 kB 00:00
  100. (28/47): perl-constant-1.33-396.el8.noarch.rpm 234 kB/s | 25 kB 00:00
  101. (29/47): perl-Time-Local-1.280-1.el8.noarch.rpm 146 kB/s | 34 kB 00:00
  102. (30/47): perl-macros-5.26.3-420.el8.x86_64.rpm 221 kB/s | 72 kB 00:00
  103. (31/47): perl-parent-0.237-1.el8.noarch.rpm 98 kB/s | 20 kB 00:00
  104. (32/47): perl-podlators-4.11-1.el8.noarch.rpm 423 kB/s | 118 kB 00:00
  105. (33/47): perl-threads-2.21-2.el8.x86_64.rpm 269 kB/s | 61 kB 00:00
  106. (34/47): perl-libs-5.26.3-420.el8.x86_64.rpm 1.2 MB/s | 1.6 MB 00:01
  107. (35/47): perl-threads-shared-1.58-2.el8.x86_64.rpm 233 kB/s | 48 kB 00:00
  108. (36/47): pkgconf-1.4.2-1.el8.x86_64.rpm 359 kB/s | 38 kB 00:00
  109. (37/47): pkgconf-m4-1.4.2-1.el8.noarch.rpm 129 kB/s | 17 kB 00:00
  110. (38/47): pkgconf-pkg-config-1.4.2-1.el8.x86_64.rpm 154 kB/s | 15 kB 00:00
  111. (39/47): perl-Digest-1.17-395.el8.noarch.rpm 233 kB/s | 27 kB 00:00
  112. (40/47): perl-Digest-MD5-2.55-396.el8.x86_64.rpm 284 kB/s | 37 kB 00:00
  113. (41/47): perl-IO-Socket-IP-0.39-5.el8.noarch.rpm 250 kB/s | 47 kB 00:00
  114. (42/47): perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch. 77 kB/s | 15 kB 00:00
  115. (43/47): perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch. 650 kB/s | 298 kB 00:00
  116. (44/47): perl-URI-1.73-3.el8.noarch.rpm 494 kB/s | 116 kB 00:00
  117. (45/47): perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64.rpm 799 kB/s | 379 kB 00:00
  118. (46/47): perl-libnet-3.11-3.el8.noarch.rpm 590 kB/s | 121 kB 00:00
  119. (47/47): perl-interpreter-5.26.3-420.el8.x86_64.rpm 1.5 MB/s | 6.3 MB 00:04
  120. --------------------------------------------------------------------------------------------------------
  121. Total 1.1 MB/s | 13 MB 00:11
  122. Running transaction check
  123. Transaction check succeeded.
  124. Running transaction test
  125. Transaction test succeeded.
  126. Running transaction
  127. Preparing : 1/1
  128. Installing : perl-Digest-1.17-395.el8.noarch 1/52
  129. Installing : perl-Digest-MD5-2.55-396.el8.x86_64 2/52
  130. Installing : perl-Data-Dumper-2.167-399.el8.x86_64 3/52
  131. Installing : perl-libnet-3.11-3.el8.noarch 4/52
  132. Installing : perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64 5/52
  133. Installing : perl-URI-1.73-3.el8.noarch 6/52
  134. Installing : perl-Pod-Escapes-1:1.07-395.el8.noarch 7/52
  135. Installing : perl-Time-Local-1:1.280-1.el8.noarch 8/52
  136. Installing : perl-IO-Socket-IP-0.39-5.el8.noarch 9/52
  137. Installing : perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch 10/52
  138. Installing : perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch 11/52
  139. Installing : perl-Term-ANSIColor-4.06-396.el8.noarch 12/52
  140. Installing : perl-Term-Cap-1.17-395.el8.noarch 13/52
  141. Installing : perl-File-Temp-0.230.600-1.el8.noarch 14/52
  142. Installing : perl-Pod-Simple-1:3.35-395.el8.noarch 15/52
  143. Installing : perl-HTTP-Tiny-0.074-1.el8.noarch 16/52
  144. Installing : perl-podlators-4.11-1.el8.noarch 17/52
  145. Installing : perl-Pod-Perldoc-3.28-396.el8.noarch 18/52
  146. Installing : perl-Text-ParseWords-3.30-395.el8.noarch 19/52
  147. Installing : perl-Pod-Usage-4:1.69-395.el8.noarch 20/52
  148. Installing : perl-MIME-Base64-3.15-396.el8.x86_64 21/52
  149. Installing : perl-Storable-1:3.11-3.el8.x86_64 22/52
  150. Installing : perl-Getopt-Long-1:2.50-4.el8.noarch 23/52
  151. Installing : perl-Errno-1.28-420.el8.x86_64 24/52
  152. Installing : perl-Socket-4:2.027-3.el8.x86_64 25/52
  153. Installing : perl-Encode-4:2.97-3.el8.x86_64 26/52
  154. Installing : perl-Exporter-5.72-396.el8.noarch 27/52
  155. Installing : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64 28/52
  156. Installing : perl-macros-4:5.26.3-420.el8.x86_64 29/52
  157. Installing : perl-parent-1:0.237-1.el8.noarch 30/52
  158. Installing : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch 31/52
  159. Installing : perl-Unicode-Normalize-1.25-396.el8.x86_64 32/52
  160. Installing : perl-File-Path-2.15-2.el8.noarch 33/52
  161. Installing : perl-IO-1.38-420.el8.x86_64 34/52
  162. Installing : perl-PathTools-3.74-1.el8.x86_64 35/52
  163. Installing : perl-constant-1.33-396.el8.noarch 36/52
  164. Installing : perl-threads-1:2.21-2.el8.x86_64 37/52
  165. Installing : perl-threads-shared-1.58-2.el8.x86_64 38/52
  166. Installing : perl-libs-4:5.26.3-420.el8.x86_64 39/52
  167. Installing : perl-Carp-1.42-396.el8.noarch 40/52
  168. Installing : perl-interpreter-4:5.26.3-420.el8.x86_64 41/52
  169. Installing : mysql-community-common-5.7.40-1.el7.x86_64 42/52
  170. Installing : mysql-community-libs-5.7.40-1.el7.x86_64 43/52
  171. Running scriptlet: mysql-community-libs-5.7.40-1.el7.x86_64 43/52
  172. Installing : pkgconf-m4-1.4.2-1.el8.noarch 44/52
  173. Installing : net-tools-2.0-0.52.20160912git.el8.x86_64 45/52
  174. Running scriptlet: net-tools-2.0-0.52.20160912git.el8.x86_64 45/52
  175. Installing : ncurses-compat-libs-6.1-9.20180224.el8.x86_64 46/52
  176. Installing : mysql-community-client-5.7.40-1.el7.x86_64 47/52
  177. Installing : libpkgconf-1.4.2-1.el8.x86_64 48/52
  178. Installing : pkgconf-1.4.2-1.el8.x86_64 49/52
  179. Installing : pkgconf-pkg-config-1.4.2-1.el8.x86_64 50/52
  180. Installing : mysql-community-devel-5.7.40-1.el7.x86_64 51/52
  181. Running scriptlet: mysql-community-server-5.7.40-1.el7.x86_64 52/52
  182. Installing : mysql-community-server-5.7.40-1.el7.x86_64 52/52
  183. Running scriptlet: mysql-community-server-5.7.40-1.el7.x86_64 52/52
  184. [/usr/lib/tmpfiles.d/mysql.conf:23] Line references path below legacy directory /var/run/, updating /var/run/mysqld → /run/mysqld; please update the tmpfiles.d/ drop-in file accordingly.
  185. Verifying : libpkgconf-1.4.2-1.el8.x86_64 1/52
  186. Verifying : ncurses-compat-libs-6.1-9.20180224.el8.x86_64 2/52
  187. Verifying : net-tools-2.0-0.52.20160912git.el8.x86_64 3/52
  188. Verifying : perl-Carp-1.42-396.el8.noarch 4/52
  189. Verifying : perl-Data-Dumper-2.167-399.el8.x86_64 5/52
  190. Verifying : perl-Encode-4:2.97-3.el8.x86_64 6/52
  191. Verifying : perl-Errno-1.28-420.el8.x86_64 7/52
  192. Verifying : perl-Exporter-5.72-396.el8.noarch 8/52
  193. Verifying : perl-File-Path-2.15-2.el8.noarch 9/52
  194. Verifying : perl-File-Temp-0.230.600-1.el8.noarch 10/52
  195. Verifying : perl-Getopt-Long-1:2.50-4.el8.noarch 11/52
  196. Verifying : perl-HTTP-Tiny-0.074-1.el8.noarch 12/52
  197. Verifying : perl-IO-1.38-420.el8.x86_64 13/52
  198. Verifying : perl-MIME-Base64-3.15-396.el8.x86_64 14/52
  199. Verifying : perl-PathTools-3.74-1.el8.x86_64 15/52
  200. Verifying : perl-Pod-Escapes-1:1.07-395.el8.noarch 16/52
  201. Verifying : perl-Pod-Perldoc-3.28-396.el8.noarch 17/52
  202. Verifying : perl-Pod-Simple-1:3.35-395.el8.noarch 18/52
  203. Verifying : perl-Pod-Usage-4:1.69-395.el8.noarch 19/52
  204. Verifying : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64 20/52
  205. Verifying : perl-Socket-4:2.027-3.el8.x86_64 21/52
  206. Verifying : perl-Storable-1:3.11-3.el8.x86_64 22/52
  207. Verifying : perl-Term-ANSIColor-4.06-396.el8.noarch 23/52
  208. Verifying : perl-Term-Cap-1.17-395.el8.noarch 24/52
  209. Verifying : perl-Text-ParseWords-3.30-395.el8.noarch 25/52
  210. Verifying : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch 26/52
  211. Verifying : perl-Time-Local-1:1.280-1.el8.noarch 27/52
  212. Verifying : perl-Unicode-Normalize-1.25-396.el8.x86_64 28/52
  213. Verifying : perl-constant-1.33-396.el8.noarch 29/52
  214. Verifying : perl-interpreter-4:5.26.3-420.el8.x86_64 30/52
  215. Verifying : perl-libs-4:5.26.3-420.el8.x86_64 31/52
  216. Verifying : perl-macros-4:5.26.3-420.el8.x86_64 32/52
  217. Verifying : perl-parent-1:0.237-1.el8.noarch 33/52
  218. Verifying : perl-podlators-4.11-1.el8.noarch 34/52
  219. Verifying : perl-threads-1:2.21-2.el8.x86_64 35/52
  220. Verifying : perl-threads-shared-1.58-2.el8.x86_64 36/52
  221. Verifying : pkgconf-1.4.2-1.el8.x86_64 37/52
  222. Verifying : pkgconf-m4-1.4.2-1.el8.noarch 38/52
  223. Verifying : pkgconf-pkg-config-1.4.2-1.el8.x86_64 39/52
  224. Verifying : perl-Digest-1.17-395.el8.noarch 40/52
  225. Verifying : perl-Digest-MD5-2.55-396.el8.x86_64 41/52
  226. Verifying : perl-IO-Socket-IP-0.39-5.el8.noarch 42/52
  227. Verifying : perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch 43/52
  228. Verifying : perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch 44/52
  229. Verifying : perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64 45/52
  230. Verifying : perl-URI-1.73-3.el8.noarch 46/52
  231. Verifying : perl-libnet-3.11-3.el8.noarch 47/52
  232. Verifying : mysql-community-client-5.7.40-1.el7.x86_64 48/52
  233. Verifying : mysql-community-common-5.7.40-1.el7.x86_64 49/52
  234. Verifying : mysql-community-devel-5.7.40-1.el7.x86_64 50/52
  235. Verifying : mysql-community-libs-5.7.40-1.el7.x86_64 51/52
  236. Verifying : mysql-community-server-5.7.40-1.el7.x86_64 52/52
  237. Installed:
  238. libpkgconf-1.4.2-1.el8.x86_64
  239. mysql-community-client-5.7.40-1.el7.x86_64
  240. mysql-community-common-5.7.40-1.el7.x86_64
  241. mysql-community-devel-5.7.40-1.el7.x86_64
  242. mysql-community-libs-5.7.40-1.el7.x86_64
  243. mysql-community-server-5.7.40-1.el7.x86_64
  244. ncurses-compat-libs-6.1-9.20180224.el8.x86_64
  245. net-tools-2.0-0.52.20160912git.el8.x86_64
  246. perl-Carp-1.42-396.el8.noarch
  247. perl-Data-Dumper-2.167-399.el8.x86_64
  248. perl-Digest-1.17-395.el8.noarch
  249. perl-Digest-MD5-2.55-396.el8.x86_64
  250. perl-Encode-4:2.97-3.el8.x86_64
  251. perl-Errno-1.28-420.el8.x86_64
  252. perl-Exporter-5.72-396.el8.noarch
  253. perl-File-Path-2.15-2.el8.noarch
  254. perl-File-Temp-0.230.600-1.el8.noarch
  255. perl-Getopt-Long-1:2.50-4.el8.noarch
  256. perl-HTTP-Tiny-0.074-1.el8.noarch
  257. perl-IO-1.38-420.el8.x86_64
  258. perl-IO-Socket-IP-0.39-5.el8.noarch
  259. perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch
  260. perl-MIME-Base64-3.15-396.el8.x86_64
  261. perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch
  262. perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64
  263. perl-PathTools-3.74-1.el8.x86_64
  264. perl-Pod-Escapes-1:1.07-395.el8.noarch
  265. perl-Pod-Perldoc-3.28-396.el8.noarch
  266. perl-Pod-Simple-1:3.35-395.el8.noarch
  267. perl-Pod-Usage-4:1.69-395.el8.noarch
  268. perl-Scalar-List-Utils-3:1.49-2.el8.x86_64
  269. perl-Socket-4:2.027-3.el8.x86_64
  270. perl-Storable-1:3.11-3.el8.x86_64
  271. perl-Term-ANSIColor-4.06-396.el8.noarch
  272. perl-Term-Cap-1.17-395.el8.noarch
  273. perl-Text-ParseWords-3.30-395.el8.noarch
  274. perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch
  275. perl-Time-Local-1:1.280-1.el8.noarch
  276. perl-URI-1.73-3.el8.noarch
  277. perl-Unicode-Normalize-1.25-396.el8.x86_64
  278. perl-constant-1.33-396.el8.noarch
  279. perl-interpreter-4:5.26.3-420.el8.x86_64
  280. perl-libnet-3.11-3.el8.noarch
  281. perl-libs-4:5.26.3-420.el8.x86_64
  282. perl-macros-4:5.26.3-420.el8.x86_64
  283. perl-parent-1:0.237-1.el8.noarch
  284. perl-podlators-4.11-1.el8.noarch
  285. perl-threads-1:2.21-2.el8.x86_64
  286. perl-threads-shared-1.58-2.el8.x86_64
  287. pkgconf-1.4.2-1.el8.x86_64
  288. pkgconf-m4-1.4.2-1.el8.noarch
  289. pkgconf-pkg-config-1.4.2-1.el8.x86_64
  290. Complete!

查看服务已存在

  1. [root@xk src]# cd
  2. [root@xk ~]# systemctl status mysqld
  3. ● mysqld.service - MySQL Server
  4. Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
  5. Active: inactive (dead)
  6. Docs: man:mysqld(8)
  7. http://dev.mysql.com/doc/refman/en/using-systemd.html

关闭防火墙

  1. [root@xk ~]# systemctl disable --now firewalld
  2. Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
  3. Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
  1. [root@xk ~]# vim /etc/selinux/config
  2. # This file controls the state of SELinux on the system.
  3. # SELINUX= can take one of these three values:
  4. # enforcing - SELinux security policy is enforced.
  5. # permissive - SELinux prints warnings instead of enforcing.
  6. # disabled - No SELinux policy is loaded.
  7. SELINUX=disabled
  8. # SELINUXTYPE= can take one of these three values:
  9. # targeted - Targeted processes are protected,
  10. # minimum - Modification of targeted policy. Only selected processes are protected.
  11. # mls - Multi Level Security protection.
  12. SELINUXTYPE=targeted
[root@xk ~]# setenforce 0

临时启动和开机自启

  1. [root@xk ~]# systemctl start mysqld
  2. [root@xk ~]# systemctl enable mysqld

查看发现已经启动且开机自启

  1. [root@xk ~]# systemctl status mysqld
  2. ● mysqld.service - MySQL Server
  3. Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
  4. Active: active (running) since Tue 2022-12-27 21:24:42 CST; 1min 34s ago
  5. Docs: man:mysqld(8)
  6. http://dev.mysql.com/doc/refman/en/using-systemd.html
  7. Main PID: 27371 (mysqld)
  8. Tasks: 27 (limit: 5790)
  9. Memory: 286.8M
  10. CGroup: /system.slice/mysqld.service
  11. └─27371 /usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid
  12. Dec 27 21:24:40 xk systemd[1]: Starting MySQL Server...
  13. Dec 27 21:24:42 xk systemd[1]: Started MySQL Server.

端口号3066已经监听

  1. [root@xk ~]# ss -antl
  2. State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
  3. LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
  4. LISTEN 0 80 *:3306 *:*
  5. LISTEN 0 128 [::]:22 [::]:*

 在日志找到临时密码

  1. [root@xk ~]# grep password /var/log/mysqld.log
  2. 2022-12-27T13:24:40.769060Z 1 [Note] A temporary password is generated for root@localhost: <kh7Y19bHJqJ

用获取的密码临时登录mysql

  1. [root@xk ~]# mysql -urroot -p'<kh7Y19bHJqJ'
  2. mysql: [Warning] Using a password on the command line interface can be insecure.
  3. ERROR 1045 (28000): Access denied for user 'rroot'@'localhost' (using password: YES)
  4. [root@xk ~]# mysql -uroot -p'<kh7Y19bHJqJ'
  5. mysql: [Warning] Using a password on the command line interface can be insecure.
  6. Welcome to the MySQL monitor. Commands end with ; or \g.
  7. Your MySQL connection id is 3
  8. Server version: 5.7.40
  9. Copyright (c) 2000, 2022, Oracle and/or its affiliates.
  10. Oracle is a registered trademark of Oracle Corporation and/or its
  11. affiliates. Other names may be trademarks of their respective
  12. owners.
  13. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  14. mysql>

改密码

  1. mysql> set password = password("Xukang123!");
  2. Query OK, 0 rows affected, 1 warning (0.00 sec)
  3. mysql> quit
  4. Bye

验证密码是否设置成功

  1. [root@xk ~]# mysql -uroot -p'Xukang123!'
  2. mysql: [Warning] Using a password on the command line interface can be insecure.
  3. Welcome to the MySQL monitor. Commands end with ; or \g.
  4. Your MySQL connection id is 4
  5. Server version: 5.7.40 MySQL Community Server (GPL)
  6. Copyright (c) 2000, 2022, Oracle and/or its affiliates.
  7. Oracle is a registered trademark of Oracle Corporation and/or its
  8. affiliates. Other names may be trademarks of their respective
  9. owners.
  10. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  11. mysql>

删掉yum源和多余文件

  1. [root@xk ~]# rpm -qa|grep mysql
  2. mysql-community-libs-5.7.40-1.el7.x86_64
  3. mysql-community-client-5.7.40-1.el7.x86_64
  4. mysql-community-devel-5.7.40-1.el7.x86_64
  5. mysql57-community-release-el7-10.noarch
  6. mysql-community-common-5.7.40-1.el7.x86_64
  7. mysql-community-server-5.7.40-1.el7.x86_64
  8. [root@xk ~]# rpm -e mysql57-community-release-el7-10.noarch
  9. warning: /etc/yum.repos.d/mysql-community.repo saved as /etc/yum.repos.d/mysql-community.repo.rpmsave
  10. [root@xk ~]# rpm -qa|grep mysql
  11. mysql-community-libs-5.7.40-1.el7.x86_64
  12. mysql-community-client-5.7.40-1.el7.x86_64
  13. mysql-community-devel-5.7.40-1.el7.x86_64
  14. mysql-community-common-5.7.40-1.el7.x86_64
  15. mysql-community-server-5.7.40-1.el7.x86_64
  16. [root@xk ~]# cd /etc/yum.repos.d/
  17. [root@xk yum.repos.d]# ls
  18. CentOS-Base.repo mysql-community.repo.rpmsave
  19. [root@xk yum.repos.d]# rm -f mysql-community.repo.rpmsave
  20. [root@xk yum.repos.d]# ls
  21. CentOS-Base.repo
  22. [root@xk yum.repos.d]#

设置安全初始化

  1. [root@xk ~]# mysql_secure_installation
  2. Securing the MySQL server deployment.
  3. Enter password for user root:
  4. The 'validate_password' plugin is installed on the server.
  5. The subsequent steps will run with the existing configuration
  6. of the plugin.
  7. Using existing password for root.
  8. Estimated strength of the password: 100
  9. Change the password for root ? ((Press y|Y for Yes, any other key for No) : n
  10. ... skipping.
  11. By default, a MySQL installation has an anonymous user,
  12. allowing anyone to log into MySQL without having to have
  13. a user account created for them. This is intended only for
  14. testing, and to make the installation go a bit smoother.
  15. You should remove them before moving into a production
  16. environment.
  17. Remove anonymous users? (Press y|Y for Yes, any other key for No) : y
  18. Success.
  19. Normally, root should only be allowed to connect from
  20. 'localhost'. This ensures that someone cannot guess at
  21. the root password from the network.
  22. Disallow root login remotely? (Press y|Y for Yes, any other key for No) : n
  23. ... skipping.
  24. By default, MySQL comes with a database named 'test' that
  25. anyone can access. This is also intended only for testing,
  26. and should be removed before moving into a production
  27. environment.
  28. Remove test database and access to it? (Press y|Y for Yes, any other key for No) : y
  29. - Dropping test database...
  30. Success.
  31. - Removing privileges on test database...
  32. Success.
  33. Reloading the privilege tables will ensure that all changes
  34. made so far will take effect immediately.
  35. Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y
  36. Success.
  37. All done!

再次验证

  1. [root@xk ~]# mysql -uroot -p'Xukang123!'
  2. mysql: [Warning] Using a password on the command line interface can be insecure.
  3. Welcome to the MySQL monitor. Commands end with ; or \g.
  4. Your MySQL connection id is 9
  5. Server version: 5.7.40 MySQL Community Server (GPL)
  6. Copyright (c) 2000, 2022, Oracle and/or its affiliates.
  7. Oracle is a registered trademark of Oracle Corporation and/or its
  8. affiliates. Other names may be trademarks of their respective
  9. owners.
  10. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  11. mysql>

测试链接

给予权限

  1. mysql> grant all on *.* to 'root'@'192.168.154.1' identified by 'Xukang123!';
  2. Query OK, 0 rows affected, 1 warning (0.00 sec)
  3. mysql> flush privileges;
  4. Query OK, 0 rows affected (0.00 sec)
  5. mysql>

使用workbeach远程登录

使用Navicat远程登录

 

成功 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/331653
推荐阅读
相关标签
  

闽ICP备14008679号