在阿里云服务器CoreOS Linux 上安装mysql服务器

乐乐呵呵和和乐乐 2020-12-10 06:17:00
你好!
我在阿里云服务器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服务器???
...全文
19179 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
wisewoman 2020-12-10
  • 打赏
  • 举报
回复
用CoreOS不是为了DOCKER?DOCKER个MYSQL 不就完了。

19,610

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