Solaris Notes: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
No edit summary |
|||
Line 36: | Line 36: | ||
SUNWdoc | SUNWdoc | ||
SUNWman | SUNWman | ||
Getting sshd setup from a core build: | |||
pkgadd -d . SUNWsshcu SUNWsshdr SUNWsshdu SUNWsshr SUNWsshu | |||
<pre> | |||
system SUNWsshcu SSH Common, (Usr) | |||
system SUNWsshdr SSH Server, (Root) | |||
system SUNWsshdu SSH Server, (Usr) | |||
system SUNWsshr SSH Client and utilities, (Root) | |||
system SUNWsshu SSH Client and utilities, (Usr) | |||
</pre> | |||
create host keys: | |||
/lib/svc/method/sshd -c | |||
enable service: | |||
svcadm enable network/ssh:default | |||
Test: | |||
ssh localhost | |||
Other | Other |
Revision as of 20:27, 28 April 2011
Context: Solaris 10
Examining the files of a package that's not install yet:
pkgchk -d SMSmon -l SMSmon
What package owns file X
pkgchk -l -p /usr/bin/bash
Interface unvwmare: use e1000 devices, it works why not vxnet3?
create hostname file
/etc/hostname.e1000g0
externalname.domain.com
/etc/hostname.e1000g0
internalname.domain.com
plumb bum!
ifconfig e1000g0 plumb ifconfig e1000g0 plumb
Watching the machine start
http://www.sun.com/bigadmin/content/selfheal/smf-quickstart.jsp
at the ok prompt:
boot -m verbose
Packages of note
SUNW:
SUNWdoc SUNWman
Getting sshd setup from a core build:
pkgadd -d . SUNWsshcu SUNWsshdr SUNWsshdu SUNWsshr SUNWsshu
system SUNWsshcu SSH Common, (Usr) system SUNWsshdr SSH Server, (Root) system SUNWsshdu SSH Server, (Usr) system SUNWsshr SSH Client and utilities, (Root) system SUNWsshu SSH Client and utilities, (Usr)
create host keys:
/lib/svc/method/sshd -c
enable service:
svcadm enable network/ssh:default
Test:
ssh localhost
Other
- that
- this
- lsof
ZFS
http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide