Gftp 2.0.18版本在SOLARIS上的安装过程

来源:岁月联盟 编辑:zhu 时间:2008-03-29
Gftp 2.0.18版本在SOLARIS上的安装过程内容简介:一、GFTP安装需要的相关 软件 包 下载网址: http://www.sunfreeware.com http://sunsite.tus.ac.jp/sun/solbin http://ftp.iasi.roedu.net/mirrors/ftp.sunfreeware.com/pub/freeware/sparc/8/ 注意:下载时 一、GFTP安装需要的相关软件

  下载网址:
  http://www.sunfreeware.com
  http://sunsite.tus.ac.jp/sun/solbin
  http://ftp.iasi.roedu.net/mirrors/ftp.sunfreeware.com/pub/freeware/sparc/8/

  注意:下载时首先要取得针对操作系统和操作系统版本保持一致的相关软件,在网站上都有对应的系统,要看仔细啊。
  由于很多软件都用到GCC编译器,所以在这里把与之相关的GCC的安装先介绍给大家。

  1.与GCC相关的包先安装
  (1)libiconv-1.8-sol8-sparc-local.gz
  安装:
  # gzip –dv libiconv-1.8-sol8-sparc-local.gz
  #pkgadd -d libiconv-1.8-sol8-sparc-local
  
  (2)libgcc-3.3-sol8-sparc-local.gz
  安装:# gzip -dv libgcc-3.3-sol8-sparc-local.gz
  # pkgadd -d libgcc-3.3-sol8-sparc-local
  (3)gcc-3.4.2-sol8-sparc-local.gz or gcc_small-3.4.2-sol8-sparc-local.gz
  The GNU C compiler and related programs - installs in /usr/local. This package includes the GNU C, C++, g77, Java, and OBJC compiler suites and support files. The gcc_small package has ONLY the C and C++ compilers and is a much smaller download.
  安装gcc:以gcc_small-3.4.2-sol8-sparc-local.gz为例说明:
  gzip -dv gcc_small-3.4.2-sol8-sparc-local.gz
  # pkgadd -d gcc_small-3.4.2-sol8-sparc-local
  (4)make-3.80-sol8-sparc-local.gz
  The GNU version of make, also known as gmake - installs in /usr/local.
  安装:
  # gzip –dv make-3.80-sol8-sparc-local.gz
  pkgadd –d make-3.80-sol8-sparc-local

  2、其它的与GFTP相关软件包
  (1)gtk+-1.2.10-sol8-sparc-local.gz
  安装:
  # gzip –dv gtk+-1.2.10-sol8-sparc-local.gz
  # pkgadd –d gtk+-1.2.10-sol8-sparc-local
  (2)glib-1.2.10-sol8-sparc-local.gz
  安装:
  # gzip –dv glib-1.2.10-sol8-sparc-local.gz
  # pkgadd –d glib-1.2.10-sol8-sparc-local
  (3)openssl-0.9.6i-sol8-sparc-local.gz
  安装:
  # gzip –dv openssl-0.9.6i-sol8-sparc-local.gz
  # pkgadd –d openssl-0.9.6i-sol8-sparc-local
  (4)readline-5.0-sol8-sparc-local.gz
  安装:
  # gzip –dv readline-5.0-sol8-sparc-local.gz
  #pkgadd –d readline-5.0-sol8-sparc-local
  (5)ncurses-5.4-sol8-sparc-local.gz
  安装:
  # gzip –dv ncurses-5.4-sol8-sparc-local.gz
  #pkgadd –d ncurses-5.4-sol8-sparc-local
  3、哎呀,做好这么多工作才可以接着往下做啊。
  gftp-2.0.18rc1-sol8-sparc-local.gz
  安装:
  # gzip –dv gftp-2.0.18rc1-sol8-sparc-local.gz
  #pkgadd –d gftp-2.0.18rc1-sol8-sparc-local

  二、环境变量的设置

  安装好gcc、make和gftp等常用软件后,一般gcc、make和gftp等不在用户的默认路径里,所以为了系统能够找到gcc和make等,就需要把gcc、make和gftp等包含到用户工作路径中。
  超级用户的PATH(在/.profile中定义的)设置为
  PATH=/bin:/sbin:/usr/bin:/usr/sbin:/etc:/usr/local/bin:/usr/ccs/bin
  export PATH
  普通用户可以将以上内容写在用户初始文件中:
  对csh用户: 写在用户主目录下的.cshrc文件中
  对sh用户:写在用户主目录下的.profile文件中

  三、使用方法

  1、图形界面的命令:gftp-gtk
  2、非图形界面的命令:gftp 或 gftp-text
  # gftp-text
  gFTP 2.0.18rc1, Copyright (C) 1998-2003 Brian Masney <masneyb@gftp.org>. If you have any questions, comments, or suggestions about this program,please feel free to email them to me. You can always find out the latest news about gFTP from my website at http://www.gftp.org/
  gFTP comes with ABSOLUTELY NO WARRANTY; for details, see the COPYING file. This is free software, and you are welcome to redistribute it under certain conditions; for details, see the COPYING file
  ftp>
  3、格式:
  # gftp --help
  usage: gftp [[protocol://][user[:pass]@]site[:port][/directory]]

  四、说明

  上面使用的所有软件包都是已经编译好的二进制软件,可以非常容易地安装到机器上,对于初学者或许有点难度,但是对于有一定基础的系统管理员来说,还是很容易安装的,如果你喜欢这个小软件的话可以试试啊,如果遇到问题可以一起探讨。我已经安装在机器上了,好用的。

图片内容