Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 1.35 KB

UBUNTU.md

File metadata and controls

42 lines (35 loc) · 1.35 KB

Install on Ubuntu

Eviction of Kinsing Malware

sudo apt update
sudo apt install -y firewalld
git clone   https://github.com/crunchy-devops/jenkins-pic.git
chmod +x evict_malware.sh

Pre-requisites on your VM

Useful packages

   sudo apt-get update  # update links to repos
   sudo apt-get -y install git wget htop iotop iftop # install git and monitoring tools
   sudo apt-get -y install python3 python3-venv # install python3 and virtualenv
   sudo apt-get -y install build-essential   # need for installing docker-compose
   sudo apt-get -y install python3-dev libxml2-dev libxslt-dev libffi-dev # need for installing docker-compose
   htop  # check your vm config
   Crtl-c  # exit 

install this repo and docker

cd 
cd jenkins-pic 
python3 -m venv venv  # set up the module venv in the directory venv
source venv/bin/activate  # activate the virtualenv python
pip3 install wheel  # set for permissions purpose
pip3 install ansible # install ansible 
pip3 install requests # extra packages
ansible --version # check the version number # should be the latest 2.10.8+ 
ansible-playbook -i inventory_for_ubuntu install_docker_ubuntu.yml --limit local  # run the playbook for installing docker
# close your IDE and start again 
cd
cd jenkins-pic
source venv/bin/activate