Ubuntu-Warrior (a.k.a. Warrior 3)
This project is for building a Warrior Virtual Machine Appliance for the year 2017-2021. It also contains the necessary boot up scripts that this Warrior will update from.
For building the older version, see https://github.com/ArchiveTeam/warrior-preseed
Download a warrior
If you wanted to download the warrior, see https://github.com/ArchiveTeam/Ubuntu-Warrior/releases or https://warriorhq.archiveteam.org/downloads/warrior3/. For support, see https://www.archiveteam.org/index.php?title=Warrior.
Please note that from versions 3.2 and newer, the OVA file will be smaller. When the appliance starts up for the first time, additional data will be downloaded and installed before the warrior can be used. This will take a few minutes.
Building a warrior
- Install VirtualBox.
- Download the ISO file for Alpine Linux
alpine-virt-3.13.2-x86_64.iso
- Run
./build-vm.sh
to create an empty Virtual Machine. - Boot up the virtual machine and wait for Alpine's login prompt to appear.
- Follow the instructions for installing to disk: https://wiki.alpinelinux.org/wiki/Install_to_disk using the options mentioned in
stage.sh
. - Power off the virtual machine using the
poweroff
command. - Eject the virtual disc by selecting Remove Disk from Virtual Drive.
- Boot the machine and login with username
root
and passwordwarrior
. - Run
apk add openssl
- Run
wget https://raw.githubusercontent.com/ArchiveTeam/Ubuntu-Warrior/master/stage.sh
- Run
chmod +x stage.sh; ./stage.sh
- Wait and then reboot.
- Wait for it to install the Docker instance and warrior-code2.
- Export the appliance by running
./pack-vm.sh
.
Updating boot scripts
Note: Do not push to master without testing! The warrior pulls files from this repository on boot up.
boot.sh
is responsible for fetching a copy of startup.sh
. This allows for easier maintenance but at the risk of breaking things. When testing, please look at boot.sh
and edit /root/repo_prefix.txt
and/or /root/branch.txt
to point to a separate branch.