你好!
我在阿里云服務器CoreOS Linux
(Linux localhost 4.14.48-coreos-r2 #1 SMP Thu Jun 14 08:23:03 UTC 2018 x86_64 Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz GenuineIntel GNU/Linux)上安裝mysql服務器上碰到了這個問題:
我下載的是mysql-5.6.38-linux-glibc2.12-x86_64,已經在服務器上解壓,并且設定好了mysql的用戶和組。
現在執行
localhost scripts # ../scripts/mysql_install_db --basedir=/root/mysql-5.6.38-linux-glibc2.12-x86_64 --user=mysql &
這句命令,
報這個錯:
localhost scripts # -bash: ../scripts/mysql_install_db: /usr/bin/perl: bad interpreter: No such file or directory
可能是服務器上面沒有安裝好Perl解釋器腳本,我又下載了一個perl-5.24.0.tar.gz
運行 # ./Configure -de
報下面的訊息:
Don't worry if any of the following aren't found...
I don't see ar out there, offhand.
I don't see bison out there, either.
I don't see byacc out there, either.
I don't see cpp out there, either.
I don't see csh out there, either.
date is in /usr/bin/date.
egrep is in /usr/bin/egrep.
I don't see gmake out there, either.
gzip is in /usr/bin/gzip.
less is in /usr/bin/less.
ln is in /usr/bin/ln.
I don't see make out there, either.
more is in /usr/bin/more.
I don't see nm out there, either.
I don't see nroff out there, either.
I don't see perl out there, either.
I don't see pg out there, either.
test is in /usr/bin/test.
uname is in /usr/bin/uname.
zip is in /usr/bin/zip.
Substituting less -R for less.
I can't find make or gmake, and my life depends on it.
Go find a public domain implementation or fix your PATH setting!
看上去是make 或者 gmake也沒有裝。
那現在怎么安裝mysql服務器???
uj5u.com熱心網友回復:
用CoreOS不是為了DOCKER?DOCKER個MYSQL 不就完了。轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/232707.html
標籤:系統維護與使用區
