Last active
July 23, 2019 18:46
-
-
Save aljaxus/2afac20dd78c6490f4f8b54244a05a9d to your computer and use it in GitHub Desktop.
centos7-install_mark2.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum update -y | |
# Install requirements | |
yum install python-devel -y | |
yum groupinstall "Development tools" | |
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel -y | |
yum install python-devel -y | |
yum install python-pip -y | |
pip install psutil urwid feedparser | |
pip install --upgrade pip | |
# Install mark2 | |
git clone https://github.com/aljaxus/mark2.git | |
mkdir /etc/mark2 | |
cp mark2/mk2/resources/mark2.default.properties /etc/mark2/mark2.properties | |
mv mark2 /usr/mark2 | |
cd /usr/mark2 | |
sudo ln -s /usr/mark2/mark2 /usr/bin/mark2 | |
sudo pip install -r requirements.txt | |
mark2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment