Created
July 23, 2019 18:33
-
-
Save aljaxus/57f844b7eca5933a0edbfa6b9f7b14f3 to your computer and use it in GitHub Desktop.
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 install epel-release -y | |
yum update -y | |
yum install htop bmon vim git curl rsync wget java-1.8.0-openjdk -y | |
# Install requirements | |
yum install python-devel -y | |
yum groupinstall "Development tools" -y | |
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 | |
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment