Ubuntu 16.04 64位 LTS
安装 mysql php7.1 php7.2 报错:
---
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** No rule to make target 'install'。 停止。
---
通过
cat /tmp/panelExec.log
反馈如下信息:
#####
·········
mariadb-10.1.30/COPYING.thirdparty
mariadb-10.1.30/configure.cmake
mariadb-10.1.30/EXCEPTIONS-CLIENT
mysql.sh: 行 1235: cmake: 未找到命令
make: *** 没有指明目标并且找不到 makefile。 停止。
groupadd:“mysql”组已存在
useradd:用户“mysql”已存在
mysql.sh: 行 1324: /www/server/mysql/scripts/mysql_install_db: 没有那个文件或目录
mysql.sh: 行 1325: /www/server/mysql/scripts/mysql_install_db: 没有那个文件或目录
cp: 无法获取'support-files/mysql.server' 的文件状态(stat): 没有那个文件或目录
chmod: 无法访问'/etc/init.d/mysqld': 没有那个文件或目录
sed: 无法读取 /etc/init.d/mysqld: 没有那个文件或目录
mysql.sh: 行 1344: /etc/init.d/mysqld: 没有那个文件或目录
mysql.sh: 行 1351: /www/server/mysql/bin/mysqladmin: 没有那个文件或目录
update-rc.d: error: initscript does not exist: /etc/init.d/mysqld
Failed to start mysqld.service: Unit mysqld.service not found.
mysql.sh: 行 1578: /etc/init.d/mysqld: 没有那个文件或目录
mysql.sh: 行 1579: /www/server/mysql/bin/mysql: 没有那个文件或目录
mysql.sh: 行 1580: /www/server/mysql/bin/mysql: 没有那个文件或目录
mysql.sh: 行 1581: /www/server/mysql/bin/mysql: 没有那个文件或目录
Failed to stop mysqld.service: Unit mysqld.service not loaded.
正在修改密码...
The set password...
mysql_root.sh: 行 6: mysqld_safe: 未找到命令
mysql_root.sh: 行 10: mysql: 未找到命令
mysql_root.sh: 行 11: mysql: 未找到命令
mysql_root.sh: 行 12: mysql: 未找到命令
mysql_root.sh: 行 13: mysql: 未找到命令
mysql_root.sh: 行 14: mysql: 未找到命令
Failed to start mysqld.service: Unit mysqld.service not found.
===========================================
root密码成功修改为: c14d7d84bd37e2c1
The root password set c14d7d84bd37e2c1 successuful
1
Cannot uninstall requirement mysql-python, not installed
Collecting mysql-python
Using cached MySQL-python-1.2.5.zip
Complete output from command python setup.py egg_info:
sh: mysql_config: 未找到命令
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-bbE_kM/mysql-python/setup.py", line 17, in <module>
metadata, options = get_config()
File "/tmp/pip-build-bbE_kM/mysql-python/setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "/tmp/pip-build-bbE_kM/mysql-python/setup_posix.py", line 25, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-bbE_kM/mysql-python/
#####
|