Skip to content

Instantly share code, notes, and snippets.

View mansurali901's full-sized avatar

Mansur Ul Hasan mansurali901

View GitHub Profile
@mansurali901
mansurali901 / setup_apachemavenUbuntu16.sh
Last active October 22, 2018 15:47
Setup Apache Maven on Ubuntu 16.04 LTS
# This script install Apache Maven 3.5.2 in Ubuntu 16.04
# Author Mansur Ul Hasan
# [email protected]
CleanUp () {
# Removing Source Code
rm -f apache-maven-3.5.2-bin.tar.gz
}
@mansurali901
mansurali901 / setup_redis4-sourceCompile.sh
Last active June 29, 2018 06:56
This script will install Redis on Ubuntu or CentOS or RHEL7
#!/bin/bash
# This script install Redis 4 in RHEL7 / Ubuntu
# This installation is done from source code.
# Author : Mansur Ul Hasan
# Email : [email protected]
# Main Function
InstallR () {
cd /usr/local/redis
make distclean
@mansurali901
mansurali901 / setup_mongo3.4Precompiled.sh
Last active January 3, 2018 07:12
Setting up Mongo 3.4 precompiled binaries
#!/bin/bash
# This script install Redis 4 in RHEL7 / Ubuntu
# This installation is done from source code.
# Author : Mansur Ul Hasan
# Email : [email protected]
#
apt-get update -y
apt-get install libssl1.0.0 libssl-dev -y
mkdir -p /usr/local/mongo/
@mansurali901
mansurali901 / setup_neo4_precompiled.sh
Last active November 30, 2017 09:28
Setting up versions for Neo4j graph database
# This script install Apache Maven 3.5.2 in Ubuntu 16.04
# Author Mansur Ul Hasan
# [email protected]
DownloadVersion () {
case $1 in
setup_2-3-11)
wget -O neo4j-community-2.3.11-unix.tar.gz https://www.dropbox.com/s/uz2kb0kz1b4vwz6/neo4j-community-2.3.11-unix.tar.gz?dl=0
mv `pwd`/neo4j-community-2.3.11-unix.tar.gz /usr/local/
@mansurali901
mansurali901 / notifier
Created January 1, 2018 07:33
LDAP Notifier
#
#!/bin/bash
# This script Mysql 5.7 from RPM Builder
# Author Mansur Ul Hasan
# [email protected]
Prepass () {
echo "Preparing Environement ....."
yum groupinstall "Development Tools"
yum install ncurses-dev libaio perl-DBI
@mansurali901
mansurali901 / setup_mysql5.7_source.sh
Last active September 22, 2020 00:04
Setup Mysql 5.7 from Source Code
#!/bin/bash
# This script used to install Mysql 5.7
# from source Code
# Author Mansur Ul Hasan
# [email protected]
# Environment Function
PrepBuildEnvFunc () {
#This COnfiguraion is written by Mansur ul Hasan
# The MySQL Server 5.7 configuration file.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
@mansurali901
mansurali901 / setup_apache_2.4.32.sh
Last active March 19, 2018 13:19
Install Apache2 in CentOS 6.8 with APR 1.6.3
#!/bin/bash
# This script is designed to installation apache
# from source code with all options using apr &
# apr-utils and library for portability
# Author : Mansur Ul Hasan
# EMail : [email protected]
# Skype : genious840
# Facebook : https://www.facebook.com/itmarkaz
# YouTube : https://www.youtube.com/user/mansur7820
@mansurali901
mansurali901 / setup_rootssh.sh
Last active May 20, 2019 09:32
Setup Root SSH for logging session bases SSH sessions logging
#!/bin/bash
# This script is designed to install
# the SSH terminal logging
# currently this script is only work on
# CentOS & Ubuntu
# Author : Mansur Ul Hasan
# EMail : [email protected]
# Skype : genious840
# Facebook : https://www.facebook.com/itmarkaz
# YouTube : https://www.youtube.com/user/mansur7820