无法在 Linux 中执行二进制文件?

无法在 Linux 中执行二进制文件?

我正在尝试下载/执行 Centos 5 64 位自动安装程序:

http://www.parallels.com/download/sitebuilder4/#CENTOS5X86_64

http://download1.parallels.com/SiteBuilder/4.5.0/autoinstaller/parallels_installer_v3.3.2_build080710.09_os_CentOS_5_x86_64

一旦获得,我该如何运行该脚本?

root@server [~]# wget http://download1.parallels.com/SiteBuilder/4.5.0/autoinstaller/parallels_installer_v3.3.2_build080710.09_os_CentOS_5_x86_64
--12:39:13--  http://download1.parallels.com/SiteBuilder/4.5.0/autoinstaller/parallels_installer_v3.3.2_build080710.09_os_CentOS_5_x86_64
           => `parallels_installer_v3.3.2_build080710.09_os_CentOS_5_x86_64'
Resolving download1.parallels.com... 72.21.81.63
Connecting to download1.parallels.com|72.21.81.63|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,374,848 (3.2M) [text/plain]

100%[====================================================================================================================================================================================================================>] 3,374,848      2.69M/s             

12:39:14 (2.68 MB/s) - `parallels_installer_v3.3.2_build080710.09_os_CentOS_5_x86_64' saved [3374848/3374848]

root@server [~]# chmod +x parallels_installer_v3.3.2_build080710.09_os_CentOS_5_x86_64

root@server [~]# sh parallels_installer_v3.3.2_build080710.09_os_CentOS_5_x86_64
parallels_installer_v3.3.2_build080710.09_os_CentOS_5_x86_64: parallels_installer_v3.3.2_build080710.09_os_CentOS_5_x86_64: cannot execute binary file

答案1

尝试使用./executablefilename而不是使用 来运行它sh executablefilename。毕竟它不是 shell 脚本。

相关内容