You are here

Installing on Linux using the Alfresco Content Services Installer

The setup wizard for Linux installs all the software and components that you require for running Alfresco Content Services. This setup wizard installs Alfresco Content Services and additional software, including a Tomcat application server, PostgreSQL database, JRE, and LibreOffice.
Important: After installation, you must generate and install your own certificates to secure the installation. For more information, see Generating Secure Keys for Solr 4 Communication.
  1. Download the installation file: alfresco-content-services-installer-5.2.7-linux-x64.bin

    Files are available from the Support Portal.

    This setup wizard is for 64-bit Linux systems.

  2. Execute the downloaded file using the following commands:

    chmod 777 alfresco-content-services-installer-5.2.7-linux-x64.bin 
    ./alfresco-content-services-installer-5.2.7-linux-x64.bin
    Note: You should avoid running applications as the root (Linux administrator) user where possible, however if you must install as the root user, then run the alfresco-content-services-installer-5.2.7-linux-x64.bin file with sudo specified:
    chmod 777 alfresco-content-services-installer-5.2.7-linux-x64.bin 
    sudo ./alfresco-content-services-installer-5.2.7-linux-x64.bin

    The setup wizard starts.

  3. Select the language that you wish to use for the installation.

    This sets the language to be used for the setup wizard.

    Note: This doesn't set the language that's used in Alfresco Content Services.
  4. On the Setup window, click Next.
  5. Read and accept the license agreement.
  6. On the Installation Type window, choose how you want to use the setup wizard.

    There are two types of installation in the setup wizard:

    Option Description
    Easy Easy type installs using the default options and configuration. This install type requires you to enter information in only two fields: the install location and the administrator password. Choose this route to install with the default environment.
    Note: If you have previously installed Alfresco Content Services and the server is running, when you run this setup wizard again, you might be prompted to enter alternative port numbers for the components and services that you install, for example, for the Tomcat application server, FTP port, and the RMI port.
    Advanced Advanced type installs but lets you configure the server ports and service properties. You can also choose which additional components to install.

    Note: When choosing between the Easy or Advanced installation, consider your basic requirement. If you are installing on a demo system for evaluation purpose only, we recommend that you use the Easy installation option. However, if you want to connect to an existing database server and also want to see how the various components are being configured, use the Advanced installation option.

    To complete the Easy setup wizard:

    1. Select Easy, and then click Next.
    2. On the Installation Folder window, click Next to accept the default location.

      Note: You must use ASCII characters only when setting the installation folder using the setup wizard.
    3. On the Admin Password window, enter a password for the Administrator user (admin).

      CAUTION:
      You must use ASCII characters only when setting the password using the setup wizard. If you need to reset the password (to include non-ASCII characters) after installation, see Changing a user's password.
    4. Repeat the password, and then click Next.
    5. Click Next through the remaining windows in the setup wizard.
    6. Click Finish to complete the installation.

      Go to the step for the Completing the Setup Wizard window and launching Alfresco Share.

    To complete the Advanced setup wizard, select Advanced and then click Next.

    Follow the remaining steps in this task.

  7. On the Select Components window, select the components that you want to install. Deselect the components that you do not want to install.

    • Java (this is JRE only)
    • PostgreSQL
    • LibreOffice
    • Alfresco Content Services
    • Solr1
      Important: The Solr 1 option should be used only for migration to Solr 4.
    • Solr 4
    • Alfresco Office Services
    • Web Quick Start
    • Google Docs Integration
  8. When you have finished selecting the components, click Next.
  9. On the Installation Folder window, click Next to accept the default location.

    For example, the default location is /opt/alfresco-one.

    Alternatively, click the icon to choose another location.

    Note: You must use ASCII characters only when setting the installation folder using the setup wizard.
  10. On the Database Server Parameters window, enter a port number for your database.

    Enter a suitable port number or click Next to accept the default of 5432.

  11. On the Tomcat Port Configuration window, enter the following Tomcat configuration parameters:
    1. Web Server Domain

      For example, the default is 127.0.0.1.

      The URL http://127.0.0.1:8080/share is based on the web server domain and the Tomcat port number that you specify on the Tomcat Port Configuration window. The default of 127.0.0.1 can be used on this machine to verify that Alfresco Content Services is running successfully. However, it is not an externally addressable URL, which means that it is not possible for users on other machines to access this URL. To make sure that other users can access the machine where the installation is, you need to define and create a publicly addressable name.

    2. Tomcat Server Port

      For example, the default is 8080.

    3. Tomcat Shutdown Port

      For example, the default is 8005.

    4. Tomcat SSL Port

      For example, the default is 8443.

    5. Tomcat AJP Port

      For example, the default is 8009.

  12. (Optional) If you are installing the LibreOffice component, the LibreOffice Server Port window displays. Enter a port number on which the LibreOffice server will listen.
  13. If you are connecting to a remote Solr server, the Remote Solr configuration window displays. Enter the Solr host and SSL port number to connect to Alfresco Content Services.
  14. On the Sharded Solr installation window, specify if you are using a sharded Solr installation, and then click Next.

    Important: When using the installer, the templates used to create shards do not use the port specified in the installer. To set the port manually when creating a shard, see Installing and configuring Solr shards.
  15. On the FTP Port window, enter a port number for the FTP server, and then click Next.
  16. On the RMI Port window, enter a port number for to execute remote commands, and then click Next.
  17. On the Admin Password window, type a password. Repeat the password, and then click Next.

    This sets the password for the Alfresco administrator user account (admin).

    CAUTION:
    You must use ASCII characters only when setting the password using the setup wizard. If you need to reset the password (to include non-ASCII characters) after installation, see Changing a user's password.
  18. On the Warning window, review the list of environment notifications for your installation.

    This list of environment notifications is based on an evaluation of your installation environment while the setup wizard is running.

  19. On the Ready to Install window, click Next.

    The Installing window displays, showing the progress of the installation.

  20. On the Completing the Setup Wizard window, click Finish.

    This window shows check boxes that determine whether you will see the Readme file, the Getting Started web page, and also whether to launch Alfresco Content Services. By default, these options are selected and will launch when you click Finish. If you do not want to start Alfresco Content Services at this point, deselect the Launch option.

    Important: If you are installing the S3 Connector as part of your installation, deselect the Launch Alfresco Content Services check box. You must not start Alfresco before applying the S3 AMP file.
  21. Click OK to close the Readme.

    The server starts and then Alfresco Share launches in your default browser.

    Important: It can take several minutes to start the server and to launch Alfresco Share. Your browser opens and tries to connect to http://127.0.0.1:8080/share.
  22. Log on as the admin user. Enter the password that you specified in the Admin Password window.

    The server is launched automatically as a service called alfresco. This service comprises the following individual services:

    • postgresql
    • Tomcat Server

    If you did not automatically start Alfresco Content Services at the end of the setup wizard, to start now you need to start all the services.

  23. Manually start the server:

    Browse to /opt/alfresco-one/ (the installation folder that you created in 9). As an administrator, run

    ./alfresco.sh start
  24. To fully stop Alfresco Content Services, you must stop all the services:

    Browse to /opt/alfresco-one/ (the installation folder that you created in 9). As an administrator, run

    ./alfresco.sh stop

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.