Difference between pages "Package:Liferay" and "Talk:Intel64-haswell"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
(Suggestion to add the "LZCNT" flag to CPU_FLAGS_X86)
 
Line 1: Line 1:
{{Ebuild
Should the CPU_FLAGS suggested on this page include "lzcnt"?
|Summary=The Community Edition of Liferay, an leading Content Management System using Java.
As listed here [1] lzcnt was adopted in Intel Haswell.
|CatPkg=www-apps/liferay-portal
|Homepage=http://www.liferay.com/
}}


There are multiple ways to install Liferay on your Funtoo System.
Or is there a special reason that LZCNT was not listed on this page?
Note: I will use tomcat as server, there might be slight differences if you want to use another server like glassfish.


1) Tomcat + Liferay - Manual setup.
[1] http://www.funtoo.org/CPU_FLAGS
 
2) Tomcat + Liferay - Bundle.
 
3) Tomcat + Liferay - Ebuild.
 
 
I have chosen to use the third method.
 
Tomcat + Liferay - Ebuild:
 
First we need to add an overlay (https://github.com/cvut/gentoo-overlay) to our current system, since the ebuild is not part of the gentoo,funtoo tree.
You need to have layman correctly installed. Then add the following git overlay using layman:
 
layman -o https://raw.github.com/cvut/gentoo-overlay/master/overlay.xml -f -a cvut
 
{{Note|You need to have Java (JDK)}}
 
Now install: 'emerge liferay-portal'
 
For liferay to work you need a SQL Database.
 
a) Postgresql
 
b) DB2 -IBM
 
 
Liferay supports many different DBs but I would chose a) or b):
Install your DB and create a new user (=liferay-user) and a new Database (=lportal).
Start your DBs Deamon and make sure your firewall (iptables) allows loopback access for localhost.
 
Then configure /etc/liferay-6.2/portal-context.xml and /opt/liferay-portal-6.x/... to use the DB correctly. (Details comming soon, this howTO is not ready yet)
 
{{PageNeedsUpdates}}
{{SectionNeedsUpdates}}
{{EbuildFooter}}

Revision as of 19:24, May 9, 2015

Should the CPU_FLAGS suggested on this page include "lzcnt"? As listed here [1] lzcnt was adopted in Intel Haswell.

Or is there a special reason that LZCNT was not listed on this page?

[1] http://www.funtoo.org/CPU_FLAGS