2017-01-14 09:21:58 -05:00
|
|
|
---
|
|
|
|
layout: doc
|
2017-01-23 07:56:24 -05:00
|
|
|
title: Onion Service Repos
|
|
|
|
permalink: /doc/onion-service-repos/
|
|
|
|
redirect_from: /doc/hidden-service-repos/
|
2017-01-14 09:21:58 -05:00
|
|
|
---
|
|
|
|
|
2017-01-23 07:56:24 -05:00
|
|
|
Onion Service Repos
|
2017-01-14 09:21:58 -05:00
|
|
|
====================
|
|
|
|
|
2017-01-23 07:56:24 -05:00
|
|
|
Run the following commands in dom0 in order to use Qubes' Tor onion service
|
|
|
|
(aka "hidden service") repos for each type of VM.
|
2017-01-14 09:21:58 -05:00
|
|
|
|
|
|
|
**Note:** The `cat`s are optional, for confirmation only.
|
|
|
|
|
|
|
|
Dom0
|
|
|
|
----
|
|
|
|
|
2017-01-15 13:41:48 -05:00
|
|
|
sudo sed -i 's/yum.qubes-os.org/yum.qubesos4rrrrz6n4.onion/' /etc/yum.repos.d/qubes-dom0.repo && cat /etc/yum.repos.d/qubes-dom0.repo
|
|
|
|
sudo sed -i 's/yum.qubes-os.org/yum.qubesos4rrrrz6n4.onion/' /etc/yum.repos.d/qubes-templates.repo && cat /etc/yum.repos.d/qubes-templates.repo
|
2017-01-14 09:21:58 -05:00
|
|
|
|
|
|
|
Fedora
|
|
|
|
------
|
|
|
|
|
2017-01-15 13:41:48 -05:00
|
|
|
qvm-run -a --nogui -p -u root $FedoraTemplateVM 'sed -i "s/yum.qubes-os.org/yum.qubesos4rrrrz6n4.onion/" /etc/yum.repos.d/qubes-r3.repo && cat /etc/yum.repos.d/qubes-r3.repo'
|
2017-01-14 09:21:58 -05:00
|
|
|
|
|
|
|
Debian and Whonix
|
|
|
|
-----------------
|
|
|
|
|
2017-01-15 13:41:48 -05:00
|
|
|
qvm-run -a --nogui -p -u root $DebianTemplateVM 'sed -i "s/deb.qubes-os.org/deb.qubesos4rrrrz6n4.onion/" /etc/apt/sources.list.d/qubes-r3.list && cat /etc/apt/sources.list.d/qubes-r3.list'
|
2017-01-14 09:21:58 -05:00
|
|
|
|