开发者社区> 问答> 正文

安装install.sh出现问题



[root@iZ94tgwsm14Z ~]# cd sh-1.5.5
[root@iZ94tgwsm14Z sh-1.5.5]# ls -l
total 100
drwxr-xr-x 3 root root  4096 Nov  2  2015 apache
-rwxr-xr-x 1 root root  3451 Mar  9 14:02 change.log
drwxr-xr-x 2 root root  4096 Nov  2  2015 env
drwxr-xr-x 3 root root  4096 Nov  2  2015 ftp
-rwxr-xr-x 1 root root 20446 Jun 18 22:10 install
-rwxr-xr-x 1 root root 20446 Mar 29 13:23 install.sh
drwxr-xr-x 2 root root  4096 Nov  2  2015 jdk
drwxr-xr-x 2 root root  4096 Nov  2  2015 mysql
drwxr-xr-x 4 root root  4096 Nov  2  2015 nginx
drwxr-xr-x 2 root root  4096 Nov  2  2015 php
-rwxr-xr-x 1 root root  1672 Aug 28  2015 readme.txt
drwxr-xr-x 2 root root  4096 Nov  2  2015 res
drwxr-xr-x 2 root root  4096 Nov 18  2015 tmp
-rw-r--r-- 1 root root   316 Jun 18 22:32 tmp.log
drwxr-xr-x 2 root root  4096 Nov  2  2015 tomcat
-rwxr-xr-x 1 root root  5383 May 20  2015 uninstall.sh
-rwxr-xr-x 1 root root     0 Jun 18 22:32 vsftpd_version
[root@iZ94tgwsm14Z sh-1.5.5]# chmod +x * -Rf
[root@iZ94tgwsm14Z sh-1.5.5]# ls -l
total 100
drwxr-xr-x 3 root root  4096 Nov  2  2015 apache
-rwxr-xr-x 1 root root  3451 Mar  9 14:02 change.log
drwxr-xr-x 2 root root  4096 Nov  2  2015 env
drwxr-xr-x 3 root root  4096 Nov  2  2015 ftp
-rwxr-xr-x 1 root root 20446 Jun 18 22:10 install
-rwxr-xr-x 1 root root 20446 Mar 29 13:23 install.sh
drwxr-xr-x 2 root root  4096 Nov  2  2015 jdk
drwxr-xr-x 2 root root  4096 Nov  2  2015 mysql
drwxr-xr-x 4 root root  4096 Nov  2  2015 nginx
drwxr-xr-x 2 root root  4096 Nov  2  2015 php
-rwxr-xr-x 1 root root  1672 Aug 28  2015 readme.txt
drwxr-xr-x 2 root root  4096 Nov  2  2015 res
drwxr-xr-x 2 root root  4096 Nov 18  2015 tmp
-rwxr-xr-x 1 root root   316 Jun 18 22:32 tmp.log
drwxr-xr-x 2 root root  4096 Nov  2  2015 tomcat
-rwxr-xr-x 1 root root  5383 May 20  2015 uninstall.sh
-rwxr-xr-x 1 root root     0 Jun 18 22:32 vsftpd_version
[root@iZ94tgwsm14Z sh-1.5.5]# ./install.sh
Please select the web of nginx/apache, input 1 or 2 : 1
Please select the nginx version of 1.4.4, input 1: 1
Please select the web of php/tomcat, input 1 or 2: 1
Please select the php version of 5.2.17/5.3.29/5.4.23/5.5.7, input 1 or 2 or 3 or 4 : 4
Please select the mysql version of 5.1.73/5.5.40/5.6.21, input 1 or 2 or 3 : 3

