Chinaunix首页 | 论坛 | 博客
  • 博客访问: 520520
  • 博文数量: 181
  • 博客积分: 3915
  • 博客等级: 中校
  • 技术积分: 1920
  • 用 户 组: 普通用户
  • 注册时间: 2005-07-26 16:44
文章分类

全部博文(181)

文章存档

2015年(1)

2011年(6)

2007年(28)

2006年(28)

2005年(118)

分类:

2005-08-04 22:08:49

作为一个基本的系统,而且安装大型的软件,尤其需要一些基础的工具包。

下面将详细说明如何安装这些软件包,为安装postfix做准备,而且也检查一下常用的工具软件是否具备。
Download url:

1.autoconf-2.57-sol9-sparc-local.gz
2.libgcc-3.3-sol9-sparc-local.gz
3.automake-1.7.2-sol9-sparc-local.gz
4.libiconv-1.8-sol9-sparc-local.gz
5.bison-1.75-sol9-sparc-local.gz
6.m4-1.4-sol9-sparc-local.gz
7.make-3.80-sol9-sparc-local.gz
8.flex-2.5.4a-sol9-sparc-local.gz
9.ncurses-5.3-sol9-sparc-local.gz
10.gcc-2.95.3-sol8-sparc-local.gz //一定要是用这个版本,否则编译mysql出错
11.nessus-2.0.9-sol9-sparc-local.gz
12.glib-2.2.3-sol9-sparc-local.gz
13.tar-1.13.19-sol9-sparc-local.gz
14.grep-2.5-sol9-sparc-local.gz
15.wget-1.9.1-sol9-sparc-local.gz
16.less-381-sol9-sparc-local.gz
17.zlib-1.2.1-sol9-sparc-local.gz
18.sed-4.0-sol9-sparc-local.gz
19.gzip-1.3.5-sol9-sparc-local
20.gdb-6.0-sol9-sparc-local.gz
21.libtool-1.5-sol9-sparc-local.gz
22.top-3.5beta12.5-sol9-sparc-local.gz
23.db-1.85-sol9-sparc-local.gz

_________________
※※※※※※※※※※※※※※※※※※※※
携手同行

 

作为一个基本的系统,而且安装大型的软件,尤其需要一些基础的工具包。

下面将详细说明如何安装这些软件包,为安装postfix做准备,而且也检查一下常用的工具软件是否具备。

# pkginfo | grep autoconf
# pkginfo | grep automake
# pwd
/export/home/davidji
# cd softs/
# ls
autoconf-2.57-sol9-sparc-local.gz automake-1.7.2-sol9-sparc-local.gz
# gunzip autoconf-2.57-sol9-sparc-local.gz
# ls
autoconf-2.57-sol9-sparc-local automake-1.7.2-sol9-sparc-local.gz
# ls -L
autoconf-2.57-sol9-sparc-local automake-1.7.2-sol9-sparc-local.gz
# ls -l
total 9328
-rw-r--r-- 1 davidji root 4264448 Aug 4 21:22 autoconf-2.57-sol9-sparc-local
-rw-r--r-- 1 davidji root 483350 Aug 4 21:22 automake-1.7.2-sol9-sparc-local.gz
# pkgadd -d autoconf-2.57-sol9-sparc-local

The following packages are available:
1 SMCautoc autoconf
(sparc) 2.57

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
。。。。
Installation of was successful.

# gunzip automake-1.7.2-sol9-sparc-local.gz
# pkgadd -d automake-1.7.2-sol9-sparc-local

# pkginfo | grep auto
application SMCautoc autoconf
application SMCautom automake
#

# pkginfo | grep bison
# gunzip bison-1.75-sol9-sparc-local.gz
# pkgadd -d bison-1.75-sol9-sparc-local

# pkginfo | grep bzip
system SUNWbzip The bzip compression utility
system SUNWbzipx The bzip compression library (64-bit)
# gunzip bzip2-1.0.2-sol9-sparc-local.gz
# pkgadd -d bzip2-1.0.2-sol9-sparc-local

The following packages are available:
1 SMCbzip2 bzip2
(sparc) 1.0.2
Installation of was successful.
# pkginfo | grep db
system FJSVmdb Fujitsu Platform Modular Debugger
system FJSVmdbx Fujitsu Platform Modular Debugger (64-bit)
system SUNWmdb Modular Debugger
system SUNWmdbdm Modular Debugger Demo Source
system SUNWmdbx Modular Debugger (64-bit)
# gunzip db-1.85-sol9-sparc-local.gz
# pkgadd -d db-1.85-sol9-sparc-local

