Saturday, 28 May 2016

How to find the location of tomcat running on centos6

-ps  -ef |  grep tomcat

-whereis   tomcat6

How to Install FileZilla on Centos 6


-su

-sudo -i

-cd /tmp


download the repo

-wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Install repo using RPM

-rpm -ivh epel-release-6-8.noarch.rpm

Install FileZilla

-yum install filezilla

Go to CentOS menu bar

Applications->Internet->FileZilla

Friday, 27 May 2016

How to install Netbeans on centos

1) Download Netbeans


2) Make package executable

-chmod  700  netbeans –8.0.1-linux.sh



3)Install

-./netbeans  -8.0.1-linux.sh

how to install eclipse on centos

1)Download eclipse

       
2)expand/extrack tar file

         -tar -xvzf eclipse-standard-luna-R-macosx-cocoa-x86_64.tar.gz(or whatever version of eclipse /repository you installed)

3)Optional
(Adding read permissions)

           - chmod -R +r /opt/eclipse


Creating executable

              - touch /usr/bin/eclipse
             - chmod 755 /usr/bin/eclipse


4)Start Eclipse

              -Change directory to /eclipse.

               -Run the eclipse program by typing:
                              ./eclipse

How to install Android studio on ubuntu 14.04

Download Android studio

Create new folder (AndroidStudio)

-cd AndroidStudio

cut and paste downloaded folder to AndroidStudio folder

unzip the folder



-cd androidstudio

-cd bin

./studio.sh

Android studio started to install, but after few steps, it may give Error:

                Error-unable to run mksdcard SDK tool in ubuntu

Type and enter following command

       -sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6

Now again type and run 
-./studio.sh

Android studio will be installed.

Thursday, 26 May 2016

How to Install unetbootin on ubuntu 14.04

-sudo add-apt-repository ppa:gezakovacs/ppa

-sudo apt-get update

-sudo apt-get install unetbootin


-sudo su

-sudo /usr/bin/unetbootin

How to Install netbean 8.1 on ubuntu 14.04

1) download jdk
http://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html

2)download netbeans
https://netbeans.org/downloads/

On Linux platforms, the installer file has the .sh extension. For these platforms, you need to make the installer files executable by using the following command: chmod +x <installer-file-name>.
After that, Type ./<installer-file-name> to run the installer.

Open terminal

cd Downloads

make file executable

chmod +x jdk-8u91-nb-8_1-linux-x64.sh
chmod +x netbeans-8.1-javase-linux.sh

run the installer

./jdk-8u91-nb-8_1-linux-x64.sh
./netbeans-8.1-javase-linux.sh

How to clean cache in ubuntu14.04

-sudo /etc/init.d/dns-clean start

-sudo apt-get install nscd

-sudo  /etc/init.d/nscd restart