Operating System - HP-UX
1844096 Members
2427 Online
110227 Solutions
New Discussion

Re: questions from beginner

 
SOLVED
Go to solution
sam kim_1
Frequent Advisor

questions from beginner

Q1) how to install a network printer (on hpux 11.x server box) - pls, step by step (example : # ls > # cd /home > .....)

Q2) how to install a wordprocessing application (on hpux box) - can i download something from internet/netscape then install .... ?! (pls, step by step too)

Q3)i am installing hpux 11.x (on a test server). during the installation (in very early stage), it asked me 'interact with IPL (y or n) ?' i dont know exactly what it means and if i said 'y' then it promped me 'ISL>' then i dont know what to next ?

Q4)what is different between single usermode and multi usermode, and how to go there each mode ?

Q5)how to unzip a tar file (example: vhpx4041_tar.Z) and what is the difference between 2 commands that
'tar xvf ./vhpx4041_tar.Z' and
'zcat vhpx4041_tar.Z | tar -xf -' did i type right??

sorry, too many q's!!
9 REPLIES 9
Victor BERRIDGE
Honored Contributor

Re: questions from beginner

Q1) you need to install jetadmin utility before to declare a network printer
Q3) interact with IPL is there to let you choose different things you can do at boot, such as search for another boot device...
You should have answered N ....
Q4) in single user only you at the console can b connected to the box (no network, no...)
Stefan Farrelly
Honored Contributor
Solution

Re: questions from beginner


your right, lots of questions! probably better next time to ask each individually. However, I will have a go at answering them;

Q1) To install a network printer ensure you have a product installed called JerAdmin (swlist -l bundle will show if its installed). If not install it from your HPUX Applications CDs (its on one of them). Now when you install a network printer from SAM it will fire up a window running jetadmin to install a network printer (just type in its IP, give it a name, pick a model, DONE).

Q2) HP doesnt really have a word processing application of its own to offer. Other companies offer some; FrameMaker from Adobe, WordPerfect, Applix Words, Lotus Amipro.

Q3) Only answer Y to the question Interact with IPL if you want to boot your HP server in a different way - ie. to single user mode (to do some maintenance) or lvm maintenance mode (if your having problems) etc. Answer N and it will boot normally.

Q4) single-user mode means no users can connect to the server, so if you need to do some maintenance on say a database or filesystem you will need to ensure the users cant get on, use single-user mode. Multui-user mode means all the users are allowed to logon/connect to the server (ie. databases are up etc.)

Q5) to unzip a file called xxx_tar.Z do> uncompress xxx_tar.Z This will create a file called xxx_tar which you can then extract by doing> tar xvf xxx_tar
tar xvf xxx_tar.Z will not work because the file is still compressed, whereas the command zcat xxx_tar.Z | tar xf - will work because it uses zcat to uncompress the archive first, then uses tar to extract it.
Im from Palmerston North, New Zealand, but somehow ended up in London...
CHRIS_ANORUO
Honored Contributor

Re: questions from beginner

Sam, this link will help you immensely.
http://docs.hp.com/hpux/os/
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Victor BERRIDGE
Honored Contributor

Re: questions from beginner

Q5) 1rst one will not work, you need to uncompress bfore
2nd does the uncompress and the result is inputed to tar cmd =>this will work
Rita C Workman
Honored Contributor

Re: questions from beginner

Sam...First break this up into different postings...way too much for one. You may get better repsonses that way. I will try to answer Q4 (since it's fairly quick and easy).
Q4-What is single & multi user.
Answer- Each mode is a reflection of the init status you are in. i.e. Single User mode is just that-only 1 single user (root). This mode is at init 1 and when it comes up you have to manually mount the majority of vg00 (operating system) file systems. In this mode you have the system secured to root only...and at the console you can then perform whatever changes to vg00 you need to do. Since most o/s file systems are not mounted you come up with limited command line capability...you have to manually mount certain filesystems to give the ability to perform commands (..like bdf...).
Now Multi User mode, I would describe as the system being brought up completely. Generally, that would be init 3. This means that all filesystems defined in /etc/fstab are mounted (and if it's Service Guarded...this would have been performed) and any applications you have set up to start within your startup options (be it in the /etc/inittab or if you've set up something in /etc/rc.config.d/rc.3 commands) will have been performed and be ready for users to login and begin working.

How do I get to different modes:
If your completely up and want to go to single user you could:
First....remember to tell users to get out of system.

1. At the command line as root enter: shutdown -ry 0
This would reboot the system and you would then have to interupt the boot process
at the console and enter: bo pri isl
Enter at the prompt ISL> hpux -is YOU ARE NOW IN SINGLE USER

2. Or you could from the multi user mode just type: shutdown

To get from single user mode to multi user mode you could:

1. Just type: init 3 And it should then enact the steps to get you to multi user.
2. Just type: shutdown -ry 0 And it will reboot the box immediately and bring you back up to multi user. This later one is (..I have been told..) the preferred method.
Rick Garland
Honored Contributor

Re: questions from beginner

Q1) The use of jetadmin software will assist you in loading a network printer. It is a no-cost product. As to step by step, once installed input the command 'jetadmin' and follow the prompts.
Q2) Wordprocessing applications for HP-UX - Coral WordPerfect is one product. This is a cost product. StarOffice is not available for HP-UX.
Q3) The ISL is the Initial System Loader. If you are wanting to go into regular multiuser mode, you probably do not want to interact with the ISL. This depends on the system setup.
Q4) Singler-user mode is just that, a single-user can access the system, from the console, typically the root user. Filesystems are not mounted, services such as networking are not started, etc...
Q5) The difference between the two tar files is that the second is operating on a compressed file. In using the example you provided, must first uncompress the file. This is what the .Z is telling you - the file is compressed. Once uncompressed you can un-tar the file. Be careful of absolute pathing with the tarball.
Rita C Workman
Honored Contributor

Re: questions from beginner

Just wanted to mention that some folks answered all your questions...any chance you might give them some points....??
sam kim_1
Frequent Advisor

Re: questions from beginner

sorry, guys!
i had a pc problem!
thanks for the help and assigning points now!

[ps: from your suggestions -
Q5 = perfectly understood and is working now!
Q4 = perfectly understood!
Q3 = perfectly understood!

Q2 = perfectly understood,
but either i have to but one or
MAYBE I CAN DOWNLOAD FROM INTERNET FOR
THE TEST PURPOSE ???
Q1 = still not quite sure that
1) how to check whether i have jetdirect
already on this system
(i tried to check with this command
'#swlist -l' but the result was 'option
requires an argument --l .....'. i
tried several options including #swlist
-v /, etc. but nothing shows up swlist.
2) or how to check from a CD(hpux 11.x)
that i have
3) or where i can buy this product(CD?)

-------------------------------------
anyway, i appreciate for your help!!
alberto vasquez
Trusted Contributor

Re: questions from beginner

Q4) There is an other way to boot in single-user mode, it is to interrupt the boot process.

The steps:

- Interrupt the boot process:
Hit any key when the following message appears:

Booting from primary path, press any key to override

-> then press any key

- Boot from primary path and interact with isl:
At the menu, type:

on D,E, and K SERIES ONLY:
-> boot pri isl
-> And answer "y" to Interact with ISL ?

on ALL NON-D,E,K,T,V 800 SERIES:
-> Answer "y" to boot from primary path ?
-> And Answer "y' to: Interact with IPL ?

- Enter boot command
At the ISL prompt type:

-> hpux -is

This will give you a # prompt and you will be in single-user mode, only / and /stand will be mounted but you can use commands under /sbin if you can't mount /usr.