The following packages are available:
1 SMCdb db
(sparc) 1.85

Installation of was successful.
# pkginfo | grep db
system FJSVmdb Fujitsu Platform Modular Debugger
system FJSVmdbx Fujitsu Platform Modular Debugger (64-bit)
application SMCdb db
system SUNWmdb Modular Debugger
system SUNWmdbdm Modular Debugger Demo Source
system SUNWmdbx Modular Debugger (64-bit)

# pkginfo | grep flex
# gunzip flex-2.5.4a-sol9-sparc-local.gz
# pkgadd -d flex-2.5.4a-sol9-sparc-local

The following packages are available:
1 SMCflex flex
(sparc) 2.5.4a

Installation of was successful.
# pkginfo | grep gcc
# pkginfo | grep gdb
# pkginfo | grep glib
# pkginfo | grep grep
system SUNWggrp ggrep - GNU grep utilities
# pkginfo | grep gzip
system SUNWgzip The GNU Zip (gzip) compression utility
#
# gunzip gcc-2.95.3-sol8-sparc-local.gz
# gunzip gdb
gdb-6.0-sol9-sparc-local.gz gdbm-1.8.3-sol9-sparc-local.gz
# gunzip gdb-6.0-sol9-sparc-local.gz
# gunzip gdbm-1.8.3-sol9-sparc-local.gz
# gunzip glib
gunzip: glib.gz: No such file or directory
# gunzip glib-2.2.3-sol9-sparc-local.gz
# pkgadd -d gcc-2.95.3-sol8-sparc-local

The following packages are available:
1 SMCgcc gcc
(sparc) 2.95.3

Installation of was successful.
# pkgadd -d gdb-6.0-sol9-sparc-local

The following packages are available:
1 SMCgdb gdb
(sparc) 6.0

Installation of was successful.
# pkgadd -d gdbm-1.8.3-sol9-sparc-local

The following packages are available:
1 SMCgdbm gdbm
(sparc) 1.8.3

Installation of was successful.
# pkgadd -d gdbm-1.8.3-sol9-sparc-local

The following packages are available:
1 SMCgdbm gdbm
(sparc) 1.8.3

Installation of was successful.
# pkginfo | grep less
system SUNWless The GNU pager (less)
# pkginfo | grep lib
application SMCglib glib
system SUNWGlib GLIB - Library of useful routines for C programming
system SUNWTiff libtiff - library for reading and writing TIFF
system SUNWadmc System administration core libraries
system SUNWbtoox CCS libraries bundled with SunOS (64-bit)
system SUNWbzipx The bzip compression library (64-bit)
system SUNWcpcu CPU Performance Counter libraries and utilities
system SUNWcpcux CPU Performance Counter libraries and utilities (64-bit)
system SUNWlibC Sun Workshop Compilers Bundled libC
system SUNWlibCf SunSoft WorkShop Bundled libC (cfront version)
system SUNWlibCx Sun WorkShop Bundled 64-bit libC
system SUNWlibm Forte Developer Bundled libm
system SUNWlibms Forte Developer Bundled shared libm
system SUNWluxox Sun Enterprise Network Array libraries (64-bit)
system SUNWlxml The XML library
system SUNWlxmlx The XML library (64-bit)
system SUNWpng PNG - Portable Network Graphics library
application SUNWrtvcl SunVideo XIL library support
system SUNWsprox Sun WorkShop Bundled 64-bit make library
system SUNWtltkx ToolTalk library (64-bit)
system SUNWucbt Apptrace support objects for ucblib
system SUNWucbtx Apptrace support objects for ucblib (64-bit)
system SUNWzlib The Zip compression library
system SUNWzlibx The Zip compression library (64-bit)

# gunzip libgcc-3.3-sol9-sparc-local.gz
# gunzip libiconv-1.8-sol9-sparc-local.gz
# gunzip libtool-1.5-sol9-sparc-local.gz
# pkgadd -d libgcc-3.3-sol9-sparc-local

The following packages are available:
1 SMClibgcc lgcc
(sparc) 3.3

Installation of was successful.
# pkgadd -d libiconv-1.8-sol9-sparc-local

The following packages are available:
1 SMCiconv libiconv
(sparc) 1.8

Installation of was successful.
# pkgadd -d libtool-1.5-sol9-sparc-local

