Solaris11 How-To
允许root用户使用ftp
- 修改/etc/ftpd/ftpusers文件,移除或注释掉"root"
- 修改/etc/proftpd.conf文件,"RootLogin off" => "RootLogin on"
- 重启ftp服务,svcadm restart ftp
允许root用户使用ssh登录
- 修改/etc/ssh/sshd_config文件,PermitRootLogin no => PermitRootLogin yes
- 修改/etc/default/login文件,去掉"CONSOLE=/dev/console"前的#号
- 将root由角色改成用户:rolemod -K type=normal root
- 重启ssh服务:svcadm restart
查看SRU版本
root@mytest:~# pkg info entire
Name: entire
Summary: entire incorporation including Support Repository Update (Oracle Solaris 11.1.12.5.0).
Description: This package constrains system package versions to the same
build. WARNING: Proper system update and correct package
selection depend on the presence of this incorporation.
Removing this package will result in an unsupported system. For
more information see https://support.oracle.com/CSP/main/article
?cmd=show&type=NOT&doctype=REFERENCE&id=1501435.1.
Category: Meta Packages/Incorporations
State: Installed
Publisher: solaris
Version: 0.5.11 (Oracle Solaris 11.1.12.5.0)
Build Release: 5.11
Branch: 0.175.1.12.0.5.0
Packaging Date: October 9, 2013 02:20:54 PM
Size: 5.46 kB
FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.1.12.0.5.0:20131009T142054Z
检查repository上可安装的system group
root@mytest:~# pkg list -a 'group/system/*'
NAME (PUBLISHER) VERSION IFO
group/system/solaris-auto-install 0.5.11-0.175.1.0.0.24.3 ---
group/system/solaris-desktop 0.5.11-0.175.1.0.0.24.3 ---
group/system/solaris-large-server 0.5.11-0.175.1.0.0.24.3 i--
group/system/solaris-small-server 0.5.11-0.175.1.0.0.24.3 --- root@mytest:~# pkg info -r 'group/system/*'
Name: group/system/solaris-auto-install
Summary: Oracle Solaris Automated Installer Client
Description: Provides an Oracle Solaris Automated Installer client
Category: Meta Packages/Group Packages
State: Not installed
Publisher: solaris
Version: 0.5.11
Build Release: 5.11
Branch: 0.175.1.0.0.24.3
Packaging Date: September 19, 2012 06:53:16 PM
Size: 5.46 kB
FMRI: pkg://solaris/group/system/solaris-auto-install@0.5.11,5.11-0.175.1.0.0.24.3:20120919T185316Z Name: group/system/solaris-desktop
Summary: Oracle Solaris Desktop
Description: Provides an Oracle Solaris desktop environment
Category: Meta Packages/Group Packages
State: Not installed
Publisher: solaris
Version: 0.5.11
Build Release: 5.11
Branch: 0.175.1.0.0.24.3
Packaging Date: September 19, 2012 06:53:17 PM
Size: 5.46 kB
FMRI: pkg://solaris/group/system/solaris-desktop@0.5.11,5.11-0.175.1.0.0.24.3:20120919T185317Z Name: group/system/solaris-large-server
Summary: Oracle Solaris Large Server
Description: Provides an Oracle Solaris large server environment
Category: Meta Packages/Group Packages
State: Installed
Publisher: solaris
Version: 0.5.11
Build Release: 5.11
Branch: 0.175.1.0.0.24.3
Packaging Date: September 19, 2012 06:53:18 PM
Size: 5.46 kB
FMRI: pkg://solaris/group/system/solaris-large-server@0.5.11,5.11-0.175.1.0.0.24.3:20120919T185318Z Name: group/system/solaris-small-server
Summary: Oracle Solaris Small Server
Description: Provides a useful command-line Oracle Solaris environment
Category: Meta Packages/Group Packages
State: Not installed
Publisher: solaris
Version: 0.5.11
Build Release: 5.11
Branch: 0.175.1.0.0.24.3
Packaging Date: September 19, 2012 06:53:18 PM
Size: 5.46 kB
FMRI: pkg://solaris/group/system/solaris-small-server@0.5.11,5.11-0.175.1.0.0.24.3:20120919T185318Z
Package Name | Summary | Description | Default Installation For |
group/system/solaris-desktop | Oracle Solaris Desktop | Provides an Oracle Solaris desktop environment | Live Media |
group/system/solaris-large-server | Oracle Solaris Large Server | Provides an Oracle Solaris large server environment | Text Installer from media/Automated Installer |
group/system/solaris-small-server | Oracle Solaris Small Server | Provides a useful command-line Oracle Solaris environment | Zones |
group/system/solaris-auto-install | Oracle Solaris Automated Installer Client | Provides an Oracle Solaris Automated Installer client | Text Installer from network |
检查当前主机上安装的system group
root@mytest:~# pkg list 'group/system/*'
NAME (PUBLISHER) VERSION IFO
group/system/solaris-large-server 0.5.11-0.175.1.0.0.24.3 i-- root@mytest:~# pkg info 'group/system/*'
Name: group/system/solaris-large-server
Summary: Oracle Solaris Large Server
Description: Provides an Oracle Solaris large server environment
Category: Meta Packages/Group Packages
State: Installed
Publisher: solaris
Version: 0.5.11
Build Release: 5.11
Branch: 0.175.1.0.0.24.3
Packaging Date: September 19, 2012 06:53:18 PM
Size: 5.46 kB
FMRI: pkg://solaris/group/system/solaris-large-server@0.5.11,5.11-0.175.1.0.0.24.3:20120919T185318Z
显示group中包括哪些packages
root@mytest:~# pkg contents -Hro fmri -t depend -a type=group solaris-large-server
archiver/gnu-tar
compress/bzip2
compress/gzip
compress/p7zip
compress/unzip
......
如何查找重命名package的新名称
root@mytest:~# pkg list -af '*/toolkit'
NAME (PUBLISHER) VERSION IFO
developer/dtrace/toolkit 0.99-0.173.0.0.0.1.0 --r
此包已经被重命名。
root@mytest:~# pkg info -r developer/dtrace/toolkit
Name: developer/dtrace/toolkit
Summary:
State: Not installed (Renamed)
Renamed to: pkg:/system/dtrace/dtrace-toolkit@0.99,5.11-0.173.0.0.0.0.0
consolidation/osnet/osnet-incorporation
Publisher: solaris
Version: 0.99
Build Release: 5.11
Branch: 0.173.0.0.0.1.0
Packaging Date: August 26, 2011 02:55:51 PM
Size: 5.45 kB
FMRI: pkg://solaris/developer/dtrace/toolkit@0.99,5.11-0.173.0.0.0.1.0:20110826T145551Z
显示已安装package包含的所有文件
root@mytest:~# pkg contents -t file -o owner,group,mode,pkg.size,path -s path kernel
按path排序
Solaris11 How-To的更多相关文章
- SSH远程SOLARIS11时被拒绝
在虚拟机中新安装的solaris11,安装过程中配置了静态IP地址用以方便ssh连接,使用root用户ssh连接时,密码没有错,但总是提示密码被拒绝,连接established 代表是通的,telne ...
- Solaris11.1网络配置(Fixed Network)
Solaris11的网络配置与Solaris10有很大不同,Solaris11通过network configuration profiles(NCP)来管理网络配置. Solaris11网络配置分为 ...
- Solaris11修改主机名
在Solaris10中,主机名的修改是通过修改相关的配置文件实现的.在Solaris11中,主机名的配置信息已经转移到SMF配置库中,因此修改主机名的方式与Solaris10完全不同.以下是修改Sol ...
- solaris11.2下编译QT-配置命令
1.make 版本为:GNU Make 3.82 2.gcc版本是:3.4.3(pkg install ...) 2.直接./configue是不行的 解决:./configue -platform ...
- Solaris11 Vsphere client tool 的鼠标问题
Mouse does not function on a Solaris 11 virtual machine (2040498) http://kb.vmware.com/selfservice/m ...
- solaris11 format zpool
# format AVAILABLE DISK SELECTIONS:0. c1t0d0 <LSI-MR9261-8i-2.12-557.86GB>/pci@0,0/pci8086,3c0 ...
- DTrace to Troubleshoot Java Native Memory Problems
How to Use DTrace to Troubleshoot Java Native Memory Problems on Oracle Solaris 11 Hands-On Labs of ...
- Unix/Linux环境C编程入门教程(31) 数学函数带你战胜企业面试
1.函数介绍: abs()acos()asin()atan()atan2()ceil()cos()cosh()exp()frexp()ldexp()log()log10()pow()sin()sinh ...
- Unix/Linux环境C编程入门教程(35) 编程管理系统中的组
组管理相关函数介绍 相关函数 getgid,setgid,setregid 表头文件 #include<unistd.h> #include<sys/types.h> 定 ...
随机推荐
- Yum 命令语法
一.Yum 命令格式: yum <options> <command><package...> 二.参数说明 1.options: 1)-y:如果在工作过程中如要使 ...
- JavaScript 正则表达收集整理
JavaScript 正则表达收集整理 //可为空 /^\s*$/ //密码验证,必须且只含有数字和字母,可以拥有英文符号,6-17位 /(?=.{,})(?=.*\d)(?=.*[a-z])[\x2 ...
- css3表格样式
<caption> 关于表格存储内容的描述或总结. 1.border-spacing:0;border-spacing 属性设置相邻单元格的边框间的距离(仅用于“边框分离”模式). 2. ...
- php如何查看扩展是否开启
php如何查看扩展是否开启 一.总结 一句话总结:php -m 1.查看php已安装扩展命令 ? php -m 2.phpinfo();这是最常用的方法,但那么多扩展一时还真不太好找.? 3.exte ...
- Unity3d 异常与解决方案集合(持续)
1:更新完unity的5.3.1 版本 后,打开SimpleFrameworld_UGUI 后出现 error CS0117: 'System.IO.Directory' does not conta ...
- 262. Trips and Users
问题描述 解决方案 -- case when 的效率比if的效率高 -- select Trips.Request_at as 'Day', -- round(sum(case Trips.Statu ...
- XSS 跨站攻击
未整理完 介绍 XSS (Cross site Scripting),跨站脚本攻击,为了区分层叠样式表css,所以叫了XSS. 对于跨站脚本攻击,黑客界共识是:跨站脚本攻击是新型的"缓冲区溢 ...
- 深度学习—BN的理解(一)
0.问题 机器学习领域有个很重要的假设:IID独立同分布假设,就是假设训练数据和测试数据是满足相同分布的,这是通过训练数据获得的模型能够在测试集获得好的效果的一个基本保障.那BatchNorm的作用是 ...
- 【Oracle】实现Oracle数据库对象的一键升级
引言 公司内部的项目比较倾向于将业务逻辑放在oracle存储过程中实现,所以每次项目升级都涉及到很多的oracle表,存储过程等数据库对象的升级.然而采取的升级方式是比较"原始&qu ...
- New Concept English three (51)
22 76 Predicting the future is notoriously difficult. Who could have imagined, in the mid 1970s, for ...