Tuesday, 27 December 2016

How to install scala on ubuntu 14.04

-Download scala.
-cd Download

-tar -xvzf scala-2.12.1.tgz

-copy scala folder to your home folder.

-cd scala-2.12.1
-cd bin
-./scala
scala REPL shell will appear.

:q to exit from REPL.

make your scala program in gedit file with .scala as extension.

-open scala REPL .

compile the program
-scalac HelloWorld.scala

Execute the program
-scalac HelloWorld

Sunday, 25 December 2016

netbeans -error-"not all requested modules can be enabled"

Go to the netbeans root folder/etc and open netbeans.conf.

Make sure the variable netbeans_jdkhome has the correct value, something like:

netbeans_jdkhome="/usr/lib/jvm/java-8-oracle"

How to run Visual Studio Code as root in Ubuntu 14.04

1)It is recommended to start vscode as a normal user. To run as root, you must specify an alternate user data directory with the --user-data-dir argument.



 sudo code --user-data-dir=~/root

How to install Tizen Studio on Ubuntu 14.04

we must be same place of repository.

->chmod +x <download file name>
->./<download file name>











Friday, 15 July 2016

How to Install dotnet core 1.0 and Asp.net 1.0 on Ubuntu 14.04



-sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
-sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
-sudo apt-get -y update
-sudo apt-get -y install dotnet-dev-1.0.0-preview2-003121



-sudo apt-get -y install curl
-sudo curl --silent --location https://deb.nodesource.com/setup_5.x | sudo bash
-sudo apt-get -y install nodejs


-sudo npm install -g yo


-sudo npm install -g generator-aspnet
 for running console and empty allication run follwing comamnds
-cd Helloworld
-dotnet restore
-dotnet build
-dotnet run

 for web application, choose Bootstrap (3.3.6)and also run one additional command

dotnet ef database update

 so here is all commands to run aspnet1.0 web app

-cd Helloworld
-dotnet restore
-dotnet ef database update
-dotnet build
-dotnet run

go to ->http://localhost:5000/








Saturday, 11 June 2016

temporary Email ID without password

If you do not want to give personnel / business email on every online form, survey,then with Mail Drop, you can create temporary ID.Just simply enter a username and your inbox is created, without needing any password,and you can create multiple accounts as per your need.

However, attachments are not allowed  and inbox flushes every 24 hours.

maildrop.cc

ftp server

If you have setup an FTP server,then  you can use  https://ftptest.net/  to check your configuration settings. This site will try to connect to the server using the ftp server details given by you. The site  will analyze your ftp server . If there are any problems along the way, the site will tell you what is wrong and will display some suggestions how to fix the problem.

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