Browse Source

updated for debian bookworm

master
Pascal Gloor 3 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



* install VirtualBox for your OS * install VirtualBox for your OS
* create a new VM and make sure you have * create a new VM and make sure you have
* enable "Skip unattended install"
* enabled 3D acceleration * enabled 3D acceleration
* enabled NAT networking * 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: * install debian and make sure you do the following during installation:
* select "Expert install" (under "Advanced options") in grub * 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. * do not enable NTP, it will not work. Make sure your host has an accurate time, the guest will use it.
* unselect everything at tasksel (Desktop installation, print server,...) * unselect everything at tasksel (Desktop installation, print server,...)
* finish install and reboot * finish install and reboot
* after reboot, login and sudo su to become root * 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) * 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) * cd torvm and run `./install.sh` (still as root)
* during package installation two prompts will appear: * during package installation two prompts will appear:

+ 8
- 5
install.sh View File

echo "################################################" echo "################################################"
echo "Installing required packages" echo "Installing required packages"
echo "################################################" echo "################################################"
apt-get --assume-yes install \
apt --assume-yes install \
build-essential \ build-essential \
linux-headers-amd64 \ linux-headers-amd64 \
iptables-persistent \ iptables-persistent \
tor \ tor \
rsync \ rsync \
unbound \ unbound \
vim-tiny
vim-tiny \
rsyslog


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




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

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

echo "################################################" echo "################################################"
echo "Unmounting CD..." echo "Unmounting CD..."
echo "################################################" echo "################################################"
echo "################################################" echo "################################################"
echo "Cleaning apt/pkg" echo "Cleaning apt/pkg"
echo "################################################" echo "################################################"
apt-get clean
apt clean


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


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

Loading…
Cancel
Save