The following packages are available:
1 SMClibtool libtool
(sparc) 1.5
# pkginfo | grep m4
# gunzip m4-1.4-sol9-sparc-local.gz
# pkgadd -d m4-1.4-sol9-sparc-local

The following packages are available:
1 SMCm4 m4
(sparc) 1.4
Installation of was successful.
# pkginfo | grep ness
# gunzip nessus-2.0.9-sol9-sparc-local.gz
# pkgadd -d nessus-2.0.9-sol9-sparc-local

The following packages are available:
1 SMCnessus nessus
(sparc) 2.0.9

# pkginfo | grep post
# pkginfo | grep sed
# pkginfo | grep tar
system SUNWgtar gtar - GNU tar
system SUNWllcr LLC2 driver configuration and startup files
system SUNWwsr2 Solaris Product Registry & Web Start runtime support
# tar
Usage: tar {txruc@}[vfbFXhiBEelmopwnq[0-7]] [-k size] [tapefile] [blocksize] [exclude-file] [-I include-file] files ...

上面的提示证明了系统已经安装好了 tar。

#
# gnuzip postfix-19991231-pl02.tar.gz
bash: gnuzip: command not found
机械了,糊涂了,居然写成 gnuzip了,原来还错了,是 gunzip才对;天!

# gunzip postfix-19991231-pl02.tar.gz
# gunzip sed-4.0-sol9-sparc-local.gz
# pkgadd -d postfix-19991231-pl02.tar
pkgadd: ERROR: attempt to process datastream failed
- bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from
这个是什么错误啊???
怎么回事?
愚昧的家伙,果然是机械了吧,这个不是SOL软件包,是 代码包啊!!疯了疯了!

# pkgadd -d sed-4.0-sol9-sparc-local

The following packages are available:
1 SMCsed sed
(sparc) 4.0

Installation of was successful.
# pkginfo | grep top
system SUNWdtcor Solaris Desktop /usr/dt filesystem anchor
system SUNWeuodf UTF-8 Core OPENLOOK Desktop Files
# top
bash: top: command not found
# pkginfo | grep wget
system SUNWwgetr GNU wget - utility to retrieve files from the World Wide Web (root)
system SUNWwgetu wget - GNU wget
# wget
bash: wget: command not found
# pkginfo | grep zlib
system SUNWzlib The Zip compression library
system SUNWzlibx The Zip compression library (64-bit)
# gunzip top-3.5.1-sol9-sparc-local.gz
# gunzip wget-1.9.1-sol9-sparc-local.gz
# pkgadd -d top-3.5.1-sol9-sparc-local

The following packages are available:
1 SMCtop top
(sparc) 3.5.1

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

Installation of was successful.
# pkgadd -d wget-1.9.1-sol9-sparc-local

The following packages are available:
1 SMCwget wget
(sparc) 1.9.1

# pkginfo | grep tcp
system SUNWtcpd tcpd - access control facility for internet services
# gunzip tcp
tcp_wrappers-7.6-sol9-sparc-local.gz tcpdump-3.8.3-sol9-sparc-local.gz
# gunzip tcp_wrappers-7.6-sol9-sparc-local.gz
# gunzip tcpdump-3.8.3-sol9-sparc-local.gz
# pkgadd -d tcp_wrappers-7.6-sol9-sparc-local

The following packages are available:
1 SMCtcpdwr tcp_wrappers
(sparc) 7.6
Installation of was successful.
# pkgadd -d tcpdump-3.8.3-sol9-sparc-local

The following packages are available:
1 SMCtcpd tcpdump
(sparc) 3.8.3

Installation of was successful.
# pkginfo | grep trace
system SUNWcstl Apptrace Utility
system SUNWcstlx Apptrace Utility (64-bit)
system SUNWpstl Platform specific apptrace support
system SUNWpstlx Platform specific apptrace support (64-bit)
system SUNWucbt Apptrace support objects for ucblib
system SUNWucbtx Apptrace support objects for ucblib (64-bit)
# pkginfo | grep traceroute
# traceroute
Usage: traceroute [-adFIlnSvx] [-A address_family] [-c traffic_class]
[-f first_hop] [-g gateway [-g gateway ...]| -r] [-i iface]
[-L flow_label] [-m max_hop] [-P pause_sec] [-p port] [-Q max_timeout]
[-q nqueries] [-s src_addr] [-t tos] [-w wait_time] host [packetlen]
哈哈,traceroute已经安装好了,省得麻烦了。

# clear
_________________
※※※※※※※※※※※※※※※※※※※※
携手同行

阅读(1036) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~