VPS侦探论坛

 找回密码
 注册
查看: 6266|回复: 2

一键安装包安装失败,求救

[复制链接]
发表于 2012-6-26 17:10:11 | 显示全部楼层 |阅读模式

一键安装包安装失败,求救

[root@localhost lnmp0.9-full]# cat /etc/issue
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Kernel \r on an \m

[root@localhost lnmp0.9-full]# more /proc/cpuinfo | grep "model name"
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz


[root@localhost lnmp0.9-full]# yum
Loaded plugins: rhnplugin, security
You need to give some command
usage: yum [options] COMMAND
一键安装包安装失败,求救
[root@localhost lnmp0.9-full]# cat /etc/issue
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Kernel \r on an \m

[root@localhost lnmp0.9-full]# more /proc/cpuinfo | grep "model name"
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
model name      : Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz


[root@localhost lnmp0.9-full]# yum
Loaded plugins: rhnplugin, security
You need to give some command
usage: yum [options] COMMAND
log内容:
[2J=========================================================================
LNMP V0.9 for Debian VPS ,  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 domain:
(Default domain: www.lnmp.org):===========================
domain=www.lnmp.org
===========================
Where are your servers located? asia,america,europe,oceania or africa
(Default area: america):===========================
area=america
===========================
Please input the root password of mysql:
(Default password: root):===========================
mysqlrootpwd=@#¥@#¥¥#¥
===========================
===========================
Do you want to install the InnoDB Storage Engine?
(Default no,if you want please input: y ,if not please press the enter button):INPUT error,The InnoDB Storage Engine will NOT install!

Press any key to start...
./debian.sh: line 96: dpkg: command not found
./debian.sh: line 97: dpkg: command not found
./debian.sh: line 143: apt-get: command not found
./debian.sh: line 143: apt-get: command not found
./debian.sh: line 143: apt-get: command not found
./debian.sh: line 143: apt-get: command not found
./debian.sh: line 143: apt-get: command not found
./debian.sh: line 143: apt-get: command not found
./debian.sh: line 143: apt-get: command not found
./debian.sh: line 143: apt-get: command not found
./debian.sh: line 143: apt-get: command not found
./debian.sh: line 143: apt-get: command not found
./debian.sh: line 143: apt-get: command not found
./debian.sh: line 143: apt-get: command not found
./debian.sh: line 143: apt-get: command not found
./debian.sh: line 143: apt-get: command not found
./debian.sh: line 143: apt-get: command not found

[ 本帖最后由 g0c0 于 2012-6-26 17:16 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-6-26 19:47:29 | 显示全部楼层


RHEL需要先配置好yum
你这个很明显要用./centos.sh 安装,你用debian.sh肯定安装不上
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-6-26 22:14:52 | 显示全部楼层

[root@localhost lnmp0.9-full]# yum
Loaded plugins: fastestmirror
You need to give some command
usage: yum [options] COMMAND


List of Commands:


check-update   Check for available package updates
clean          Remove cached data
deplist        List a package's dependencies
downgrade      downgrade a package
erase          Remove a package or packages from your system
groupinfo      Display details about a package group
groupinstall   Install the packages in a group on your system
grouplist      List available package groups
groupremove    Remove the packages in a group from your system
help           Display a helpful usage message
info           Display details about a package or group of packages
install        Install a package or packages on your system
list           List a package or groups of packages
localinstall   Install a local RPM
makecache      Generate the metadata cache
provides       Find what package provides the given value
reinstall      reinstall a package
repolist       Display the configured software repositories
resolvedep     Determine which package provides the given dependency
search         Search package details for the given string
shell          Run an interactive yum shell
update         Update a package or packages on your system
upgrade        Update packages taking obsoletes into account




options:
  -h, --help            show this help message and exit
  -t, --tolerant        be tolerant of errors
  -C                    run entirely from cache, don't update cache
  -c  [config file]     config file location
  -R  [minutes]         maximum command wait time
  -d  [debug level]     debugging output level
  --showduplicates      show duplicates, in repos, in list/search commands
  -e  [error level]     error output level
  -q, --quiet           quiet operation
  -v, --verbose         verbose operation
  -y                    answer yes for all questions
  --version             show Yum version and exit
  --installroot=[path]  set install root
  --enablerepo=[repo]   enable one or more repositories (wildcards allowed)
  --disablerepo=[repo]  disable one or more repositories (wildcards allowed)
  -x [package], --exclude=[package]
                        exclude package(s) by name or glob
  --disableexcludes=[repo]
                        disable exclude from main, for a repo or for
                        everything
  --obsoletes           enable obsoletes processing during updates
  --noplugins           disable Yum plugins
  --nogpgcheck          disable gpg signature checking
  --disableplugin=[plugin]
                        disable plugins by name
  --enableplugin=[plugin]
                        enable plugins by name
  --skip-broken         skip packages with depsolving problems
  --color=COLOR         control whether color is used


  Plugin Options:


[root@localhost lnmp0.9-full]# ./centos.sh 2>&1 | tee lnmp.log
-bash: ./centos.sh: û▒▒▒Ǹ▒▒ļ▒▒▒Ŀ¼

这个地方出现乱码,估计是报错了

[ 本帖最后由 g0c0 于 2012-6-26 22:35 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-17 17:45 , Processed in 0.025936 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表