mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 13:29:42 +02:00
Merge branch 'main' of github.com:dbarzin/pandora-box
This commit is contained in:
commit
35dd5acfc8
2 changed files with 15 additions and 13 deletions
|
@ -15,9 +15,11 @@ during the installation, select (x) Ubuntu Server (minimized)
|
||||||
|
|
||||||
Choose to "install OpenSSH server"
|
Choose to "install OpenSSH server"
|
||||||
|
|
||||||
|
Create an intial user called *pandora*
|
||||||
|
|
||||||
That's all, no other packages needed
|
That's all, no other packages needed
|
||||||
|
|
||||||
After reboot, login with the user created during the install and type :
|
After reboot, login with the user *pandora* created during the install and type :
|
||||||
|
|
||||||
sudo apt install -y git
|
sudo apt install -y git
|
||||||
git clone https://github.com/dbarzin/pandora-box
|
git clone https://github.com/dbarzin/pandora-box
|
||||||
|
|
24
install.sh
24
install.sh
|
@ -64,8 +64,8 @@ chown -R $SUDO_USER redis
|
||||||
#---------------------
|
#---------------------
|
||||||
# Kvrocks
|
# Kvrocks
|
||||||
#---------------------
|
#---------------------
|
||||||
sudo apt-get update
|
apt-get update
|
||||||
sudo apt install -y git gcc g++ make cmake autoconf automake libtool python3 libssl-dev
|
apt install -y git gcc g++ make cmake autoconf automake libtool python3 libssl-dev
|
||||||
|
|
||||||
if [ -d "kvrocks" ];
|
if [ -d "kvrocks" ];
|
||||||
then
|
then
|
||||||
|
@ -93,14 +93,14 @@ fi
|
||||||
apt-get install --fix-broken -y
|
apt-get install --fix-broken -y
|
||||||
|
|
||||||
# install packages
|
# install packages
|
||||||
sudo apt install -y python3-dev # for compiling things
|
apt install -y python3-dev # for compiling things
|
||||||
sudo apt install -y libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0 # For HTML -> PDF
|
apt install -y libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0 # For HTML -> PDF
|
||||||
sudo apt install -y libreoffice-nogui # For Office -> PDF
|
apt install -y libreoffice-nogui # For Office -> PDF
|
||||||
sudo apt install -y exiftool # for extracting exif information
|
apt install -y exiftool # for extracting exif information
|
||||||
sudo apt install -y unrar # for extracting rar files
|
apt install -y unrar # for extracting rar files
|
||||||
sudo apt install -y libxml2-dev libxslt1-dev antiword unrtf poppler-utils pstotext tesseract-ocr flac ffmpeg lame libmad0 libsox-fmt-mp3 sox libjpeg-dev swig # for textract
|
apt install -y libxml2-dev libxslt1-dev antiword unrtf poppler-utils pstotext tesseract-ocr flac ffmpeg lame libmad0 libsox-fmt-mp3 sox libjpeg-dev swig # for textract
|
||||||
sudo apt install -y libssl-dev # seems required for yara-python
|
apt install -y libssl-dev # seems required for yara-python
|
||||||
sudo apt install -y libcairo2-dev # Required by reportlab
|
apt install -y libcairo2-dev # Required by reportlab
|
||||||
|
|
||||||
apt install -y rsyslog cron # log logging
|
apt install -y rsyslog cron # log logging
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ 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
|
wget http://cdn.download.comodo.com/av/updates58/sigs/bases/bases.cav -O /opt/COMODO/scanners/bases.cav
|
||||||
|
|
||||||
# Update Pandora
|
# Update Pandora
|
||||||
su - $SUDO_USER -c '~/.local/bin/poetry run update --yes'
|
su - $SUDO_USER -c "cd ~/pandora; poetry run update --yes"
|
||||||
|
|
||||||
# Remove unused workers
|
# Remove unused workers
|
||||||
su - $SUDO_USER -c "rm ~/pandora/pandora/workers/blocklists.*"
|
su - $SUDO_USER -c "rm ~/pandora/pandora/workers/blocklists.*"
|
||||||
|
@ -210,7 +210,7 @@ usermod -a -G tty $SUDO_USER
|
||||||
usermod -a -G syslog $SUDO_USER
|
usermod -a -G syslog $SUDO_USER
|
||||||
|
|
||||||
# logrotate
|
# logrotate
|
||||||
sudo apt install logrotate
|
apt install logrotate
|
||||||
echo "/var/log/pandora-box.log {" > /etc/logrotate.d/pandora-box
|
echo "/var/log/pandora-box.log {" > /etc/logrotate.d/pandora-box
|
||||||
echo " rotate 12" >> /etc/logrotate.d/pandora-box
|
echo " rotate 12" >> /etc/logrotate.d/pandora-box
|
||||||
echo " monthly" >> /etc/logrotate.d/pandora-box
|
echo " monthly" >> /etc/logrotate.d/pandora-box
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue