LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 05-28-2018, 06:20 AM   #1
kangsunny709
LQ Newbie
 
Registered: May 2018
Posts: 2

Rep: Reputation: Disabled
Creating local repository on Solaris 11.2 for upgrade from ISO image.


Hello guys.

I want to create a local repository on Solaris 11.2 for upgrade from ISO image. I already have ISO image copied to the server.

Any suggestions? How I can do the same?

Thanks
Kang
 
Old 05-28-2018, 11:24 AM   #2
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 308
Blog Entries: 1

Rep: Reputation: 144Reputation: 144
A simple web search shows lots of tutorials. Have you tried any ? Where did you get stuck ?

Here's one to get you started.
 
Old 06-06-2018, 11:15 AM   #3
kangsunny709
LQ Newbie
 
Registered: May 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hello Honest Abe,

I solved this problem early next day after posting this thread. BTW, thanks for your response.

I had gone throw Unix arena method but they were using script. I did not want to use the same.

So, I used following method to create the local repo.


I created mnt point for ISO image as following:

#mount -F hsfs /Package/sol-11_3-repo-full.iso /mnt

then set the publisher name:

#pkg set-publisher -G '*' -g /mnt/repo solaris

then verifying the publisher:

#pkg publisher

Output of aforementioned command:
root@KanG:/mnt# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F file:///mnt/repo/



Using this method, I successfully done my job of updating the Solaris to 11.3.
However use of G will delete other repository if any present on server. So, use it accordingly.


Regards
Sunny
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Local Repository srinivasmmdl Linux - Newbie 2 04-23-2012 08:25 PM
ISO image for snaptic repository milindlokde Debian 2 05-26-2009 11:01 AM
Creating Ubuntu Local Repository? your_shadow03 Linux - Server 1 03-18-2009 03:59 PM
Creating Software ISO Repository... linuxshadow Linux - Server 5 06-13-2008 03:49 AM
Creating A Local Debian Repository ashmita04 Debian 1 01-23-2008 03:28 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration