people.wikimedia.org

From Wikitech
Jump to navigation Jump to search

people.wikimedia.org hosts some of the user public files, in the form of people.wikimedia.org/~username. The server runs on people1001 which has replaced the previous server rutherfordium.

NOTE: First you need shell access in production to get to the server that hosts people.wikimedia.org. Do that first.

How to upload files

Use scp and ProxyCommand in to copy files via a bastion host to your home directory on people.eqiad.wmnet. (people.eqiad.wmnet is a CNAME for currently people1001.eqiad.wmnet and previously rutherfordium.eqiad.wmnet).

Put files into a directory called "public_html". If that doesn't exist yet, create it with mkdir.

Who has access

If you are a member of any admin group that gets shell access, you also have a user on people1001. Access is automatically granted to the "all users" group. You can also ssh to the CNAME people.eqiad.wmnet to avoid having to remember a number that might change in the future.

Backend upgrade November 2018

On November 29, 2018 the backend switched from rutherfordium on Debian jessie to a new machine people1001 on Debian stretch. The DNS CNAME people.eqiad.wmnet can be used as before and has been switched over. Just expect the new fingerprints.

All files in home directories have been rsynced over. This also means there is now PHP 7 instead of PHP 5 on it.

Phabricator Ticket - upgrade people.wm.org (rutherfordium) to stretch

How to test changes

If you want to test a change on a people.wm.org URL you can SSH to the current deployment server and use apache-fast-test.

Example: [deploy1001:~] $ apache-fast-test people.url people1001.eqiad.wmnet where "people.url" is a plain text file with one http://people.wikimedia.org/~foobar/ URL per line.

External links