cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Alfresco 3.2r in Linux using putty

theozaf
Champ in-the-making
Champ in-the-making
Hi all, I have connected to my Linux machine through Putty and trying to install Alfresco there. Following the most appropriate instructions I found under link http://wiki.alfresco.com/wiki/Linux_Quick_Install I am facing the following problem. After executing step 1

————————————————————————————————————————————————————————————————
You are asked for a location to install the software. If you did not change to root, your home folder is selected by default. If you intend for Alfresco to be run by other users, or to start on startup, change this to a different location. Exit the installer and become root. If you are root, the default of /opt/alfresco-<version> is selected. If you want to change it, you could choose /usr/local/alfresco-<version> as a suitable alternative.
You are asked to provide an initial password for the MySQL database.
————————————————————————————————————————————————————————————————

I do not receive the messages that should follow for configuring the MySQL DB password, nor any of the following messages. Do you have any idea?

Does anyone has a list with all the files need to be modified in order to run my alfresco server?
7 REPLIES 7

ofrxnz
Champ in-the-making
Champ in-the-making
The general install process on linux is

1.) download the installer
2.) add execute to the file should be something like "sudo chmod +x Alfresco-Community-3.2r-Linux-x86-Install"
3.)install alfresco.  if your in the same directory it  should be something like "sudo ./Alfresco-Community-3.2r-Linux-x86-Install".  just take the default install options
4.)assuming mysql is installed and running you need to install the DB with something like "mysql -u root -p < /opt/Alfresco/extras/databases/mysql/db_setup.sql"  this will create an unsecure account with the username "alfresco" and password "alfresco" giving them full access to the "alfresco" database.  you will want to change the password in production.

5.) make sure the alfresco config file is pointing at the correct database. "sudo nano /opt/Alfresco/tomcat/shared/classes/alfresco-global.properties"  you probably dont need to change a thing in this file

6.) make sure you have sun java installed and edit the "/opt/Alfresco/alfresco.sh".  change ALF_HOME=@@ALFRESCO_DIR@@ to point at your root directory "/opt/Alfresco" and point export JAVA_HOME="@@JAVA_HOME@@" to point at the base directory of the Sun JDK so something like …
export JAVA_HOME="/usr/lib/jvm/java-6-sun”

7.) alfresco should now start without issue using the command  "sudo /opt/Alfresco/alfresco.sh start"

to get full functionality you will need install the latest "Image Magic" and Open Office suites in the repository and build the latest PDF2SWF from source


let me know if that helps

theozaf
Champ in-the-making
Champ in-the-making
Hi, thank you very much for your help, I have tried successfully all the steps you describe but I am facing the following problem. Although it seems I start my servers, when I try to load the page nothing happens and loading proceeds internally without any displaying on my page. Do you please have any idea what to check, what to test? Thanks.

ofrxnz
Champ in-the-making
Champ in-the-making
The first thing to check is your firewall.  Alfresco runs on TCP port 8080 by default. 

The URLs for alfresco are "http://ServerName:8080/alfresco" and "http://ServerName:8080/share" in both "ServerName" is the DNS name of your server or its IP address. 

If that doesnt clear it up check the "/opt/Alfresco/alfresco.log" and the "/opt/Alfresco/tomcat/logs/catalina.out" files for errors.  Then post the logs here and ill see if i know whats going on

theozaf
Champ in-the-making
Champ in-the-making
Hi, thanks for your replies. Looking at both log files I have no lines of logging. What I found out is that my alfresco server does not start although I run the command and I get back the message:

Starting Alfresco …
Using CATALINA_BASE:   /opt/alfresco/tomcat
Using CATALINA_HOME:   /opt/alfresco/tomcat
Using CATALINA_TMPDIR: /opt/alfresco/tomcat/temp
Using JRE_HOME:       /usr/java/jdk1.6.0_16

Any idea of what to check out? Thanks

theozaf
Champ in-the-making
Champ in-the-making
Hi I've managed to solve the issue with server and now getting following exceptions.

Before you start reading it please take in consideration that web content under tomcat/webapps is missing.

I keep on investigating, just giving my steps one by one in case could be helpful for other people in the future.

PF the log file in the following link : http://www.2shared.com/fadmin/9375357/6ea8023e/alfresco.log.html

theozaf
Champ in-the-making
Champ in-the-making
Success, I followed the old but always safe way of restarting and I now have my dashboard Smiley Happy thanks for your time.

ialongiya
Champ in-the-making
Champ in-the-making
What distribution of Linux has the best driver support? I've downloaded some distros in the past only to find myself unable to really use Linux for anything worthwhile, so I'd like to avoid that if possible.
______________________
external keyword tool ~ keyworddiscovery.com ~ keycompete.com ~ compete.com ~ webmasterworld.com