diff --git a/INSTALL.md b/INSTALL.md index 6f5f191..b2ad477 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -9,9 +9,9 @@ CORE i5 - 4G RAM - 30G disk Installation ------------ -Install Ubuntu 22.04 server LTS +Install [Ubuntu 22.04 server LTS](https://ubuntu.com/download/server) -select (x) Ubuntu Server (minimized) +during the installation, select (x) Ubuntu Server (minimized) Choose to "install OpenSSH server" diff --git a/install.sh b/install.sh index 66682da..0deb9a6 100755 --- a/install.sh +++ b/install.sh @@ -138,13 +138,8 @@ dpkg --ignore-depends=libssl0.9.8 -i cav-linux_x64.deb wget http://cdn.download.comodo.com/av/updates58/sigs/bases/bases.cav -O /opt/COMODO/scanners/bases.cav -# Remove unused workers -su rm pandora/workers/msodde* -su rm pandora/workers/odf* -su rm pandora/workers/qrcode* - # Update Pandora -su - $SUDO_USER -c 'cd pandora; ../.local/bin/poetry run update --yes' +su - $SUDO_USER -c '~/.local/bin/poetry run update --yes' # Remove unused workers su - $SUDO_USER -c "rm ~/pandora/pandora/workers/blocklists.*" @@ -157,6 +152,9 @@ su - $SUDO_USER -c "rm ~/pandora/pandora/workers/ole.*" su - $SUDO_USER -c "rm ~/pandora/pandora/workers/preview.*" su - $SUDO_USER -c "rm ~/pandora/pandora/workers/virustotal.*" su - $SUDO_USER -c "rm ~/pandora/pandora/workers/xml*" +su - $SUDO_USER -c 'rm ~/pandora/pandora/workers/msodde*' +su - $SUDO_USER -c 'rm ~/pandora/pandora/workers/odf*' +su - $SUDO_USER -c 'rm ~/pandora/pandora/workers/qrcode*' # Remove files from quarantine after 180 days { crontab -l -u $SUDO_USER; echo '0 * * * * find /var/quarantine/* -type f -mtime +180 -delete '; } | crontab -u $SUDO_USER -