Closed
Bug 650907
Opened 14 years ago
Closed 14 years ago
Setup a webhead for Share in Staging
Categories
(Cloud Services :: Server: Share, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: gozer, Assigned: petef)
References
Details
Attachments
(1 file)
|
144 bytes,
text/plain
|
Details |
Can be the same box/VM as in 650906. Could be 2 boxes/VMs to test load-balancing, but that's all Zeus, nothing specific about Share, so probably not necessary.
For an idea, currently, F1 production is running off 2 single-core Xeon VMs with 2Gb of RAM each, and that's plenty.
| Reporter | ||
Comment 1•14 years ago
|
||
For now, best if this can be RHEL5/64-bit, as that's what our current yum repos are targetting. RHEL6 is possible, but untested as of now.
| Reporter | ||
Comment 2•14 years ago
|
||
Dropping this file as /etc/yum.repos.d/f1-testing.repo will enable the current Share nightly (hudson, on-change) driven package repository.
| Reporter | ||
Updated•14 years ago
|
Attachment #526809 -
Attachment mime type: application/octet-stream → text/plain
| Reporter | ||
Comment 3•14 years ago
|
||
To install the Share API web component, just install the mozilla-f1-python26-server package like so:
$> yum install mozilla-f1-python26-server
Should bring in all sorts of dependencies along the way.
It all installs under /opt/mozilla.org/f1/*
To start a web head, there are 2 services:
nginx
f1_server
Nginx is the actual webserver listening on port 81
$> /etc/rc.d/init.d/nginx start
f1_server is a Python gunicorn wsgi server
$> /etc/rc.d/init.d/f1-server start
And it listens on localhost:5000 and gets proxied to by nginx
Configuration is under /etc/f1/, with really only 2 files of interest.
production.ini has various settings, like debugging, log levels, etc
private.ini contains the oauth tokens that contain bogus values that needs filling in.
| Reporter | ||
Comment 4•14 years ago
|
||
Once running, visiting:
http://hostname:81/dev/share/panel/
should bring up the familiar F1 setup/share panel, and it should work directly from Firefox 5.
| Reporter | ||
Comment 5•14 years ago
|
||
Another note, our packages rely on some EPEL packages, so that repo needs to be available (or a mirror of it)
http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
| Assignee | ||
Comment 6•14 years ago
|
||
share{1,2}.mtv1.stage.svc.mozilla.com are up and puppetized (each VMs: 1gb ram, 8gb disk).
Assignee: nobody → petef
Status: NEW → ASSIGNED
| Assignee | ||
Comment 7•14 years ago
|
||
stage is planned to be publicly accessible. has this code been security reviewed?
| Assignee | ||
Comment 8•14 years ago
|
||
mozilla-web-f1 also required
Server-side share project is no longer active, closing as INCOMPLETE, reopen if circumstances change.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•