Wiki source code of Upgrade 5.1 to 201605
Version 4.1 by Normann P. Nielsen on 2026/11/15 15:40
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | General 5.1 Documentation: [[https://community.alfresco.com/docs/DOC-6280-alfresco-community-edition-51]] | ||
| 2 | |||
| 3 | Release Notes: [[https://community.alfresco.com/docs/DOC-6297-alfresco-community-edition-201605-ga-release-notes]] | ||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 | First stop the current version on Your server | ||
| 8 | |||
| 9 | Then install via the downloaded binary: | ||
| 10 | |||
| 11 | |||
| 12 | {{code}} | ||
| 13 | Language Selection | ||
| 14 | |||
| 15 | Please select the installation language | ||
| 16 | [1] English - English | ||
| 17 | [2] French - Français | ||
| 18 | [3] Spanish - Español | ||
| 19 | [4] Italian - Italiano | ||
| 20 | [5] German - Deutsch | ||
| 21 | [6] Japanese - ??? | ||
| 22 | [7] Dutch - Nederlands | ||
| 23 | [8] Russian - ??????? | ||
| 24 | [9] Simplified Chinese - ???? | ||
| 25 | [10] Norwegian - Norsk bokmål | ||
| 26 | [11] Brazilian Portuguese - Português Brasileiro | ||
| 27 | Please choose an option [1] : 1 | ||
| 28 | ---------------------------------------------------------------------------- | ||
| 29 | Welcome to the Alfresco Community Setup Wizard. | ||
| 30 | |||
| 31 | ---------------------------------------------------------------------------- | ||
| 32 | Installation Type | ||
| 33 | |||
| 34 | [1] Easy - Install using the default configuration. | ||
| 35 | [2] Advanced - Configure server ports and service properties.: Choose optional components to install. | ||
| 36 | Please choose an option [1] : 2 | ||
| 37 | |||
| 38 | ---------------------------------------------------------------------------- | ||
| 39 | Select the components you want to install; clear the components you do not want | ||
| 40 | to install. Click Next when you are ready to continue. | ||
| 41 | |||
| 42 | Java [Y/n] : | ||
| 43 | |||
| 44 | PostgreSQL [Y/n] :n | ||
| 45 | |||
| 46 | LibreOffice [Y/n] :Y | ||
| 47 | |||
| 48 | Alfresco Community : Y (Cannot be edited) | ||
| 49 | |||
| 50 | Solr1 [y/N] : | ||
| 51 | |||
| 52 | Solr4 [Y/n] : | ||
| 53 | |||
| 54 | Alfresco Office Services [Y/n] : | ||
| 55 | |||
| 56 | Web Quick Start [y/N] : | ||
| 57 | |||
| 58 | Google Docs Integration [Y/n] : | ||
| 59 | |||
| 60 | Is the selection above correct? [Y/n]: | ||
| 61 | |||
| 62 | ---------------------------------------------------------------------------- | ||
| 63 | Installation Folder | ||
| 64 | |||
| 65 | Choose a folder to install Alfresco Community. | ||
| 66 | |||
| 67 | Select a folder: [/data/opt/alfresco-community]: /opt/alfresco-201605 | ||
| 68 | |||
| 69 | ---------------------------------------------------------------------------- | ||
| 70 | Database Configuration | ||
| 71 | |||
| 72 | JDBC URL: [jdbc:postgresql://localhost/alfresco]: jdbc:mysql://localhost/alfresco | ||
| 73 | |||
| 74 | JDBC Driver: [org.postgresql.Driver]: com.mysql.jdbc.Driver | ||
| 75 | |||
| 76 | Database name: [alfresco]: | ||
| 77 | |||
| 78 | Username: []: alfresco | ||
| 79 | |||
| 80 | Password: : | ||
| 81 | Verify: : | ||
| 82 | ---------------------------------------------------------------------------- | ||
| 83 | Tomcat Port Configuration | ||
| 84 | |||
| 85 | Enter your Tomcat configuration parameters. | ||
| 86 | |||
| 87 | Web Server Domain: [127.0.0.1]: | ||
| 88 | |||
| 89 | Tomcat Server Port: [8080]: | ||
| 90 | |||
| 91 | Tomcat Shutdown Port: [8005]: | ||
| 92 | |||
| 93 | Tomcat SSL Port: [8443]: | ||
| 94 | |||
| 95 | Tomcat AJP Port: [8009]: | ||
| 96 | |||
| 97 | ---------------------------------------------------------------------------- | ||
| 98 | LibreOffice Server Port | ||
| 99 | |||
| 100 | Enter the port that the LibreOffice Server will listen to. | ||
| 101 | |||
| 102 | LibreOffice Server Port: [8100]: | ||
| 103 | |||
| 104 | ---------------------------------------------------------------------------- | ||
| 105 | Alfresco FTP Port | ||
| 106 | |||
| 107 | Choose a port number for the integrated Alfresco FTP server. | ||
| 108 | |||
| 109 | Port: [21]: | ||
| 110 | |||
| 111 | Warning: Couldn’t to bind to the given port number. Select another FTP Port. | ||
| 112 | Press [Enter] to continue: | ||
| 113 | ---------------------------------------------------------------------------- | ||
| 114 | Alfresco FTP Port | ||
| 115 | |||
| 116 | Choose a port number for the integrated Alfresco FTP server. | ||
| 117 | |||
| 118 | Port: [21]: 22 | ||
| 119 | |||
| 120 | Warning: Couldn’t to bind to the given port number. Select another FTP Port. | ||
| 121 | Press [Enter] to continue: | ||
| 122 | ---------------------------------------------------------------------------- | ||
| 123 | Alfresco FTP Port | ||
| 124 | |||
| 125 | Choose a port number for the integrated Alfresco FTP server. | ||
| 126 | |||
| 127 | Port: [22]: 999 | ||
| 128 | |||
| 129 | ---------------------------------------------------------------------------- | ||
| 130 | Admin Password | ||
| 131 | |||
| 132 | Specify a password for the Alfresco administrator account. | ||
| 133 | |||
| 134 | Admin Password: : | ||
| 135 | Repeat Password: : | ||
| 136 | ---------------------------------------------------------------------------- | ||
| 137 | Install as a service | ||
| 138 | |||
| 139 | If you register Alfresco Community as a service it will automatically start | ||
| 140 | Alfresco Community on machine startup. | ||
| 141 | |||
| 142 | Install Alfresco Community as a service? [Y/n]: | ||
| 143 | |||
| 144 | |||
| 145 | ---------------------------------------------------------------------------- | ||
| 146 | Service script name | ||
| 147 | |||
| 148 | The alfresco service script file exists. Use a different name for the service | ||
| 149 | script. | ||
| 150 | |||
| 151 | Service script name [alfresco]: alfresco-201605 | ||
| 152 | |||
| 153 | ---------------------------------------------------------------------------- | ||
| 154 | Warning | ||
| 155 | |||
| 156 | This environment is not configured optimally for Alfresco - review this list | ||
| 157 | before continuing. | ||
| 158 | |||
| 159 | While these issues won’t prevent Alfresco from functioning, some product | ||
| 160 | features might not be available, or the system might not perform optimally. | ||
| 161 | |||
| 162 | Not enough system RAM available | ||
| 163 | (4.0GB+): 2.93GB | ||
| 164 | |||
| 165 | |||
| 166 | Press [Enter] to continue: | ||
| 167 | |||
| 168 | ---------------------------------------------------------------------------- | ||
| 169 | Setup is now ready to begin installing Alfresco Community on your computer. | ||
| 170 | |||
| 171 | Do you want to continue? [Y/n]: Y | ||
| 172 | |||
| 173 | ---------------------------------------------------------------------------- | ||
| 174 | Please wait while Setup installs Alfresco Community on your computer. | ||
| 175 | |||
| 176 | Installing | ||
| 177 | 0% ______________ 50% ______________ 100% | ||
| 178 | ######################################### | ||
| 179 | |||
| 180 | ---------------------------------------------------------------------------- | ||
| 181 | Setup has finished installing Alfresco Community on your computer. | ||
| 182 | |||
| 183 | View Readme File [Y/n]: n | ||
| 184 | |||
| 185 | Launch Alfresco Community [Y/n]: n | ||
| 186 | |||
| 187 | {{/code}} | ||
| 188 | |||
| 189 | As the Alfresco 201605 has new features and configs in the alfreco-properties.global file, changes from the old must be transfered manually | ||
| 190 | |||
| 191 | Link /opt/alfresco-5.1/alf_data to /data/alf_data | ||
| 192 | |||
| 193 | {{info}}cd /opt/alfresco-201605/ | ||
| 194 | |||
| 195 | rm -rf alf_data | ||
| 196 | |||
| 197 | ln -s /data/alf_data alf_data{{/info}} | ||
| 198 | |||
| 199 | Copy MySQL Driver | ||
| 200 | |||
| 201 | |||
| 202 | {{code}} | ||
| 203 | root@afserver:~# cp /opt/alfresco-5.1/tomcat/lib/mysql-connector-java-*.jar /opt/alfresco-201605/tomcat/lib/ | ||
| 204 | {{/code}} | ||
| 205 | |||
| 206 | {{error}}Be sure to remove the startup of the old version (like /etc/init.d/alfresco50d) to avoid 2 versions being started{{/error}} | ||
| 207 | |||
| 208 | Start Alfresco (now the startup is just "alfresco") | ||
| 209 | |||
| 210 | |||
| 211 | {{code}} | ||
| 212 | root@afserver:~# /etc/init.d/alfresco-201605 start | ||
| 213 | {{/code}} | ||
| 214 | |||
| 215 | |||
| 216 | |||
| 217 | [[image:Screen Shot 2016-12-07 at 21.20.25.png||height="250"||alt="Screen Shot 2016-12-07 at 21.20.25.png"]] |