The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:Liferay"
Line 41: | Line 41: | ||
Then configure /etc/liferay-6.2/portal-context.xml to use the DB correctly. (Username,Password,..) | Then configure /etc/liferay-6.2/portal-context.xml to use the DB correctly. (Username,Password,..) | ||
Now you can start liferay and login (x.x.x.x:8080) with user=test@liferay.com, password=test, you should change the username + password as soon as possible. | |||
{{PageNeedsUpdates}} | {{PageNeedsUpdates}} | ||
{{SectionNeedsUpdates}} | {{SectionNeedsUpdates}} | ||
{{EbuildFooter}} | {{EbuildFooter}} |
Latest revision as of 15:36, April 10, 2015
Liferay
We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.
There are multiple ways to install Liferay on your Funtoo System. 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.
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
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
c) ...
If you use b) or c) you need to take care of a JDBC driver for your DB yourself
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 to use the DB correctly. (Username,Password,..)
Now you can start liferay and login (x.x.x.x:8080) with user=test@liferay.com, password=test, you should change the username + password as soon as possible.
This section is in need of updates.