Wmf-laptop

From Wikitech
(Redirected from Wmf-sre-laptop)


wmf-laptop-sre is a Debian package which provides example configs, scripts and documentation to setup access to SSH (production and Cloud VPS), Git and pwstore. It also pulls in packages that you'll need as dependencies. It's available on our internal repository. The source is in the operations/debs/wmf-sre-laptop repository.

  • First of all you need to install the repository key for apt.wikimedia.org, it's documented here: APT repository#Security
  • Then create a file under /etc/apt/sources.list.d/ called something like wikimedia.list containing the following (the package should work for Buster and testing/sid):
 deb http://apt.wikimedia.org/wikimedia buster-wikimedia component/wmf-sre-laptop
  • Then apt install wmf-laptop-sre it will pull in a few packages you'll need as well.
  • /usr/share/doc/wmf-laptop-sre/README contains pointers to the next steps to setup git, SSH and pwstore access.
# quick install wmf-laptop-sre (buster or later)
sudo wget -O /etc/apt/trusted.gpg.d/wikimedia-apt-key.asc "https://wikitech.wikimedia.org/w/index.php?title=APT_repository/Stretch-Key&action=raw"
echo "deb http://apt.wikimedia.org/wikimedia buster-wikimedia component/wmf-sre-laptop" | sudo tee /etc/apt/sources.list.d/wikimedia-sre-laptop.list
sudo apt update
sudo apt install wmf-laptop-sre