Red Hat ENTERPRISE LINUX 3 - DEVELOPER TOOLS GUIDE Spezifikationen Seite 99

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 110
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 98
Red Hat Enterprise Linux to Oracle Solaris Porting Guide
98
TABLE 10-4. PUBLISHING A PACKAGE
RHEL ORACLE SOLARIS 11
Once the package is ready, it can be published on
a Web server so it can be downloaded by end
users like any other download.
Suppose we have a repository named example.com.
To publish the package, ensure that it is read/write, not the default (read-
only). To accomplish this, run the following command:
oracle@solaris_11:~/work $ svccfg -s pkg/server setprop
pkg/readonly=false
Restart the server for the changes to take effect:
oracle@solaris_11:~/work $ svcadm restart
pkg/server:default
To publish the package, use the following command:
oracle@solaris_11:~/work $ pkgsend publish -s
http://example.com:9001 -d ./proto_inst
my_sample_depend
PUBLISHED
Now the package has successfully been published.
We can now check the status of our repository again to determine whether
our package got published:
oracle@solaris_11:~/work $ pkgrepo info -s
http://example.com:9001
PUBLISHER PACKAGES STATUS UPDATED
example.com 1 online date
Seitenansicht 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 109 110

Kommentare zu diesen Handbüchern

Keine Kommentare