From c66b03d045131fb416afdde6129ec8ebd5bd706b Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sat, 17 Jun 2023 21:53:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E8=A3=85mysql=E6=97=B6=E9=A2=84?= =?UTF-8?q?=E5=85=88=E5=AE=89=E8=A3=85=20numactl-libs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/setup/mysql/mysqlinstallers/mysql_installer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/web/actions/default/setup/mysql/mysqlinstallers/mysql_installer.go b/internal/web/actions/default/setup/mysql/mysqlinstallers/mysql_installer.go index c0024d18..4b51b78b 100644 --- a/internal/web/actions/default/setup/mysql/mysqlinstallers/mysql_installer.go +++ b/internal/web/actions/default/setup/mysql/mysqlinstallers/mysql_installer.go @@ -102,7 +102,7 @@ func (this *MySQLInstaller) InstallFromFile(xzFilePath string, targetDir string) } else { // yum yumExe, err := exec.LookPath("yum") if err == nil && len(yumExe) > 0 { - for _, lib := range []string{"libaio", "ncurses-libs", "ncurses-compat-libs"} { + for _, lib := range []string{"libaio", "ncurses-libs", "ncurses-compat-libs", "numactl-libs"} { var cmd = utils.NewCmd("yum", "-y", "install", lib) _ = cmd.Run() time.Sleep(1 * time.Second)