Community Forums
Combination View Flat View Tree View
Threads [ Previous | Next ]
Basic Installation
toggle
Basic Installation
1/26/07 1:51 PM
I cannot for the life of me figure out how to install Liferay on my server to be hosted under some of my domains. I am running Linux (with Apache, MySQL, etc.). I have been viewing help files to try and figure out what files I need and how to install Liferay on my server. Unfortunately, I am only finding information for end users who want to install Liferay on their system to be accessed through a port. I am really interested in this Liferay project and want to get it up on my server so that I can have Liferay as the backbone for my website, and it will also give me a chance to play a little more with the code. Please let me know if you know which files I should be downloading and how I should be installing it. I just need to know where to start.

--
Thanks,
Max.
RE: Basic Installation
1/26/07 2:18 PM as a reply to Max V Bailey.
Have you tried the "Installation 1" presentation?

Does the "Installation / Configuration" parts help you?

Have you looked at Installation articles in LiferayPedia?
RE: Basic Installation
3/23/07 3:30 AM as a reply to Jerry Niu.
I'm with you, Max.
For days now I'm trying to set up liferay on my server; I've even changed to JSP hosting (http://imhosted.com/advanced_plans.shtml) thinking that this might make things easier.

I would really appreciate some help here. I've successfully installed liferay but trying to connect to www.mydomain.com:8080 doesn't work.

Thanks,
Oliver
RE: Basic Installation
4/19/07 5:46 AM as a reply to Jerry Niu.
I am having the same problems.

Yes, I have reviewed the material your mentioned and followed the instructions step-by-step. Ran the "start.bat" file and Tomcat started OK but still this problem persists.

System specifics:

Win 2KPro
Apache 2.0
MySQL 5
PHP 5

My Apache server is working just fine ( see http://asa2bfree.dyndns.org ).
Suggestions...ideas...thoughts...
RE: Basic Installation
5/10/07 10:52 AM as a reply to David Wirick.
You say that you're getting the site running but that there are problems. What type of problems?

Here's a post I made in another thread. Posting it here for reference, its for 4.2.2, but is the same for 4.X

----------------------------------------------
I got a fresh portal and tomcat bundle:
liferay-portal-src-4.2.2.zip - unzipped to a folder call portal
liferay-portal-tomcat-jdk5-4.2.2.zip - unzipped to a folder call tomcat

In the portal folder, I ran "ant start" to build my db scripts. I went to the portal\sql\create folder. I opened up create-mysql.sql and changed lportal to lportal422.
I ran mysql < create-mysql.sql to build the lportal422 database locally.

I went to portal\lib\development and copied mysql.jar to the tomcat\common\lib\ext folder.

I modified ROOT.xml to point to the lportal422 database.
 1
 2    <Resource
 3        name="jdbc/LiferayPool"
 4        auth="Container"
 5        type="javax.sql.DataSource"
 6        driverClassName="com.mysql.jdbc.Driver"
 7        url="jdbc:mysql://localhost/lportal422?useUnicode=true&amp;characterEncoding=UTF-8"
 8        username="sa"
 9        password=""
10        maxActive="20"
11    />


I started up tomcat and everything was running.
RE: Basic Installation
5/10/07 11:27 AM as a reply to Jerry Niu.
If you are not using the bundle (the easiest/quickest way), take a look here:

http://content.liferay.com/4.2/doc/installation/liferay_4_installation_guide/multipage/ch03.html#d0e1028

you need to first configure tomcat, then not only download the portal war, but the portal dependencies.
RE: Basic Installation
7/10/07 1:22 PM as a reply to James Min.
Hav2say, getting liferay running is not 4 softies - esp on linux. had a running tomcat bundle for 3 days. came back on monday and since then i only get white / blank pages.

Going out of my mind, i wiped everything, formatted and using suse tried again - no luck, only white screens in stead of seeing liferay.

then worked step by step through the manual process of installing tomcat as a service and getting liferay 2 run on that - impossible. either the steps on the page is incomplete or i 4got 2 install something. 2 days later liferay still does not run and the log file shows no usefull info.

then tried the same with 4.3/tc6 bundle in linux - still impossible. I would love it if the log files actually meant something...
RE: Basic Installation
7/11/07 9:54 AM as a reply to johnny b gud.
We a guide for Ubuntu on our wiki:
Liferay Development Environment: Ubuntu Linux

We have a good relationship with the Novell suse guys and haven't had them complain about installing Liferay in they environments.

Just in the office, we have Liferay running in Ubuntu, fedora and Centos. Liferay.com runs off of linux.

How are you doing your deployment?
RE: Basic Installation
7/11/07 4:48 PM as a reply to johnny b gud.
Liferay is installed in 3 Easy Steps in Windows and Linux
1. Install Java
2. Set JAVA_HOME
3. Unzip the Liferay-Tomcat Bundle (\bin\startup.sh for Linux and \bin\statup.bat for windows)
RE: Basic Installation
7/12/07 5:36 PM as a reply to Jerry Niu.
3 Steps... it worked great on my windows machine, but on my linux machine, it did not work as smoothly as I thought.

In linux box:

1. Installed Java
2. Set JAVA_HOME (checked with env)
3. Unzipped Liferay 4.3 into /usr/local/liferay
4. In the /usr/local/liferay/bin I typed ./startup.sh

No error...the output was as follows:

Using CATALINA_BASE: /usr/local/liferay
Using CATALINA_HOME: /usr/local/liferay
Using CATALINA_TMPDIR: /usr/local/liferay/temp
Using JRE_HOME: /usr/java/jdk1.6.0_02/jre

and that's it..

5. In the browser, I went to http://hostname:8383 it didn't work.

*I am thinking this is due to another apache web server running on the same machine. And that is the reason why I changed port number to 8383.

Any ideas?