Tuesday, November 4, 2014

Project Configuration in MyEclipse (1)

1. right click on project, properties, search "Web", change web context-root as "/", this will deploy the project as ROOT.

2. right click on Tomcat 8.x, Configure Server Connector, optional program arguments:
-Xms764m -Xmx1536m -XX:PermSize=64M -XX:MaxPermSize=320M

Tuesday, July 22, 2014

How to import sql file in MySQL console to database

Suppose the sql file is named as file.sql, the path to the sql file is path.
To import the sql file to a Mysql database from MySQL console,
mysql> use DATABASE_NAME;
mysql> source path/file.sql;

How to start and stop MySQL services in Ubuntu Linux

Q. How do I start and stop mysql server under Debian / Ubuntu Linux system?
A. Simply use service or /etc/init.d/mysql script to start / stop / restart mysql database server.
Start MySQL Server

Monday, July 21, 2014

How to install and uninstall MySQL in Ubuntu Linux

This post talks about how to install and remove MySQL to and from the Ubuntu Linux system.

How to install Java JDK in Linux

To install JDK in UBuntu, a simple way is to follow the steps below:

INSTALLING SUN JDK 6 UPDATE 45 ON UBUNTU

Sunday, July 20, 2014

How to completely uninstall Java in Linux

To completely remove Java JRE or JDK installed on Linux, follow the steps below:

How to search and find files on Linux

Find by Name
To find a file by name, type:
find -name "query"
To find a file by name, but ignore the case of the query, type:
find -iname "query"