Mix Installation (Debian and Ubuntu)

From JonDonym Wiki
Revision as of 14:13, 9 March 2010 by Kn (Talk | contribs)
Jump to: navigation, search

File:En.png File:De.png

HowTo install the mix software using DEB packages

For Debian and Ubuntu servers we provide packages to simplify the installation. First add the following line to /etc/apt/sources.list. Replace DISTRI by the name of your distribution. At the moment lenny, squeeze, sid, intrepid, jaunty, karmic and lucid are supported.

 deb http://debian.anonymous-proxy-servers.net DISTRI main

The repository ist signed with the OpenPGP key 0xF1305880. Download the key, verify the fingerprint and add it to your apt keyring:

 gpg --recv 0xF1305880 --keyserver=pool.sks-keyservers.net
 gpg --fingerprint 0xF1305880
 fingerprint: 1866 F973 8C97 A3D6 56A4  E142 F510 0840 F130 5880
 gpg --export 0xF1305880 | apt-key add -

Afterwards you can install the mix package you need:

 aptitude install mix-free-entry
 aptitude install mix-free-exit
 aptitude install mix-premium
 aptitude install mix-premium-exit

The installation of the packages will do the following steps:

  • install the stable source code of the mix software in /usr/src/mix
  • compile and install the mix software
  • create a system user mix
  • create the log directory /var/log/mix and set save permissions
  • install the start script /etc/init.d/mix

Only for exit mixes the following steps will be done by installation of the mix package:

  • install the squid proxy
  • install an optimized configuration for squid and the block list /etc/squid/squid-block.acl
  • create cache directories for squid and restart squid

For premium mixes a PostgreSQL database server will be installed and for premium exit mixes additional a Dante SOCKS server.

Location of the mix config file

By default the mix configuration file is expected at /etc/mix/config.xml. You may use an other place of your mix configuration file. Edit the value of $MIXCONF in /etc/default/mix to point to your config.xml.

Upates

You will get all updates (mix code, JonDonym blocklist...) by:

apt-get update && apt-get upgrade
Personal tools