# - Dependencies
yum -y install gcc gcc-c++ make zlib-devel pcre-devel openssl-devel geoip-devel rpm-build
# - Creating user to perform this process, as the same is not recommended with root user:
useradd -m rpmbuilder
| #!/usr/bin/env python | |
| import time | |
| import urllib.parse | |
| from zapv2 import ZAPv2 | |
| from pprint import pprint | |
| apikey = '' | |
| context_name = 'Scan_Full' | |
| target_url = 'http://demo.testfire.net' | |
| include_url = ['http://demo.testfire.net.*'] | |
| login_url = 'http://demo.testfire.net/login.jsp' |
| from pyArchery import api | |
| from optparse import OptionParser, OptionGroup | |
| import json | |
| import time | |
| parser = OptionParser() | |
| group = OptionGroup(parser, "", | |
| "") | |
| parser.add_option_group(group) |
| node { | |
| stage('checkout') { | |
| checkout scm | |
| } | |
| stage('deploy') { | |
| echo 'branch name ' + env.BRANCH_NAME | |
| if (env.BRANCH_NAME.startsWith("Feature_")) { | |
| sh "mvn sonar:sonar" |
| #!/bin/bash | |
| echo "Inform the user:" | |
| read user | |
| for cmds in `cat comands.txt` | |
| do | |
| setfacl -m u:$user:r-- `which $cmds` |
| #!/usr/bin/env python | |
| ## | |
| # Script Em pyhon | |
| # Autor -> José Borges | |
| ## | |
| import os | |
| import csv | |
| --- | |
| - hosts: tux | |
| tasks: | |
| - name: Install Java 1.8 | |
| yum: name={{item}} state=present | |
| with_items: | |
| - java-1.8.0-openjdk | |
| - name: "Instala o wget e unzip" |
Module installation procedure - vhost_traffic_status - NGINX
# - Dependencies
yum -y install gcc gcc-c++ make zlib-devel pcre-devel openssl-devel geoip-devel
# - Download Packages
# - nginx-module-vts