I've computed some data on a VPS node that I want to show to people. Is there some quick and dirty way to publish a file so it's visible to the outside? I'm thinking something along the lines of a public_html directory.
Untested, but this should work I think:
sudo apt-get install apache2 sudo a2enmod userdir mkdir ~/public_html/
copy files to public_html as you already mentioned
then click in Horizon to create a proxy, select a name and the instance it should point to access data under that name + /~username/
On Sat, Apr 17, 2021 at 3:27 PM Roy Smith roy@panix.com wrote:
I've computed some data on a VPS node that I want to show to people. Is there some quick and dirty way to publish a file so it's visible to the outside? I'm thinking something along the lines of a public_html directory. _______________________________________________ Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud
Hmmm, it turns out, this doesn't work. Apache fails to start with:
AH00534: apache2: Configuration error: No MPM loaded.
I found a bunch of explanations of why this is happening (sounds like a bug in the default apache2 config?), and how to fix it, but by the time I'm into hacking apache2 config files, we out of "quick and dirty" territory, so I'm going to pass. Thanks for the suggestion anyway.
On Apr 17, 2021, at 6:44 PM, Daniel Zahn dzahn@wikimedia.org wrote:
Untested, but this should work I think:
sudo apt-get install apache2 sudo a2enmod userdir mkdir ~/public_html/
copy files to public_html as you already mentioned
then click in Horizon to create a proxy, select a name and the instance it should point to access data under that name + /~username/
On Sat, Apr 17, 2021 at 3:27 PM Roy Smith roy@panix.com wrote:
I've computed some data on a VPS node that I want to show to people. Is there some quick and dirty way to publish a file so it's visible to the outside? I'm thinking something along the lines of a public_html directory. _______________________________________________ Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud
-- Daniel Zahn dzahn@wikimedia.org Operations Engineer
Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud
You might try:
sudo a2enmod mpm_prefork
Failing that, what's the name of your instance and project? I can probably sort it out for you
On Sun, 18 Apr 2021 at 13:30, Roy Smith roy@panix.com wrote:
Hmmm, it turns out, this doesn't work. Apache fails to start with:
AH00534: apache2: Configuration error: No MPM loaded.
I found a bunch of explanations of why this is happening (sounds like a bug in the default apache2 config?), and how to fix it, but by the time I'm into hacking apache2 config files, we out of "quick and dirty" territory, so I'm going to pass. Thanks for the suggestion anyway.
On Apr 17, 2021, at 6:44 PM, Daniel Zahn dzahn@wikimedia.org wrote:
Untested, but this should work I think:
sudo apt-get install apache2 sudo a2enmod userdir mkdir ~/public_html/
copy files to public_html as you already mentioned
then click in Horizon to create a proxy, select a name and the instance it should point to access data under that name + /~username/
On Sat, Apr 17, 2021 at 3:27 PM Roy Smith roy@panix.com wrote:
I've computed some data on a VPS node that I want to show to people. Is there some quick and dirty way to publish a file so it's visible to the outside? I'm thinking something along the lines of a public_html directory. _______________________________________________ Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud
-- Daniel Zahn dzahn@wikimedia.org Operations Engineer
Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud
Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud
I appreciate the offer, but it's not so much a matter of getting it to work, but keeping it simple. For the few files I need to export, I can just copy them manually to someplace else.
On Apr 18, 2021, at 9:06 AM, Alex Monk krenair@gmail.com wrote:
You might try: sudo a2enmod mpm_prefork Failing that, what's the name of your instance and project? I can probably sort it out for you
On Sun, 18 Apr 2021 at 13:30, Roy Smith <roy@panix.com mailto:roy@panix.com> wrote: Hmmm, it turns out, this doesn't work. Apache fails to start with:
AH00534: apache2: Configuration error: No MPM loaded.
I found a bunch of explanations of why this is happening (sounds like a bug in the default apache2 config?), and how to fix it, but by the time I'm into hacking apache2 config files, we out of "quick and dirty" territory, so I'm going to pass. Thanks for the suggestion anyway.
On Apr 17, 2021, at 6:44 PM, Daniel Zahn <dzahn@wikimedia.org mailto:dzahn@wikimedia.org> wrote:
Untested, but this should work I think:
sudo apt-get install apache2 sudo a2enmod userdir mkdir ~/public_html/
copy files to public_html as you already mentioned
then click in Horizon to create a proxy, select a name and the instance it should point to access data under that name + /~username/
On Sat, Apr 17, 2021 at 3:27 PM Roy Smith <roy@panix.com mailto:roy@panix.com> wrote:
I've computed some data on a VPS node that I want to show to people. Is there some quick and dirty way to publish a file so it's visible to the outside? I'm thinking something along the lines of a public_html directory. _______________________________________________ Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org mailto:Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org mailto:labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud https://lists.wikimedia.org/mailman/listinfo/cloud
-- Daniel Zahn <dzahn@wikimedia.org mailto:dzahn@wikimedia.org> Operations Engineer
Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org mailto:Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org mailto:labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud https://lists.wikimedia.org/mailman/listinfo/cloud
Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org mailto:Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org mailto:labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud https://lists.wikimedia.org/mailman/listinfo/cloud _______________________________________________ Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud
Pretty sure you really just need the suggested "sudo a2enmod mpm_prefork", so don't give up just yet. It's still under 5 commands, hopefully can still count as fairly simple. (compared to the alternatives at least).
On Sun, Apr 18, 2021 at 6:13 AM Roy Smith roy@panix.com wrote:
I appreciate the offer, but it's not so much a matter of getting it to work, but keeping it simple. For the few files I need to export, I can just copy them manually to someplace else.
On Apr 18, 2021, at 9:06 AM, Alex Monk krenair@gmail.com wrote:
You might try:
sudo a2enmod mpm_prefork
Failing that, what's the name of your instance and project? I can probably sort it out for you
On Sun, 18 Apr 2021 at 13:30, Roy Smith roy@panix.com wrote:
Hmmm, it turns out, this doesn't work. Apache fails to start with:
AH00534: apache2: Configuration error: No MPM loaded.
I found a bunch of explanations of why this is happening (sounds like a bug in the default apache2 config?), and how to fix it, but by the time I'm into hacking apache2 config files, we out of "quick and dirty" territory, so I'm going to pass. Thanks for the suggestion anyway.
On Apr 17, 2021, at 6:44 PM, Daniel Zahn dzahn@wikimedia.org wrote:
Untested, but this should work I think:
sudo apt-get install apache2 sudo a2enmod userdir mkdir ~/public_html/
copy files to public_html as you already mentioned
then click in Horizon to create a proxy, select a name and the instance it should point to access data under that name + /~username/
On Sat, Apr 17, 2021 at 3:27 PM Roy Smith roy@panix.com wrote:
I've computed some data on a VPS node that I want to show to people. Is there some quick and dirty way to publish a file so it's visible to the outside? I'm thinking something along the lines of a public_html directory. _______________________________________________ Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud
-- Daniel Zahn dzahn@wikimedia.org Operations Engineer
Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud
Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud
Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud
Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud