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
Thursday, July 14, 2016
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....
Friday, June 21, 2013
Ubuntu | git | ssh| Read from socket failed: Connection reset by peer fatal | Resolved
I didn't get to the root cause. My best finding is that the connection packets are too big for the server to handle, and the connection is reset.
Workarounds: limit the packet size. Two alternatives:
Limit cipher list length by using '-c ' in the ssh command line, e.g. '-c aes256-ctr'
OR YOU HAVE TO ADD FOLLOWING TO at the end of file ~/.ssh/config or in ubuntu sudo vim /etc/ssh/ssh_config
1. Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
2. HostKeyAlgorithms ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss
Saturday, November 24, 2012
Friday, September 14, 2012
If I'm quiet, you too watching everything silently
The breeze is helpless because of gratitude...
Watched the truth of every human
The air seem to be filling the breath with poison... We are living a meaningless life... Every happiness had turned dark... I had prayed goddess which came true.. If I'm culprit, even you're no less at fault... If I'm quiet, you too watching everything silently Oh god, why are you helpless... We all are your creation.... All my illusions are shattered... The heart is scathed... Why are you oblivious to your own world? I don't like destiny written by you, Oh Lord... My heart says to leave this world of sorrow.... Everything is false here.... O god, you are omniscient.. try to be a human.... We had to die everyday to live.... try this life too... Let me crush this faith.... I am my own god now... Now I don't want your mercy.... No Favors.... Watch for tribute all lovers...
The air seem to be filling the breath with poison... We are living a meaningless life... Every happiness had turned dark... I had prayed goddess which came true.. If I'm culprit, even you're no less at fault... If I'm quiet, you too watching everything silently Oh god, why are you helpless... We all are your creation.... All my illusions are shattered... The heart is scathed... Why are you oblivious to your own world? I don't like destiny written by you, Oh Lord... My heart says to leave this world of sorrow.... Everything is false here.... O god, you are omniscient.. try to be a human.... We had to die everyday to live.... try this life too... Let me crush this faith.... I am my own god now... Now I don't want your mercy.... No Favors.... Watch for tribute all lovers...
Subscribe to:
Posts (Atom)