-
Notifications
You must be signed in to change notification settings - Fork 68
Quokka VM Installed Software
This is for advanced users, who are comfortable with the whole software development thing, and are interested in how I created the VM on which Quokka is running.
However, even if you are new to this, you will be able to appreciate how much open source software is out there, and available for use in creating Python applications like quokka.
Note: the information below was created by me, as a reminder to myself what software I needed, in order to build quokka on new VMs. It isn't a set of specific steps (you can see comments I make here or there), although it can be used as a guide for building your system. I have used this as a guide for building on both Ubuntu, and Kali (which is a derivative of Xubuntu) versions of Linux.
Here's a list of all the software that is installed and used by Quokka:
apt:
sudo apt-get install python3-pip
sudo apt-get install nodejs
sudo apt-get install npm
sudo apt-get install git
sudo apt-get install sqlite3
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt-get install ./google-chrome-stable_urrent_amd64.deb
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get install postgresql
sudo apt-get install postgresql-contrib
sudo apt-get install tshark
sudo apt-get install snap (not sure this is necessary)
sudo apt-get install snapd
sudo apt-get install rabbitmq-server
sudo apt-get install nmap
sudo apt-get install graphviz
pip3:
sudo pip3 install flask
sudo pip3 install flask-sqlalchemy
sudo pip3 install flask_cors
sudo pip3 install net-tools
sudo pip3 install tabulate
sudo pip3 install python_arptable
sudo pip3 install napalm
sudo pip3 install ntplib
sudo pip3 install psycopg2-binary
sudo pip3 install psutil
sudo pip3 install pyshark
sudo pip3 install scapy
sudo pip3 install pika
sudo pip3 install scapy2dict
sudo pip3 install python-nmap
sudo pip3 install pymongo
sudo pip3 install flask_restx
sudo pip3 install flask_limiter
snap
(kali)
sudo systemctl start snapd
sudo systemctl enable snapd
sudo systemctl start apparmor
sudo systemctl enable apparmor
snap install pycharm-community --classic
snap install webstorm --classic
npm
npm install npx
npm install react
npm install react-dom
npm install typography
npm install @material-ui/core
npm install @material-ui/icons
npm install react-scripts (do this from your react UI directory, e.g. quokka/quokka-ui)
npm install react-vis
npm install material-table
npm install typeface-roboto
npm install react-diff-viewer
postgres:
sudo service postgresql start
sudo -u postgres createuser --interactive
... role ...: quokka (needs to match username on system)
... superuser ...: y
sudo -u postgres createdb quokka
createdb quokka
flask
edit .bashrc (e.g. vi .bashrc)
add:
export FLASK_APP=quokka
rabbitmq
sudo apt-get install rabbitmq-server
sudo pip3 install pika
sudo service rabbitmq-server start
sudo systemctl enable rabbitmq-server
sudo rabbitmqctl add_user quokkaUser quokkaPass
sudo rabbitmqctl set_permissions quokkaUser "." "." "."