Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
InstallationLinux
This page contains instructions on installing Alfresco within an existing Tomcat installation on your system. It assumes that you have a working Java installation and Tomcat instance installed.
If you do not have an existing application server installed then you may want to consider using the Alfresco installers for Linux or the Alfresco Tomcat Bundle for Linux instead. For more information please see the information on Linux download and installation.
Note: This is from the README_war.txt included in the alfresco-war download
If you have deployed previous versions of Alfresco, you may wish to remove any
temporary files your application server has created.
Alfresco requires a MySQL database named 'alfresco' with a user account and password
of 'alfresco'. This can be set up automatically by logging into Mysql and executing the db_setup.sql that comes with the distribution.
# 'mysql -u root -p
mysql> source db_setup.sql
Query OK, 1 row affected (0.00 sec)
Query OK, 0 rows affected (0.00 sec)
Query OK, 0 rows affected (0.00 sec)
<unpacked_directoy>/extras/databases/mysql/
Alternatively, you may enter in the commands manually:
mysql> CREATE DATABASE alfresco;
mysql> CREATE USER 'alfresco'@'localhost' IDENTIFIED BY '<password>';
mysql> GRANT ALL PRIVILEGES ON alfresco.* TO 'alfresco'@'localhost';
You have now installed all the components needed to run the Alfresco server.
Due to a bug in Alfresco 3.2r2, if you don't have OpenOffice installed and running, Alfresco will fail to
start and throw an OpenOfficeExcpetion.
If you would like to have a range of document transformations available from within
Alfresco, you need to install OpenOffice. This is entirely optional and can be
done at any point after Alfresco has been installed.
There are known issues with OpenOffice 2.0.1 and 2.0.2
soffice '-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager' \
-nologo -headless
To test it, Run:
telnet localhost 8100
and make sure you can connect.
Before running the server for the first time, it is highly recommended that the database connection details and alfresco data folder locations get checked and set according to the environment in which the server is running. By default, the server will create a data folder for storing content binaries and indexes at a location relative to the caller's location when the server is started. This is appropriate for quick previews and tests, but should be changed when running a server that will be storing long-lived data.
Details can be found here.
Start your application server
- you can now try Alfresco by visiting:
http://localhost:8080/alfresco
The first time you access the URL it will take some time as Alfresco is performing the database and filesystem initialization.
The server is configured with a single administrative login with user name and password
both set to 'admin'.
username: admin
password: admin
To test the installation, you may wish to follow the tutorial, available from: http://dev.alfresco.com/tutorial_download.php or from the company space from within the Web Client.
Shut down your application server. You may also wish to stop the OpenOffice process, but
the command for this depends on your platform.
If you have problems with your installation, please look for help on the Installation forum at http://forums.alfresco.com and ask for any additional help you may need.
If the following errors are reported on the console, they are not issues which will cause the server to fail. Alfresco is merely reporting that various external document transformation engines are not available for use by the server.
ERROR [AbstractImageMagickContentTransformer] JMagickContentTransformer not available:
ERROR [AbstractImageMagickContentTransformer] ImageMagickContentTransformer not
available: Failed to execute command: imconvert ...