ZeroNet - ArchWiki

# ZeroNet

From ZeroNet gives access to "open, free and uncensorable websites, using Bitcoin cryptography and BitTorrent network".

## Installation

Install the zeronetAUR package.

The latest development version is also available in the zeronet-gitAUR package

## Configuration

### Starting

To start ZeroNet start/enable `zeronet.service`.

### Tor

By default, ZeroNet uses clearnet and Tor if available. To enable Tor support you first neet to install Tor via tor. Then, give ZeroNet access to control Tor using the following instructions.

    # usermod -a -G tor zeronet
    # mkdir -m 750 /var/lib/tor-auth
    # chown tor:tor /var/lib/tor-auth

Append the following lines to `/etc/tor/torrc`:

    ControlPort 9051
    CookieAuthentication 1
    CookieAuthFileGroupReadable 1
    CookieAuthFile /var/lib/tor-auth/control_auth_cookie

## Creating ZeroNet sites

This article or section needs language, wiki syntax or style improvements.

Reason: This first sentence is unclear. (Discuss in Talk:ZeroNet#)

All operations, including editing ZeroNet site files, should be done as user `zeronet` and configuration must be passed for data directory to be selected to `/var/lib/zeronet`. For example:

    $ sudo -u zeronet python2 zeronet.py --config_file /etc/zeronet.conf

Or

    $ sudo su - zeronet
    $ cd /opt/zeronet
    $ python2 zeronet.py --config_file /etc/zeronet.conf

All zites you create will have their initial data folder setup in /var/lib/zeronet/[address]. For more information on how to create a Zite, please follow the guidelines on the Zeronet FAQ.

## See also

- Official ZeroNet website
- ZeroNet - Read the Docs

Category:

- Internet applications

Hidden category:

- Pages or sections flagged with Template:Style