g0c0 发表于 2012-6-26 17:10:11

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

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

# cat /etc/issue
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Kernel \r on an \m

# 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


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

# 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


# yum
Loaded plugins: rhnplugin, security
You need to give some command
usage: yum 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 编辑 ]

licess 发表于 2012-6-26 19:47:29

RHEL需要先配置好yum
你这个很明显要用./centos.sh 安装,你用debian.sh肯定安装不上

g0c0 发表于 2012-6-26 22:14:52

# yum
Loaded plugins: fastestmirror
You need to give some command
usage: yum 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 location
-R         maximum command wait time
-d   debugging output level
--showduplicates      show duplicates, in repos, in list/search commands
-e   error output level
-q, --quiet         quiet operation
-v, --verbose         verbose operation
-y                  answer yes for all questions
--version             show Yum version and exit
--installroot=set install root
--enablerepo=   enable one or more repositories (wildcards allowed)
--disablerepo=disable one or more repositories (wildcards allowed)
-x , --exclude=
                        exclude package(s) by name or glob
--disableexcludes=
                        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=
                        disable plugins by name
--enableplugin=
                        enable plugins by name
--skip-broken         skip packages with depsolving problems
--color=COLOR         control whether color is used


Plugin Options:


# ./centos.sh 2>&1 | tee lnmp.log
-bash: ./centos.sh: û▒▒▒Ǹ▒▒ļ▒▒▒Ŀ¼

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

[ 本帖最后由 g0c0 于 2012-6-26 22:35 编辑 ]
页: [1]
查看完整版本: 一键安装包安装失败,求救