马宪廷吧 关注:4贴子:235
  • 3回复贴,共1

Fedora 15中安装GoogleEarthLinux.bin

只看楼主收藏回复

[root@localhost 下载]# ls
flash-plugin-10.3.181.34-release.i386.rpm GoogleEarthLinux.bin
[root@localhost 下载]# chmod 777 GoogleEarthLinux.bin
[root@localhost 下载]# ./GoogleEarthLinux.bin --help
Makeself version 2.1.5
1) Getting help or info about ./GoogleEarthLinux.bin :
./GoogleEarthLinux.bin --help Print this message
./GoogleEarthLinux.bin --info Print embedded info : title, default target directory, embedded script ...
./GoogleEarthLinux.bin --lsm Print embedded lsm entry (or no LSM)
./GoogleEarthLinux.bin --list Print the list of files in the archive
./GoogleEarthLinux.bin --check Checks integrity of the archive
2) Running ./GoogleEarthLinux.bin :
./GoogleEarthLinux.bin [options] [--] [additional arguments to embedded script]
with following options (in that order)
--confirm Ask before running embedded script
--noexec Do not run embedded script
--keep Do not erase target directory after running
the embedded script
--nox11 Do not spawn an xterm
--nochown Do not give the extracted files to the current user
--target NewDirectory Extract in NewDirectory
--tar arg1 [arg2 ...] Access the contents of the archive through the tar command
-- Following arguments will be passed to the embedded script
[root@localhost 下载]#



1楼2011-07-20 16:51回复
    [root@localhost 下载]# ./GoogleEarthLinux.bin --target /tmp/google-earth
    Creating directory /tmp/google-earth
    Verifying archive integrity... All good.
    Uncompressing Google Earth for GNU/Linux 5.2.1.1588..............................................................
    setup.data/setup.xml:1: parser error : Document is empty
    ^
    setup.data/setup.xml:1: parser error : Start tag expected, '<' not found
    ^
    ./setup.sh: 行 158: 2480 段错误 (吐核)"$setup" "$@"
    [root@localhost 下载]#
    


    2楼2011-07-20 16:56
    回复
      2025-05-15 19:56:47
      广告
      chown 指令名称 : chown
      使用权限 : root
      使用方式 : chown [-cfhvR] [--help] [--version] user[:group] file…
      说明 : Linux/Unix 是多人多工作业系统,所有的档案皆有拥有者。利用 chown 可以将档案的拥有者加以改变。一般来说,这个指令只有是由系统管理者(root)所使用,一般使用者没有权限可以改变别人的档案拥有者,也没有权限可以自 己的档案拥有者改设为别人。只有系统管理者(root)才有这样的权限。
      把计 :
      user : 新的档案拥有者的使用者 IDgroup : 新的档案拥有者的使用者群体(group)-c : 若该档案拥有者确实已经更改,才显示其更改动作-f : 若该档案拥有者无法被更改也不要显示错误讯息-h : 只对于连结(link)进行变更,而非该 link 真正指向的档案-v : 显示拥有者变更的详细资料-R : 对目前目录下的所有档案与子目录进行相同的拥有者变更(即以递回的方式逐个变更)–help : 显示辅助说明–version : 显示版本
      范例 :
      将档案 file1.txt 的拥有者设为 users 群体的使用者 jessie :
      chown jessie:users file1.txt
      将目前目录下的所有档案与子目录的拥有者皆设为 users 群体的使用者 lamport :
      chown -R lamport:users *
      功能:更改某个文件或目录的属主和属组。这个命令也很常用。例如root用户把自己的一个文件拷贝给用户xu,为了让用户xu能够存取这个文件,root用户应该把这个文件的属主设为xu,否则,用户xu无法存取这个文件。
      语法:chown [选项] 用户或组 文件
      说明:chown将指定文件的拥有者改为指定的用户或组。用户可以是用户名或用户I D。组可以是组名或组ID。文件是以空格分开的要改变权限的文件列表,支持通配符。 该命令的各选项含义如下:
      -R 递归式地改变指定目录及其下的所有子目录和文件的拥有者。
      -v 显示chown命令所做的工作。
      chmod 指令名称 : chmod
      使用权限 : 所有使用者
      使用方式 : chmod [-cfvR] [--help] [--version] mode file…
      说明 : Linux/Unix 的档案存取权限分为三级 : 档案拥有者、群组、其他。利用 chmod 可以藉以控制档案如何被他人所存取。
      把计 :
      mode : 权限设定字串,格式如下 : [ugoa...][[+-=][rwxX]…][,...],其中u 表示该档案的拥有者,g 表示与该档案的拥有者属于同一个群体(group)者,o 表示其他以外的人,a 表示这三者皆是。
      + 表示增加权限、- 表示取消权限、= 表示唯一设定权限。
      r 表示可读取,w 表示可写入,x 表示可执行,X 表示只有当该档案是个子目录或者该档案已经被设定过为可执行。
      -c : 若该档案权限确实已经更改,才显示其更改动作
      -f : 若该档案权限无法被更改也不要显示错误讯息
      -v : 显示权限变更的详细资料
      -R : 对目前目录下的所有档案与子目录进行相同的权限变更(即以递回的方式逐个变更)
      –help : 显示辅助说明
      –version : 显示版本
      范例 :将档案 file1.txt 设为所有人皆可读取 :
      chmod ugo+r file1.txt
      将档案 file1.txt 设为所有人皆可读取 :
      chmod a+r file1.txt
      将档案 file1.txt 与 file2.txt 设为该档案拥有者,与其所属同一个群体者可写入,但其他以外的人则不可写入 :
      chmod ug+w,o-w file1.txt file2.txt
      将 ex1.py 设定为只有该档案拥有者可以执行 :
      chmod u+x ex1.py
      将目前目录下的所有档案与子目录皆设为任何人可读取 :
      chmod -R a+r *
      此外chmod也可以用数字来表示权限如 chmod 777 file
      语法为:chmod abc file
      其中a,b,c各为一个数字,分别表示User、Group、及Other的权限。
      r=4,w=2,x=1
      若要rwx属性则4+2+1=7;
      若要rw-属性则4+2=6;
      若要r-x属性则4+1=5。
      范例:
      chmod a=rwx file

      chmod 777 file
      


      3楼2011-07-20 17:06
      回复
        [root@localhost maxt]# cd /tmp/google-earth
        [root@localhost google-earth]# ./setup.sh
        setup.data/setup.xml:1: parser error : Document is empty
        ^
        setup.data/setup.xml:1: parser error : Start tag expected, '<' not found
        ^
        ./setup.sh: 行 158: 4070 段错误 (吐核)"$setup" "$@"
        [root@localhost google-earth]#
        


        6楼2011-07-20 17:29
        回复