Add post-install scripts for Autopsy 4 and Resilio.

This commit is contained in:
Kaj Forney 2020-02-03 13:43:06 -07:00
parent 8b5121d4fc
commit 11168c8129
No known key found for this signature in database
GPG Key ID: CBB5B366EB4802DD
3 changed files with 35 additions and 22 deletions

View File

@ -52,28 +52,6 @@ sudo apt update && sudo apt install codium -y
#Make Nemo the defualt file manager
xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
#Install the REAL Autopsy for Linux.
apt remove sleuthkit autopsy libtsk13 -y
apt install testdisk -y
wget -q -O - https://download.bell-sw.com/pki/GPG-KEY-bellsoft | sudo apt-key add -
echo "deb [arch=amd64] https://apt.bell-sw.com/ stable main" | sudo tee /etc/apt/sources.list.d/bellsoft.list
apt update
apt install bellsoft-java8 -y
export JAVA_HOME=/usr/lib/jvm/bellsoft-java8-amd64/
echo "JAVA_HOME=/usr/lib/jvm/bellsoft-java8-amd64/" >> /etc/environment
wget https://github.com/sleuthkit/sleuthkit/releases/download/sleuthkit-4.7.0/sleuthkit-java_4.7.0-1_amd64.deb
apt install ./sleuthkit-java_4.7.0-1_amd64.deb -y
rm sleuthkit-java_4.7.0-1_amd64.deb
wget https://github.com/sleuthkit/autopsy/releases/download/autopsy-4.13.0/autopsy-4.13.0.zip
unzip autopsy-4.13.0.zip
rm autopsy-4.13.0.zip
mv autopsy-4.13.0 /opt/autopsy
cd /opt/autopsy
chmod +x unix_setup.sh
./unix_setup.sh
cd /usr/bin
ln -s /opt/autopsy/bin/autopsy autopsy
#Distro-specific stuff
DISTRO=$(cat /etc/lsb-release | grep DISTRIB_ID | cut -c 12-30)

View File

@ -0,0 +1,31 @@
#!/bin/bash
#Root check!
if [ "$EUID" -ne 0 ]
then
echo "You are not root. Please re-run this script with sudo."
exit 1
fi
apt remove sleuthkit autopsy libtsk13 -y
apt install testdisk -y
wget -q -O - https://download.bell-sw.com/pki/GPG-KEY-bellsoft | sudo apt-key add -
echo "deb [arch=amd64] https://apt.bell-sw.com/ stable main" | sudo tee /etc/apt/sources.list.d/bellsoft.list
apt update
apt install bellsoft-java8 -y
export JAVA_HOME=/usr/lib/jvm/bellsoft-java8-amd64/
echo "JAVA_HOME=/usr/lib/jvm/bellsoft-java8-amd64/" >> /etc/environment
wget https://github.com/sleuthkit/sleuthkit/releases/download/sleuthkit-4.8.0/sleuthkit-java_4.8.0-1_amd64.deb
apt install ./sleuthkit-java_4.8.0-1_amd64.deb -y
rm sleuthkit-java_4.8.0-1_amd64.deb
wget https://github.com/sleuthkit/autopsy/releases/download/autopsy-4.14.0/autopsy-4.14.0.zip
unzip autopsy-4.14.0.zip
rm autopsy-4.14.0.zip
mv autopsy-4.14.0 /opt/autopsy
cd /opt/autopsy
chmod +x unix_setup.sh
./unix_setup.sh
cd /usr/bin
ln -s /opt/autopsy/bin/autopsy autopsy
echo "Done! Autopsy 4 should be installed."

View File

@ -0,0 +1,4 @@
#!/bin/bash
wget https://download-cdn.resilio.com/2.6.4.1344/Debian/resilio-sync_2.6.4.1344-1_amd64.deb
apt install ./resilio-sync_2.6.4.1344-1_amd64.deb -y