Skip to content

Instantly share code, notes, and snippets.

@xyzkab
Last active April 6, 2018 09:46
Show Gist options
  • Save xyzkab/a9580826bb65ca4716ef7caa9ddd3cd1 to your computer and use it in GitHub Desktop.
Save xyzkab/a9580826bb65ca4716ef7caa9ddd3cd1 to your computer and use it in GitHub Desktop.
Debian Jessie: Install ZAP + Jenkins

Debian Jessie: Install ZAP + Jenkins

  • Disable suggested,recommends pkg
    cat > /etc/apt/apt.conf
    APT::Install-Recommends "0";
    APT::Install-Suggests "0";
    
  • Install apt-https,git,tcpdump,htop
    apt-get update
    apt-get install apt-transport-https git tcpdump htop -y
    
  • Upgrade openjdk-7 to 8
    echo 'deb http://ftp.debian.org/debian jessie-backports main' >> /etc/apt/sources.list
    apt-get update
    apt-get install -t jessie-backports openjdk-8-jre-headless ca-certificates-java -y
    update-alternatives --config java
    
  • Add key,repo jenkins,zap
    wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | apt-key add -
    wget -q -O - https://download.opensuse.org/repositories/home:cabelo/Debian_8.0/Release.key | apt-key add -
    echo 'deb https://pkg.jenkins.io/debian-stable binary/' >> /etc/apt/sources.list
    echo 'deb http://download.opensuse.org/repositories/home:/cabelo/Debian_8.0/ /' >> /etc/apt/sources.list
    
  • Update,install jenkins,zap
    apt-get update
    apt-get install jenkins -y
    apt-get install owasp-zap -y
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment