Skip to content

Instantly share code, notes, and snippets.

View mahamuniraviraj's full-sized avatar

Raviraj Mahamuni mahamuniraviraj

  • Satara, India
View GitHub Profile
# To initialize a Git repository here, type the following command:
git init
# To get the current state of our repository
git status
# To Add files to staging area
git add filename.ext
git add *.java
@mahamuniraviraj
mahamuniraviraj / setenv.sh
Created June 26, 2017 12:19 — forked from patmandenver/setenv.sh
Tomcat8 setenv.sh
#
# Cutom Environment Variables for Tomcat
#
############################################
export JAVA_HOME=/usr/lib/jvm/java-7-oracle/jre
export PATH=${JAVA_HOME}/bin:${PATH}
############################################
#
# JAVA_OPTS
@mahamuniraviraj
mahamuniraviraj / InstallMySQLOnCentOs7.txt
Created May 20, 2017 20:54
Install Mysql Community server latest (v5.7) on Centos 7
# Download the rpm file to add mysql repository from https://dev.mysql.com/downloads/repo/yum/
# download (mysql57-community-release-el7-XX.noarch.rpm) here XX is current version
# Downloaded file (mysql57-community-release-el7-11.noarch.rpm)
# Now add mysql repo
rpm -ivh mysql57-community-release-el7-11.noarch.rpm
# Now we can install mysql community
@mahamuniraviraj
mahamuniraviraj / installJava.txt
Last active May 10, 2017 16:03
Install Oracle Java 8 on CentOS 7
java -version
# visit http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
# determine latest jdk version
# accept license and select i586/x64 rpm version and click download .ex jdk-8uXXX-linux-x64.rpm where XXX is revision