This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script install OpenJDK 1.8 in Ubuntu 16.04 | |
# Author Mansur Ul Hasan | |
# [email protected] | |
# Adding PPA repository | |
add-apt-repository ppa:openjdk-r/ppa -y | |
# Updating System Repository | |
apt-get update -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script is written to install Bower Node and NPM | |
# on Ubuntu Server 16.04 & 14.04 LTS | |
# Author Mansur Ul Hasan | |
# Email [email protected] | |
echo "Downloading Meta Items..." | |
wget -O - http://debian.neo4j.org/neotechnology.gpg.key | apt-key add - | |
echo 'deb http://debian.neo4j.org/repo stable/' > /etc/apt/sources.list.d/neo4j.list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script is written to install Bower Node and NPM | |
# on Ubuntu Server 16.04 & 14.04 LTS | |
# Author Mansur Ul Hasan | |
# Email [email protected] | |
install_proc () { | |
echo "Downloading Source Setup" | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | |
sleep 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script is written to install redis | |
# on Ubuntu Server 16.04 & 14.04 LTS | |
# Author Mansur Ul Hasan | |
# Email [email protected] | |
Configuration_Redis () { | |
echo "Configuration Started...!" | |
mkdir /etc/redis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## PhantomJS Secret dependencies for CasperJS | |
Rapt-get install libfontconfig -y | |
## Installing NodeJS | |
apt-get install nodejs -y | |
## Installing NPM | |
apt-get install npm -y | |
apt-get install pkg-config make g++ -y | |
#RUN add-apt-repository ppa:chris-lea/node.js -y | |
#RUN apt-get update -y | |
#RUN apt-get install nodejs -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################## Setting up JAVA ################## | |
##echo "Downloading JAVA JDK 1.8 from Local repository......" | |
wget https://www.dropbox.com/s/dwsqw6gofynaf5e/jdk1.8.0_91.tar?dl=0 | |
mv jdk1.8.0_91.tar?dl=0 jdk1.8.0_91.tar | |
##echo "Installing JAVA JDK 1.8" | |
mkdir -p /usr/java | |
mv jdk1.8.0_91.tar /usr/java/ | |
#cd /usr/java/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script install Mongo 3.2.15 in Ubuntu 16.04 | |
# Author Mansur Ul Hasan | |
# [email protected] | |
# Adding gpg key | |
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 | |
# Adding MongoDB repository | |
echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script is used to install PHP 5.4.3 | |
# In UBUNTU and Debian | |
# Author : Mansur Ul Hasan | |
# Email : [email protected] | |
# Compile / Install PHP from Source | |
cd /usr/local/src | |
wget -O- https://s3-us-west-2.amazonaws.com/lamp-software/latest/php-5.4.33.tar.gz | tar -zxf - | |
cd php-5.4.33 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# SQUID Installation automation | |
# Author Mansur Ul Hasan | |
# [email protected] | |
echo " | |
+++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
Installation script for SQUID 3.1.23 | |
This script is designed by | |
Mansur Ul Hasan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script is written to collect system stats. | |
# Author : Mansur Ul Hasan | |
# Email : [email protected] | |
# Check RAM and SWAP Usages | |
free -m | grep -v "+\|You" > /tmp/ramcache | |
echo -e '\E[32m'"Ram Usages :" $tecreset | |
cat /tmp/ramcache | grep -v "Swap" | |
echo -e '\E[32m'"Swap Usages :" $tecreset |