Posts

Showing posts from December, 2015

Redirecting application to specific URL after logout in Liferay.

You just need to append an URL after logout URL as below... your_logout_url?referer=url_to_redirect

How to extend Liferay 6.2 session timeout by AJAX call?

There are lot of solutions present on Liferay forum, stackoverflow and many more can be found on google but all are very difficult, not clear and also not working.... So I found a simple solution which is working and I am sharing it with you people, and hope you will find it helpful!!! You just have to add below line to each AJAX call success at client side (in JavaScipt / JQuery / AngularJS). Liferay.Session.extend();

How to check Ubuntu Linux operating system architecture is 32 bit OR 64 bit?

Image
To see if your Ubuntu Linux operating system architecture is 32-bit or 64-bit, open up a terminal and run the following command below. file /sbin/init     Here is the example of output. First line itself tell you  the architechture as 32-bit

How to Install MySQL on Ubuntu 14.04?

Image
Here is the simplest way to install latest MySQL server on Ubuntu 14.04. Step 1. Open Terminal(Command prompt) in Ubuntu. Step 2. Fire command given below, sudo apt-get install mysql-server Step 3. In between it will ask for Yes/No, here you have to press Yes otherwise Y and press enter key. Step 4. Further it will ask for "root" user password, just give a password of your choice and hit enter key. And that's it. Installation is finished. To start working on MySQL, just give following command in terminal, mysql -u root -p Then it will ask for "root" user password, so give password you entered at the time of installation and hit enter key. You are now ready to fire sql commands.