Skip to content

Instantly share code, notes, and snippets.

@prasadrahul
prasadrahul / userdata_docker_openjdk_jenkins_maven.txt
Last active January 10, 2022 03:49
userdata_docker_openjdk_jenkins_maven
#!/bin/bash
apt-get update
apt-get upgrade
apt-get -y install apt-transport-https ca-certificates wget curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
add-apt-repository "deb https://pkg.jenkins.io/debian-stable binary/"
[code language="Batch"]
@echo OFF
::###################################################
::NOTE:- This script can with in month Range only #
::###################################################
::------------------------------------------------------
::SET Today=%Date:~10,4%-%Date:~4,2%-%Date:~7,2%
:: ^ ^ ^ ^ ^
:: | | | | |
@prasadrahul
prasadrahul / Apache_bugzilla_default.conf
Created May 19, 2015 04:56
Apache Configuration for Bugzilla
<VirtualHost *:80>
ServerAdmin prasad_rahul@yahoo.co.in
Alias /bugzilla/ /var/www/bugzilla/
<Directory "/var/www/bugzilla">
AddHandler cgi-script .cgi .pl
DirectoryIndex index.cgi
Options +Indexes +ExecCGI -MultiViews +SymLinksIfOwnerMatch +FollowSymLinks
@prasadrahul
prasadrahul / Nginx_Configuration_for_Bugzilla.conf
Last active August 29, 2015 14:21
Nginx_Configuration_for_Bugzilla
# You may add here your
server {
#listen 80; ## listen for ipv4; this line is default and implied
#listen [::]:80 default ipv6only=on; ## listen for ipv6
# Make site accessible from http://localhost/
server_name localhost;
root /var/www/bugzilla;
index index.html index.htm index.cgi index.pl;