solaris 10 and a few basic questions


 
Thread Tools Search this Thread
Operating Systems Solaris solaris 10 and a few basic questions
# 8  
Old 07-16-2009
Quote:
Originally Posted by jlliagre
You didn't choose "basic installation" as there is no such choice.
You choose a very minimal installation, either core or reduced network.
Should you have selected "end user" or better clusters, ssh would have been included.
yes, you're right. I forgot how the option was called.

Quote:
Originally Posted by jlliagre
You might fix your installation by manually mounting your installation media and installing the missing packages but that would be quite a burden. The easiest way would be, as already suggested, to reinstall from scratch and select full install.
I wouldn't have a problem installng the missing packages. I've allready went the same way on another machine. but there it was clear which device the DVD is. on this installation I have no clue to find out which dev I have to mount to get access to the install medium. thats all! which packages I need then, I do know.

but maybe I can upload the packages and do a
Code:
pkgadd -d http://URI

?
I will try tomorrow...
# 9  
Old 07-16-2009
Quote:
I wouldn't have a problem installng the missing packages.
You might underestimate the dependency nightmare that usually result from such an approach. Unlike the other packaging tools you are probably more familiar with, SVR4 pkgadd doesn't automatically handle dependencies. It just complains when a required package is missing.
Quote:
I've allready went the same way on another machine. but there it was clear which device the DVD is. on this installation I have no clue to find out which dev I have to mount to get access to the install medium. thats all!
Your DVD is one of the /dev/dsk/c*s0

Just write a script that mounts all possible devices and one should succeed. eg:
Code:
#!/bin/ksh
devfsadm -v
for dev in /dev/dsk/c*s0
do
  mnt=/tmp/$(basename $dev)
  mkdir $mnt
  mount -F hsfs -ro $dev $mnt
done
df -k | grep /tmp

Edit:

There are certainly less "brute force" ways to identify what devices are there on a Solaris. One I'm thinking of is simply running:
Code:
iostat -xnE


Last edited by jlliagre; 07-16-2009 at 07:53 PM..
# 10  
Old 07-16-2009
Quote:
Originally Posted by jlliagre
You might underestimate the dependency nightmare that usually result from such an approach. Unlike the other packaging tools you are probably more familiar with, SVR4 pkgadd doesn't automatically handle dependencies. It just complains when a required package is missing.
I see!

Quote:
Originally Posted by jlliagre
Code:
#!/bin/ksh
devfsadm -v
for dev in /dev/dsk/c*s0
do
  mnt=/tmp/$(basename $dev)
  mkdir $mnt
  mount -F hsfs -ro $dev $mnt
done
df -k | grep /tmp

brilliant idea! tanks! Smilie
# 11  
Old 07-16-2009
Reposting what I appended to my previous reply as we crossposted:

There are certainly less "brute force" ways to identify what devices are there on Solaris. One I'm thinking of is simply running:
Code:
iostat -xnE

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

some basic questions about unix ..

Hi all today i gone through worst interview of my life that for hour questions were so basic but i never though about them now i am figuring out answers my self but i would appreciate if you ppl help me ... i am listing some of the questions i remember .. 1 ) $ cat a.sh #! /usr/bin/ksh... (4 Replies)
Discussion started by: zedex
4 Replies

2. UNIX for Dummies Questions & Answers

hp-ux basic questions

I have multiple questions How to list or find only Nov month's files? How can I get state of process like running, stop, or sleep etc? How can I check dependences of processes? plz ans any if u can thx regards, Mazhar Hussain (3 Replies)
Discussion started by: mazhar99
3 Replies

3. UNIX for Dummies Questions & Answers

Basic variable questions

when you see something like this export SOMEDATA=.:/somedir/files what does the ".:" mean? I think the the "." alone would mean current directory but the ":" together is kind of new to me. (6 Replies)
Discussion started by: NycUnxer
6 Replies

4. UNIX for Dummies Questions & Answers

Basic security questions

Hey guys, I've seen this posted a few times when i searched but I kinda want to know the cleanest way of doing it. On Solaris 8 and Solaris 9 What is the best way to disable telnet ssh1 and remote root login premanently? I've seen posts that say edit /etc/services edit this edit that... (3 Replies)
Discussion started by: kingdbag
3 Replies

5. UNIX for Dummies Questions & Answers

Some basic questions

Hi- Newbie here with some basic questions: 1) I can't get alias to work. I tried alias ll='ls -al', but it doesn't work. When just typing 'alias', the new definition doesn't appear. I'm in a bash shell -- is that the problem. I tried switching to csh, but that didn't seem to help. This... (5 Replies)
Discussion started by: Aworstell
5 Replies

6. UNIX for Dummies Questions & Answers

Basic SFTP questions

I'm trying to find out what all is involved with setting up SFTP? 1) Do Solaris machines come with a SFTP server and client already installed. 2) If so would I have to install SFTP clients on windows, if I want to transfer files to a Solaris box? 3) If SFTP doesn't come prepackaged would I... (1 Reply)
Discussion started by: JohnRodey
1 Replies

7. UNIX for Dummies Questions & Answers

basic UNIX questions

Can somebody please tell me a little about UNIX OS. For instance, is it ideal for digital media or how easy is it to get help and support? (3 Replies)
Discussion started by: buk5d
3 Replies

8. Slackware

Basic networking questions.

Hey, I'm new to Linux. I have a few questions about it. I run Slackware. After the installation the Linux installation had problems with my old hardware (network card, sound card) so I removed them and Linux would start. But now, I can't seem to use the network card in Linux because it's not... (3 Replies)
Discussion started by: RellioN
3 Replies
Login or Register to Ask a Question