You select the version :
web    : nginx
nginx : 1.4.4
php : 5.5.7
mysql  : 5.6.21
Enter the y or Y to continue:y
will be installed, wait ...
Loaded plugins: langpacks
base                                                                                 | 3.6 kB  00:00:00    
epel                                                                                 | 4.3 kB  00:00:00    
extras                                                                               | 3.4 kB  00:00:00    
updates                                                                              | 3.4 kB  00:00:00    
Metadata Cache Created
Loaded plugins: langpacks
Package gcc-4.8.5-4.el7.x86_64 already installed and latest version
Package gcc-c++-4.8.5-4.el7.x86_64 already installed and latest version
Package 1:make-3.82-21.el7.x86_64 already installed and latest version
Package libtool-2.4.2-21.el7_2.x86_64 already installed and latest version
Package autoconf-2.69-11.el7.noarch already installed and latest version
Package patch-2.7.1-8.el7.x86_64 already installed and latest version
Package unzip-6.0-15.el7.x86_64 already installed and latest version
Package automake-1.13.4-3.el7.noarch already installed and latest version
Package libxml2-2.9.1-6.el7_2.2.x86_64 already installed and latest version
Package libxml2-devel-2.9.1-6.el7_2.2.x86_64 already installed and latest version
Package ncurses-5.9-13.20130511.el7.x86_64 already installed and latest version
Package ncurses-devel-5.9-13.20130511.el7.x86_64 already installed and latest version
Package libtool-ltdl-devel-2.4.2-21.el7_2.x86_64 already installed and latest version
Package libtool-ltdl-2.4.2-21.el7_2.x86_64 already installed and latest version
Package libmcrypt-2.5.8-13.el7.x86_64 already installed and latest version
Package libmcrypt-devel-2.5.8-13.el7.x86_64 already installed and latest version
Package 2:libpng-1.5.13-7.el7_2.x86_64 already installed and latest version
Package 2:libpng-devel-1.5.13-7.el7_2.x86_64 already installed and latest version
Package libjpeg-turbo-devel-1.2.90-5.el7.x86_64 already installed and latest version
Package 1:openssl-1.0.1e-51.el7_2.5.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.1e-51.el7_2.5.x86_64 already installed and latest version
Package curl-7.29.0-25.el7.centos.x86_64 already installed and latest version
Package libcurl-devel-7.29.0-25.el7.centos.x86_64 already installed and latest version
Package libxml2-2.9.1-6.el7_2.2.x86_64 already installed and latest version
Package libxml2-devel-2.9.1-6.el7_2.2.x86_64 already installed and latest version
Package ncurses-5.9-13.20130511.el7.x86_64 already installed and latest version
Package ncurses-devel-5.9-13.20130511.el7.x86_64 already installed and latest version
Package libtool-ltdl-devel-2.4.2-21.el7_2.x86_64 already installed and latest version
Package libtool-ltdl-2.4.2-21.el7_2.x86_64 already installed and latest version
Package autoconf-2.69-11.el7.noarch already installed and latest version
Package automake-1.13.4-3.el7.noarch already installed and latest version
Package libaio-0.3.109-13.el7.x86_64 already installed and latest version
Package libaio-devel-0.3.109-13.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: langpacks
No packages marked for update
tmp.log

vm.swappiness = 0
net.ipv4.neigh.default.gc_stale_time = 120
net.ipv4.conf.all.rp_filter = 0
Connection closed by foreign host.

Disconnected from remote host(mmc) at 22:40:12.

Type `help' to learn how to use Xshell prompt.
[d:\~]$
[d:\~]$



刚刚运行了10秒不到就成这样了 这是什么原因 第一次安装的时候 安装了4分钟 最后出现那个[d:\-]$   第二次 第三次 第四次 就直接安装不到10秒出现[d:\-]$

这是什么原因啊  还有一个问题 这个和教程里有点点不一样  教程是按 1 1 4 3  开始我是这样选的(1   1   4   3  ),安装了几分钟 出现问题。  后来我看着第三步和教程不一样 我就选了PHP  1   在出现PHP的选项 后面 就是4 3   就出现上述图片那样?我这要怎么处理呢??????

展开
收起
萌萌吃 2016-06-18 22:57:36 10306 0
3 条回答
写回答
取消 提交回答
  • 阿里云论坛版主,QQ 1978638808
    回 2楼(云代维) 的帖子
    大神。用户使用的是驻云的安装环境,里面有视频教程的。你的教程也许能解决问题那么咱能不能以最优解决方案为准?

    -------------------------

    楼主建议你认真看安装包里面的视频教程。、
    貌似里面有个一键安装全攻略的pdf,第11页有说明。

    -------------------------

    回 5楼(云代维) 的帖子
    是呀。你直接说怎么解决就好。怎么跟上视频链接了呢?
    2016-06-19 08:12:04
    赞同 展开评论 打赏
  • 你的SSH连接中断了,安装环境一般都是在screen命令里操作,这差不多都是常识了。
    screen命令的使用方法在这里,89:07从这个时间开始看
    http://v.youku.com/v_show/id_XMTU3Nzc5MDcyMA==.html

    -------------------------

    Re:回 2楼(云代维) 的帖子
    引用第3楼51干警网于2016-06-19 08:12发表的 回 2楼(云代维) 的帖子 :
    大神。用户使用的是驻云的安装环境,里面有视频教程的。你的教程也许能解决问题那么咱能不能以最优解决方案为准? [url=https://bbs.aliyun.com/job.php?action=topost&tid=285670&pid=797536][/url]

    screen命令安装什么环境都是一样用,一个命令而已,怎么还扯上解决方案了。

    -------------------------

    Re:回 5楼(云代维) 的帖子
    引用第6楼51干警网于2016-06-19 14:18发表的 回 5楼(云代维) 的帖子 :
    是呀。你直接说怎么解决就好。怎么跟上视频链接了呢? [url=https://bbs.aliyun.com/job.php?action=topost&tid=285670&pid=797596][/url]


    我让视频连接也是告诉楼主怎么用这个命令,有问题?


    你之前什么乱七八糟的帖子都回一个某云提供的2块钱的环境安装脚本我有说你的问题?


    我上视频链接至少是在帮助用户解决问题,你发的那些2块钱的链接帮助用户什么了?
    2016-06-19 00:28:58
    赞同 展开评论 打赏
  • 这个是什么鬼 sh写法有问题吧

    Nothing to do
    Loaded plugins: langpacks
    No packages marked for update
    tmp.log
    2016-06-18 23:51:53
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载

相关实验场景

更多