Difference between revisions of "Obsolete Service/obs"
Jump to navigation
Jump to search
m (→Notes: update template) |
m (Bernie moved page Service/obs to Obsolete Service/obs) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Obsolete}} | ||
+ | |||
== Hostnames == | == Hostnames == | ||
− | * | + | * obs.sugarlabs.org |
* packages.sugarlabs.org | * packages.sugarlabs.org | ||
* sweets.sugarlabs.org | * sweets.sugarlabs.org | ||
Line 7: | Line 9: | ||
== Hosted on == | == Hosted on == | ||
− | [[Machine | + | [[Machine/jita]] |
== Administrative contact == | == Administrative contact == | ||
− | * | + | * obs AT sugarlabs DOT org |
== Sysadmins == | == Sysadmins == | ||
Line 24: | Line 26: | ||
|- | |- | ||
!scope="row" | Home | !scope="row" | Home | ||
− | |{{Code|/srv/ | + | |{{Code|/srv/obs}} |
|- | |- | ||
!scope="row" | Daemon | !scope="row" | Daemon | ||
| | | | ||
− | {{Code|/etc/init.d/ | + | {{Code|/etc/init.d/obs}}<br> |
− | {{Code|/etc/init.d/ | + | {{Code|/etc/init.d/obs-worker}} |
|- | |- | ||
!scope="row" | Config | !scope="row" | Config | ||
| | | | ||
− | {{Code|/srv/ | + | {{Code|/srv/obs/app/src/backend/BSConfig.pm}}<br> |
− | {{Code|/srv/ | + | {{Code|/srv/obs/app/src/api/config/}}<br> |
− | {{Code|/srv/ | + | {{Code|/srv/obs/app/src/webui/config/}} |
|- | |- | ||
!scope="row" | Logs | !scope="row" | Logs | ||
− | |{{Code|/srv/ | + | |{{Code|/srv/obs/site/log}} |
|- | |- | ||
!scope="row" | SSL certificates | !scope="row" | SSL certificates | ||
| | | | ||
− | {{Code|/etc/ssl/private/ | + | {{Code|/etc/ssl/private/obs.sugarlabs.org.key}}<br> |
− | {{Code|/etc/ssl/certs/ | + | {{Code|/etc/ssl/certs/obs.sugarlabs.org.pem}}<br> |
{{Code|/etc/ssl/private/packages.sugarlabs.org.key}}<br> | {{Code|/etc/ssl/private/packages.sugarlabs.org.key}}<br> | ||
{{Code|/etc/ssl/certs/packages.sugarlabs.org.pem}}<br> | {{Code|/etc/ssl/certs/packages.sugarlabs.org.pem}}<br> | ||
Line 49: | Line 51: | ||
|} | |} | ||
− | {{Note/warning|Caution|Since python OBS clients can't handle SNI, default vhost needs to provide {{Code| | + | {{Note/warning|Caution|Since python OBS clients can't handle SNI, default vhost needs to provide {{Code|obs.sugarlabs.org}} SSL certificate.}} |
== Upgrade notes == | == Upgrade notes == | ||
+ | |||
{| class="wikitable" | {| class="wikitable" | ||
!scope="row" | git | !scope="row" | git | ||
| | | | ||
− | {{Code|/srv/ | + | {{Code|/srv/obs/app}} |
|- | |- | ||
|} | |} | ||
+ | |||
+ | Packages: | ||
+ | |||
+ | apt-get install liblocal-lib-perl libio-compress-perl libnet-ssleay-perl createrepo cmake librpm-dev check | ||
+ | |||
+ | Gems: | ||
+ | |||
+ | su - obs | ||
+ | cd ~/app/src/api | ||
+ | rake gems:install | ||
+ | |||
+ | Perl modules: | ||
+ | cpan -i Socket/MsgHdr.pm | ||
+ | |||
+ | Build sat-solver: | ||
+ | |||
+ | su - obs | ||
+ | cd ~/app/src/backend/sat-solver | ||
+ | cmake . -DMULTI_SEMANTICS=1 | ||
+ | make | ||
+ | |||
+ | Build BSSolv: | ||
+ | |||
+ | su - obs | ||
+ | cd ~/app/src/backend | ||
+ | perl Makefile.PL | ||
+ | make | ||
+ | |||
+ | == Hints == | ||
+ | |||
+ | Delete download repository copies: | ||
+ | |||
+ | repos={}; Download.find_each {|i| repos[i.metafile] = [(repos.include?(i.metafile) ? repos[i.metafile] : 0), i.id].max}; Download.find_each {|i| i.delete if i.id != repos[i.metafile]} |
Latest revision as of 08:14, 31 March 2024
Hostnames
Hosted onAdministrative contact
SysadminsNotesOBS instance with sugar related changes.
Upgrade notes
Packages: apt-get install liblocal-lib-perl libio-compress-perl libnet-ssleay-perl createrepo cmake librpm-dev check Gems: su - obs cd ~/app/src/api rake gems:install Perl modules: cpan -i Socket/MsgHdr.pm Build sat-solver: su - obs cd ~/app/src/backend/sat-solver cmake . -DMULTI_SEMANTICS=1 make Build BSSolv: su - obs cd ~/app/src/backend perl Makefile.PL make HintsDelete download repository copies: repos={}; Download.find_each {|i| repos[i.metafile] = [(repos.include?(i.metafile) ? repos[i.metafile] : 0), i.id].max}; Download.find_each {|i| i.delete if i.id != repos[i.metafile]} |