Secure the installation by using this command:
$ sudo mysql_secure_installation
This will allow you to set the limitation on how you can access mysql

Here is a sample log details:
Enter current password for root (enter for none):
OK, successfully used password, moving on…

Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.

You already have a root password set, so you can safely answer ‘n’.

Change the root password? [Y/n] n
… skipping.

By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] y
… Success!

Normally, root should only be allowed to connect from ‘localhost’. This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] n
… skipping.

By default, MySQL comes with a database named ‘test’ that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] n
… skipping.

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] y
… Success!

Cleaning up…

All done! If you’ve completed all of the above steps, your MySQL
installation should now be secure.

Thanks for using MySQL

We have successfully install our MySQL Database Server.

We will install MySql Navigator so that we can easily access our MySQL Database Server, type this command:
$ sudo apt-get install mysql-navigator

We already set up Liferay-Tomcat runtime server in our eclipse. But what if we want Jboss server? Currently JBoss local server adapters for Liferay servers are not supported in Eclipse IDE (http://issues.liferay.com/browse/IDE-519). The work around is to setup Jboss 7 in our Eclipse. Here are the steps:

In Eclipse IDE, go to Help > Eclipse Marketplace.

On the Eclipse Marketplace window search for Jboss Tools for Indigo

Click Install.

Confirm the features to be included by clicking Next.

Accept the license agreement and click Finish.

After plugins download and install, accept that the content is unsigned by clicking OK

We need to restart Eclipse for installation to take effect. Click Restart now.

Now we already have an Liferay IDE, and SDK plugins in our Eclipse. We will now setup the Liferay Portal 6.1 Bundled with tomcat(you can choose any servlet container or web server, for this tutorial I will choose Tomcat). Here are the steps:

I have developed portlets for Liferay portal in my previous work. And I will be working again with Liferay in my upcoming project so i decided to create a tutorial on how to setup Liferay IDE and Liferay runtime environment and also create portlets using spring-portlets.

For those who don’t know what is Liferay, Liferay is an opensource enterprise portal that is used to power intranet and extranet. It is sometimes describe as CMS (content management system), but it is not just a CMS you can setup features in Liferay like Blogs, News and add portlets(there are already made portlets that you can include in your Liferay Portal or you can develop your own portlet.)

Welcome to https://amdrill.wordpress.com! I want to share some of my knowledge and experience about java, j2ee, linux(ubuntu) and everything about computers(hardware and sorftware). I hope I can be a big help to everyone.