Share with Nalin
Monday, June 19, 2017
Tuesday, July 26, 2016
Thursday, July 21, 2016
Install forticlient on Ubuntu 14.04
1. Download the relavent Forticlient – SSLVPN .deb packages from https://hadler.me/linux/forticlient-sslvpn-deb-packages/
2. sudo dpkg --force-depends -i <sslvpn>.deb
or ELSE this also may work
1. sudo apt-get install lib32gcc1
2. sudo dpkg -i forticlient-sslvpn_4.4.2313-1_amd64.deb
2. sudo dpkg --force-depends -i <sslvpn>.deb
or ELSE this also may work
1. sudo apt-get install lib32gcc1
2. sudo dpkg -i forticlient-sslvpn_4.4.2313-1_amd64.deb
Thursday, July 14, 2016
Install MySQL 5.7 | MySQL 5.6| MySQL 5.5 on ubuntu 14.04
Install MySQL 5.7
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository -y ppa:ondrej/mysql-5.7
$ sudo apt-get update
$ sudo apt-get install mysql-server
Install MySQL 5.6
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository -y ppa:ondrej/mysql-5.6
$ sudo apt-get update
$ sudo apt-get install mysql-server
Install MySQL 5.5
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository -y ppa:ondrej/mysql-5.5
$ sudo apt-get update
$ sudo apt-get install mysql-server
Verify installed version
Check your version using ===>
nalin@nalin-e2:~$ mysql --version
mysql Ver 14.14 Distrib 5.7.12, for Linux (x86_64) using EditLine wrapper
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository -y ppa:ondrej/mysql-5.7
$ sudo apt-get update
$ sudo apt-get install mysql-server
Install MySQL 5.6
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository -y ppa:ondrej/mysql-5.6
$ sudo apt-get update
$ sudo apt-get install mysql-server
Install MySQL 5.5
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository -y ppa:ondrej/mysql-5.5
$ sudo apt-get update
$ sudo apt-get install mysql-server
Verify installed version
Check your version using ===>
nalin@nalin-e2:~$ mysql --version
mysql Ver 14.14 Distrib 5.7.12, for Linux (x86_64) using EditLine wrapper
Wednesday, June 1, 2016
JavaScript Graph Library
I am doing R&D for graph library... found ... Dracula
Dracula.js is a set of tools to display and layout interactive connected graphs and networks, along with various related algorithms from the field of graph theory.
For more information visit https://www.graphdracula.net/
Saturday, May 28, 2016
Fix corrupt NTFS partition without Windows
Install ntfs-3g with sudo apt-get install ntfs-3g.
Then run the ntfsfix command on your NTFS partition.
For example: ntfsfix /dev/hda6 ntfsfix v2.0.0 (libntfs 10:0:0)
Usage: ntfsfix [options] device Attempt to fix an NTFS partition. -h, --help Display this help -V, --version
Display version information linux-ntfs-dev@lists.sf.net Linux NTFS homepage: http://www.linux-ntfs.org
Then run the ntfsfix command on your NTFS partition.
For example: ntfsfix /dev/hda6 ntfsfix v2.0.0 (libntfs 10:0:0)
Usage: ntfsfix [options] device Attempt to fix an NTFS partition. -h, --help Display this help -V, --version
Display version information linux-ntfs-dev@lists.sf.net Linux NTFS homepage: http://www.linux-ntfs.org
Thursday, May 29, 2014
'tools.jar' seems to be not in IDEA classpath. Please ensure JAVA_HOME points to JDK
Here are what I did then:
1. Know what exactly the problem is: the problem is that the JAVA_HOME in my system did not point to JDK. Instead, it points to a JRE. JRE can only be used to run java applications, not to build them.
2. Check the java path used by the system. In terminal, I typed the following
$ java -version
The output was
$ java -version
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode
Find out more
$ update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 auto mode
1 /usr/lib/jdk1.6.0_45/bin/java 1 manual mode
2 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 manual mode
As I see in lot of posts, I have to use java-7-openjdk.
But I changed it JDK path So I have to change the selection into 2. OK... now type 2 and enter.
That's only you are ready to go now....
Subscribe to:
Comments (Atom)