Solaris

来自开放百科 - 灰狐
(重定向自Solaris (operating system)
跳转到: 导航, 搜索
Logo solaris.gif
Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Solaris Thanks, Wikipedia.

Solaris是Sun公司开发和发布的企业级操作环境,有运行于Intel平台的Solaris x86系统,也有运行于SPARC CPU结构的系统。它起源于BSD Unix,但逐渐转移到了System Ⅴ标准。在服务器市场上,Sun的硬件平台具有高可用性和高可靠性,Solaris是当今市场上处于支配地位的Unix类操作系统。目前比较流行的运行于x86架构的计算机上的Solaris有Solaris 8 x86和Solaris 9 x86两个版本。当然Solaris x86也可以用于实际生产应用的服务器。

solaris-ready.gif - Solaris Ready Applications and Solutions

Solaris-logo.jpg 目前已经开放源代码,并创立了 OpenSolaris 项目。

目录

支持的系统架构

Solaris支持多种系统架构: SPARC, x86 and x64. x64即AMD64及EMT64处理器。在版本2.5.1的时候,Solaris曾经一度被移植到PowerPC架构, 但是后来又在这一版本正式发布时被删去。与Linux相比,Solaris可以更有效地支持对称多处理器、即SMP架构。Sun同时宣布将在Solaris 10的后续版本中提供Linux运行环境, 允许Linux二进制程序直接在Solaris x86和x64系统上运行。

Solaris传统上与基于Sun SPARC处理器的硬件体系结构结合紧密, 在设计上和市场上经常捆绑在一起,整个软硬件系统的可靠性和性能也因此大大增强。然而SPARC系统的成本和价格通常要高于PC类的产品,这成为 Solaris进一步普及的障碍。可喜的是,Solaris对x86体系结构的支持正得到大大加强,特别是Solaris 10已经能很好地支持x64(AMD64/EMT64)架构。Sun公司已推出自行设计的基于AMD64的工作站和服务器,并随机附带Solaris 10。

Solaris 10

  • 配置联网

1. 创建/etc/resolv.conf文件,添加DNS服务器

vi /etc/resolv.conf
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

2. 编辑/etc/nsswitch.conf文件,将hosts: files修改成:hosts: files dns 3. 创建/etc/defaultrouter文件

vi /etc/defaultrouter,在里面加入网关地址。
如:192.168.1.1 

然后重新启动计算机。

创建/删除用户

#groupadd –g 100 huihoo
#useradd –u 100 –g huihoo –d /export/home/allen –c "huihoo user" –m –s /usr/bin/sh allen  
#passwd allen
#userdel allen

安装Adobe Flash Player

下载 install_flash_player_7_solaris_x86.tar.gz
$gunzip install_flash_player_7_solaris_x86.tar.gz
$tar xvf install_flash_player_7_solaris_x86.tar
#cp libflashplayer.so /usr/sfw/lib/mozilla/plugins
#chmod 777 libflashplayer.so
restart mozilla

安装 wget

ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/wget-1.10.2-sol10-sparc-local.gz // space
ftp://ftp.sunfreeware.com/pub/freeware/intel/10/wget-1.10.2-sol10-x86-local.gz   // x86
#gzip -d ./wget-1.10.2-sol10-sparc-local.gz
#pkgadd -d ./wget-1.10.2-sol10-sparc-local
/usr/local/bin/wget http://download.huihoo.com/tools/sun-studio/studio11-sol-x86.tar.bz2

change hostname

1. Set the hostname in the /etc/hosts file as follows:

127.0.0.1 localhost 
192.168.1.5 solaris10 loghost

2. Ensure that your hostname is listed in the /etc/nodename file. This file must also contain the following line:

solaris10

3. Add the following entry to the /etc/inet/ipnodes file:

127.0.0.1 localhost 
192.168.1.5 solaris10 loghost

then reboot the server or

/etc/init.d/inetsvc stop
/etc/init.d/inetsvc start

或 #sys-unconfig // 重启系统并重新配置

Commands

Process

  • ps -ef
  • prstat
  • /usr/ucb/ps axu
  • pstack pid
  • pmap -x pid
  • pfiles pid
  • psig $$
  • pldd $$
  • pflags $$
  • pcred $$
  • pargs -ae pid
  • pwdx pid
  • plockstat -p pid
  • truss -p pid


Major Component

Solaris 10 Release

安装指南

链接

文档

下载

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