Operating System - HP-UX
1752717 Members
5948 Online
108789 Solutions
New Discussion юеВ

linux yum update repository on hp-ux

 
SOLVED
Go to solution
Andrew medhurst1
Frequent Advisor

linux yum update repository on hp-ux

guys quick question, has anybody ever set up a yum repository on an hp-ux server.
i have a depot/web server where i keep a software repository for my HP-UX servers and an web server set-up to serve kickstart and other linux files, but i would like to try and see if it is possible to set-up a yum repo on the ux server.
is there anybody who has done this or has any thoughts on process to achieve.
regards
andrew
6 REPLIES 6
Steven E. Protter
Exalted Contributor
Solution

Re: linux yum update repository on hp-ux

Shalom,

Yes you can store a yum repository on an HP-UX server. You need to have hpws, hp web suite installed to provide a web/httpd server on which to host the data.

http://software.hp.com
Search for hpws

Download and install the depot.

I have done this.

In order to run the create repo command correctly, I set the space where the repo was to sit as an NFS share and gave the Linux machine building the repo read-write access.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Andrew medhurst1
Frequent Advisor

Re: linux yum update repository on hp-ux

steven
can you give some advice on how to achieve this, never done it.
i have already set-up the apache web server on hp-ux for kickstart purposes will that be sufficeint.
obviosly nfs no problem.
so do i just run commands from linux server having mounted nfs share.
regards
andrew
Steven E. Protter
Exalted Contributor

Re: linux yum update repository on hp-ux

Shalom Andrew,

1) http://software.hp.com search for hpws
Download and install the latest version that is supported on your OS. I use 2.26 for mine, because I use HP-UX 11.11 and hpws v3 is not supported on my very old systems.

2) vi /etc/exports

/share *(rw)

exportfs -av


I have a mount point called /share which I have on shared storage for this purpose.

To run commands such as createrepo you need to have NFS access to a shared storage point

3) From linux

mkdir /share/
mount -t nfs 10.0.0.80:/share /share

10.0.0.80 is the ip address of my D class HP-UX box.

At that point you can run commands such as create repo.

If you need assistance with creation of the repo itself, indicate that and I will toss in a few links and commands for you to work with.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Andrew medhurst1
Frequent Advisor

Re: linux yum update repository on hp-ux

steven
i am using V3 so i will set-up dfstab and the share is no issue i will set-up a virtual linux server to create repo (although never created repo before so as much info as poss would be good) the main question i still have is will apache be sufficient as i think that all i need to do is make the finished repo available via https connection and i can surely do this with apache.
is this correct or am i missing something, i can install hpws if really necassary but would prefer to limit software to essential for purpose.
regards
andrew
Steven E. Protter
Exalted Contributor

Re: linux yum update repository on hp-ux

Shalom again,

apache is sufficient.

The apache code used in Red Hat is nearly identical to that of HP-UX.

The only thing you need the Linux server for is the createrepo command which will not work on HP-UX.

You should please report results. This would be a great white paper.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Andrew medhurst1
Frequent Advisor

Re: linux yum update repository on hp-ux

Vmware enviroment being rebuilt so won't have access for linux server until next week so once i have completed i will document and make available online.
regards
Andrew