This explains manual container creation. You should only use it if the automated process doesn't satisfy your needs.
Boot your system from the Split Linux pendrive. Split will detect the partition you just created, ask for its password and mount it.
- Switch to the second terminal (Ctrl+Alt+F2) and log in as root. (Currently, the first terminal displays Tor debug output which renders it unfit for interactive use. This will be changed in a future release.)
- Ensure that horde is mounted (
mount | grep split-horde) and that you're connected to the Internet (
ping -c1 splitlinux.org).
- Create a container. You can replace name and amend the last row of parameters to install a different distro as offered at images.linuxcontainers.org.
$ lxc-create --config /usr/share/splitlinux/config/splitlinux-default.conf \ --name v --template download -- \ --release current --dist voidlinux --arch amd64 --variant musl
- Remove superfluous includes from newly created container configuration (
sed 's#^lxc.*lxc/config.*##g' /var/lib/lxc/v/config).
- Set a unique IP address for the container (
sed -i 's#100#122#g' /var/lib/lxc/v/config).
- Start the container (
lxc-start v) and step into it (
- In the container create a user. Its name must match the container name! (
useradd --create-home v).
- Set a password for that user (
Our example names the container v as in Void Linux. Using single letters for container- and user names is generally a great way to save time typing.
- Make the container use Void's Tor mirror for packages (
echo 'repository=http://lysator7eknrfl47rlyxvgeamrv7ucefgrrlhk7rouv3sna25asetwid.onion/pub/voidlinux/current/musl' > /etc/xbps.d/00-repository-main.conf).
- Fetch the package index (
SOCKS_PROXY="socks5://172.18.0.2:9050" xbps-install -Su).
- Install a basic graphical environment (
SOCKS_PROXY="socks5://172.18.0.2:9050" xbps-install -S dwm st xorg-minimal xorg-fonts monero curl torsocks).
- Configure dwm to start as graphical environment (
echo 'exec dwm' >> /home/v/.xinitrc).
- Exit the container (
exit) and verify that you're back in the host system (
- Reboot (
- A window manager or a desktop environment (like dwm) is highly recommended if you want a graphical interface.
- If xorg-minimal is not installed, dwm will fail to start complaining about
DISPLAYnot being set.
- If xorg-fonts is not installed, dwm will fail to start complaining that
- torsocks is essential as it allows pretty much any application to route through Tor.
When you now log in using the container name as user name (eg v) you should end up within the container's graphical environment.
Continue at Configuration: Internet for Applications to learn how to connect your applications through Tor.