ubuntu.sh: 118: ubuntu.sh: Syntax error: "(" unexpected
root@ubuntu:~/lnmp1.1/test/lnmp1.1-full# sh ubuntu.sh=========================================================================
LNMP V1.1 for Ubuntu Linux Server, Written by Licess
=========================================================================
A tool to auto-compile & install Nginx+MySQL+PHP on Linux
For more information please visit http://www.lnmp.org/
=========================================================================
Please input the root password of mysql:
(Default password: root):
===========================
mysqlrootpwd=root
===========================
===========================
Do you want to install the InnoDB Storage Engine?
(Default no,if you want please input: y ,if not please press the enter button):n
You will NOT install the InnoDB Storage Engine!
===========================
Install PHP 5.3.28,Please input y
Install PHP 5.2.17,Please input n or press Enter
(Please input y or n):n
You will install PHP 5.2.17
===========================
Install MySQL 5.5.37,Please input y
Install MySQL 5.1.73,Please input n or press Enter
Install MariaDB 5.5.37,Please input md
(Please input y , n or md):n
You will install MySQL 5.1.73
Press any key to start...
ubuntu.sh: 118: ubuntu.sh: Syntax error: "(" unexpected
我的是ubuntu 12.04 64位的。为什么不行呢。求问一下大神。 包是最新的。lnmp1.1-full.tar 麻烦军哥看一下。我就奇怪了。 我看了一下。到function InitInstall() 这里报错的。这里是函数的。奇怪了。真是纠结啊。着急要用。有人在不。 Ubuntu默认sh是dash,脚本是bash写的,你用sh,你这是逼着他犯错误
直接./ubuntu.sh 好的。谢谢了。我二了。
页:
[1]