Unix Technical Forum

diff "linux" hpux

This is a discussion on diff "linux" hpux within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hi, I've never used HPUX before but am fairly strong in various Linux distros and have some Solaris experience ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 08:06 PM
usenet@kikobu.com
 
Posts: n/a
Default diff "linux" hpux


Hi,

I've never used HPUX before but am fairly strong in various Linux
distros and have some Solaris experience also.

I'll be doing some installations on an HPUX system sometime next week,
and I'm curious if there's anything I should particular careful about?

I will need to add a startup script, for RedHat Linux this is in
/etc/init.d and I link from the rc3 runlevel directory. Is the approach
somewhat the same on HPUX?

Thanks,

Morten

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 08:06 PM
Kevin Collins
 
Posts: n/a
Default Re: diff "linux" hpux

In article <1114092776.536270.295380@f14g2000cwb.googlegroups .com>,
usenet@kikobu.com wrote:
>
> Hi,
>
> I've never used HPUX before but am fairly strong in various Linux
> distros and have some Solaris experience also.
>
> I'll be doing some installations on an HPUX system sometime next week,
> and I'm curious if there's anything I should particular careful about?
>
> I will need to add a startup script, for RedHat Linux this is in
> /etc/init.d and I link from the rc3 runlevel directory. Is the approach
> somewhat the same on HPUX?
>


On HP-UX, the init directory is /sbin/init.d and the run-level links are
/sbin/rcN.d (i.e., /sbin/rc3.d). Configuration for init scripts goes in
/etc/rc.config.d as opposed to /etc/sysconfig on Linux.

Also, HP-UX runs "thru" run-levels, whereas Linux "jumps" run-levels. In other
words, to get to run-level 3, you 1st go thru run-level 1 and 2...

Otherwise, its pretty similar.

Kevin
--
Unix Guy Consulting, LLC
Unix and Linux Automation, Shell, Perl and CGI scripting
http://www.unix-guy.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 08:06 PM
John Kelly
 
Posts: n/a
Default Re: diff "linux" hpux

Kevin Collins wrote:
> On HP-UX, the init directory is /sbin/init.d and the run-level links are
> /sbin/rcN.d (i.e., /sbin/rc3.d). Configuration for init scripts goes in
> /etc/rc.config.d as opposed to /etc/sysconfig on Linux.
>
> Also, HP-UX runs "thru" run-levels, whereas Linux "jumps" run-levels. In other
> words, to get to run-level 3, you 1st go thru run-level 1 and 2...
>
> Otherwise, its pretty similar.
>
> Kevin


Also, there is a template file which you can base your new script on.
/sbin/init.d/template.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:41 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com