Upgrade 5.1 to 201605
Last modified by Normann P. Nielsen on 2016/12/07 21:53
General 5.1 Documentation: https://community.alfresco.com/docs/DOC-6280-alfresco-community-edition-51
Release Notes: https://community.alfresco.com/docs/DOC-6297-alfresco-community-edition-201605-ga-release-notes
First stop the current version on Your server
Then install via the downloaded binary:
Language Selection
Please select the installation language
[1] English - English
[2] French - Français
[3] Spanish - Español
[4] Italian - Italiano
[5] German - Deutsch
[6] Japanese - ???
[7] Dutch - Nederlands
[8] Russian - ???????
[9] Simplified Chinese - ????
[10] Norwegian - Norsk bokmål
[11] Brazilian Portuguese - Português Brasileiro
Please choose an option [1] : 1
----------------------------------------------------------------------------
Welcome to the Alfresco Community Setup Wizard.
----------------------------------------------------------------------------
Installation Type
[1] Easy - Install using the default configuration.
[2] Advanced - Configure server ports and service properties.: Choose optional components to install.
Please choose an option [1] : 2
----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want
to install. Click Next when you are ready to continue.
Java [Y/n] :
PostgreSQL [Y/n] :n
LibreOffice [Y/n] :Y
Alfresco Community : Y (Cannot be edited)
Solr1 [y/N] :
Solr4 [Y/n] :
Alfresco Office Services [Y/n] :
Web Quick Start [y/N] :
Google Docs Integration [Y/n] :
Is the selection above correct? [Y/n]:
----------------------------------------------------------------------------
Installation Folder
Choose a folder to install Alfresco Community.
Select a folder: [/data/opt/alfresco-community]: /opt/alfresco-201605
----------------------------------------------------------------------------
Database Configuration
JDBC URL: [jdbc:postgresql://localhost/alfresco]: jdbc:mysql://localhost/alfresco
JDBC Driver: [org.postgresql.Driver]: com.mysql.jdbc.Driver
Database name: [alfresco]:
Username: []: alfresco
Password: :
Verify: :
----------------------------------------------------------------------------
Tomcat Port Configuration
Enter your Tomcat configuration parameters.
Web Server Domain: [127.0.0.1]:
Tomcat Server Port: [8080]:
Tomcat Shutdown Port: [8005]:
Tomcat SSL Port: [8443]:
Tomcat AJP Port: [8009]:
----------------------------------------------------------------------------
LibreOffice Server Port
Enter the port that the LibreOffice Server will listen to.
LibreOffice Server Port: [8100]:
----------------------------------------------------------------------------
Alfresco FTP Port
Choose a port number for the integrated Alfresco FTP server.
Port: [21]:
Warning: Couldn’t to bind to the given port number. Select another FTP Port.
Press [Enter] to continue:
----------------------------------------------------------------------------
Alfresco FTP Port
Choose a port number for the integrated Alfresco FTP server.
Port: [21]: 22
Warning: Couldn’t to bind to the given port number. Select another FTP Port.
Press [Enter] to continue:
----------------------------------------------------------------------------
Alfresco FTP Port
Choose a port number for the integrated Alfresco FTP server.
Port: [22]: 999
----------------------------------------------------------------------------
Admin Password
Specify a password for the Alfresco administrator account.
Admin Password: :
Repeat Password: :
----------------------------------------------------------------------------
Install as a service
If you register Alfresco Community as a service it will automatically start
Alfresco Community on machine startup.
Install Alfresco Community as a service? [Y/n]:
----------------------------------------------------------------------------
Service script name
The alfresco service script file exists. Use a different name for the service
script.
Service script name [alfresco]: alfresco-201605
----------------------------------------------------------------------------
Warning
This environment is not configured optimally for Alfresco - review this list
before continuing.
While these issues won’t prevent Alfresco from functioning, some product
features might not be available, or the system might not perform optimally.
Not enough system RAM available
(4.0GB+): 2.93GB
Press [Enter] to continue:
----------------------------------------------------------------------------
Setup is now ready to begin installing Alfresco Community on your computer.
Do you want to continue? [Y/n]: Y
----------------------------------------------------------------------------
Please wait while Setup installs Alfresco Community on your computer.
Installing
0% ______________ 50% ______________ 100%
#########################################
----------------------------------------------------------------------------
Setup has finished installing Alfresco Community on your computer.
View Readme File [Y/n]: n
Launch Alfresco Community [Y/n]: n
Please select the installation language
[1] English - English
[2] French - Français
[3] Spanish - Español
[4] Italian - Italiano
[5] German - Deutsch
[6] Japanese - ???
[7] Dutch - Nederlands
[8] Russian - ???????
[9] Simplified Chinese - ????
[10] Norwegian - Norsk bokmål
[11] Brazilian Portuguese - Português Brasileiro
Please choose an option [1] : 1
----------------------------------------------------------------------------
Welcome to the Alfresco Community Setup Wizard.
----------------------------------------------------------------------------
Installation Type
[1] Easy - Install using the default configuration.
[2] Advanced - Configure server ports and service properties.: Choose optional components to install.
Please choose an option [1] : 2
----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want
to install. Click Next when you are ready to continue.
Java [Y/n] :
PostgreSQL [Y/n] :n
LibreOffice [Y/n] :Y
Alfresco Community : Y (Cannot be edited)
Solr1 [y/N] :
Solr4 [Y/n] :
Alfresco Office Services [Y/n] :
Web Quick Start [y/N] :
Google Docs Integration [Y/n] :
Is the selection above correct? [Y/n]:
----------------------------------------------------------------------------
Installation Folder
Choose a folder to install Alfresco Community.
Select a folder: [/data/opt/alfresco-community]: /opt/alfresco-201605
----------------------------------------------------------------------------
Database Configuration
JDBC URL: [jdbc:postgresql://localhost/alfresco]: jdbc:mysql://localhost/alfresco
JDBC Driver: [org.postgresql.Driver]: com.mysql.jdbc.Driver
Database name: [alfresco]:
Username: []: alfresco
Password: :
Verify: :
----------------------------------------------------------------------------
Tomcat Port Configuration
Enter your Tomcat configuration parameters.
Web Server Domain: [127.0.0.1]:
Tomcat Server Port: [8080]:
Tomcat Shutdown Port: [8005]:
Tomcat SSL Port: [8443]:
Tomcat AJP Port: [8009]:
----------------------------------------------------------------------------
LibreOffice Server Port
Enter the port that the LibreOffice Server will listen to.
LibreOffice Server Port: [8100]:
----------------------------------------------------------------------------
Alfresco FTP Port
Choose a port number for the integrated Alfresco FTP server.
Port: [21]:
Warning: Couldn’t to bind to the given port number. Select another FTP Port.
Press [Enter] to continue:
----------------------------------------------------------------------------
Alfresco FTP Port
Choose a port number for the integrated Alfresco FTP server.
Port: [21]: 22
Warning: Couldn’t to bind to the given port number. Select another FTP Port.
Press [Enter] to continue:
----------------------------------------------------------------------------
Alfresco FTP Port
Choose a port number for the integrated Alfresco FTP server.
Port: [22]: 999
----------------------------------------------------------------------------
Admin Password
Specify a password for the Alfresco administrator account.
Admin Password: :
Repeat Password: :
----------------------------------------------------------------------------
Install as a service
If you register Alfresco Community as a service it will automatically start
Alfresco Community on machine startup.
Install Alfresco Community as a service? [Y/n]:
----------------------------------------------------------------------------
Service script name
The alfresco service script file exists. Use a different name for the service
script.
Service script name [alfresco]: alfresco-201605
----------------------------------------------------------------------------
Warning
This environment is not configured optimally for Alfresco - review this list
before continuing.
While these issues won’t prevent Alfresco from functioning, some product
features might not be available, or the system might not perform optimally.
Not enough system RAM available
(4.0GB+): 2.93GB
Press [Enter] to continue:
----------------------------------------------------------------------------
Setup is now ready to begin installing Alfresco Community on your computer.
Do you want to continue? [Y/n]: Y
----------------------------------------------------------------------------
Please wait while Setup installs Alfresco Community on your computer.
Installing
0% ______________ 50% ______________ 100%
#########################################
----------------------------------------------------------------------------
Setup has finished installing Alfresco Community on your computer.
View Readme File [Y/n]: n
Launch Alfresco Community [Y/n]: n
As the Alfresco 201605 has new features and configs in the alfreco-properties.global file, changes from the old must be transfered manually
Link /opt/alfresco-5.1/alf_data to /data/alf_data
Copy MySQL Driver
root@afserver:~# cp /opt/alfresco-5.1/tomcat/lib/mysql-connector-java-*.jar /opt/alfresco-201605/tomcat/lib/
Start Alfresco (now the startup is just "alfresco")
root@afserver:~# /etc/init.d/alfresco-201605 start
