Browse Source

updated for debian bookworm

master
Pascal Gloor 2 days ago
parent
commit
d4f77c9050
2 changed files with 12 additions and 8 deletions
  1. 4
    3
      README.md
  2. 8
    5
      install.sh

+ 4
- 3
README.md View File

@@ -8,9 +8,10 @@

* install VirtualBox for your OS
* create a new VM and make sure you have
* enable "Skip unattended install"
* enabled 3D acceleration
* enabled NAT networking
* download debian https://cdimage.debian.org/cdimage/buster_di_alpha5/amd64/iso-cd/debian-buster-DI-alpha5-amd64-netinst.iso (Buster is needed as it has an up-to-date enlightenment release)
* download debian Bookworm -> https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.9.0-amd64-netinst.iso
* install debian and make sure you do the following during installation:
* select "Expert install" (under "Advanced options") in grub
* do not enable NTP, it will not work. Make sure your host has an accurate time, the guest will use it.
@@ -19,8 +20,8 @@
* unselect everything at tasksel (Desktop installation, print server,...)
* finish install and reboot
* after reboot, login and sudo su to become root
* install git client `apt-get install git`
* download installation setup `git clone https://git.home.spale.com/home/torvm.git`
* install git client `apt install git`
* download installation setup `git clone https://git.home.spale.com/public/torvm.git`
* in the VirtualBox VM "Devices" menu, select "Install Guest Additions CD Image..." (needed by the next step)
* cd torvm and run `./install.sh` (still as root)
* during package installation two prompts will appear:

+ 8
- 5
install.sh View File

@@ -3,7 +3,7 @@
echo "################################################"
echo "Installing required packages"
echo "################################################"
apt-get --assume-yes install \
apt --assume-yes install \
build-essential \
linux-headers-amd64 \
iptables-persistent \
@@ -16,22 +16,25 @@ apt-get --assume-yes install \
tor \
rsync \
unbound \
vim-tiny
vim-tiny \
rsyslog

echo "################################################"
echo "Removing unused packages"
echo "################################################"
apt-get --assume-yes remove --purge nano
apt --assume-yes remove --purge nano


echo "################################################"
echo "Mounting VirtualBox VM guest additions CD..."
echo "################################################"
mount /dev/cdrom /mnt

echo "################################################"
echo "Compiling VM additions..."
echo "################################################"
/mnt/VBoxLinuxAdditions.run

echo "################################################"
echo "Unmounting CD..."
echo "################################################"
@@ -76,12 +79,12 @@ ln -s /dev/null /root/.bash_history
echo "################################################"
echo "Cleaning apt/pkg"
echo "################################################"
apt-get clean
apt clean

echo "################################################"
echo "Cleaning syslog"
echo "################################################"
/etc/init.d/rsyslog stop
systemctl stop rsyslog
find /var/log -type f -print0 | xargs -0 rm

echo "################################################"

Loading…
Cancel
Save