Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| alfresco:sitestore [2021/04/17 15:22] – [Run 2 : Create Separate Sites] jmerari | alfresco:sitestore [2021/04/17 16:33] (current) – [Preparation] jmerari | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Alfresco :: Separate Store for Each Site ====== | ====== Alfresco :: Separate Store for Each Site ====== | ||
| + | https:// | ||
| ===== Preparation ===== | ===== Preparation ===== | ||
| - Shutdown Alfresco service | - Shutdown Alfresco service | ||
| - Create database backup and alf_data folder backup | - Create database backup and alf_data folder backup | ||
| + | - Create backup of alfresco.global.properties | ||
| + | - Create backup of all egov servlet context configuration | ||
| ===== Run 1 : Install required extensions ===== | ===== Run 1 : Install required extensions ===== | ||
| Line 20: | Line 22: | ||
| </ | </ | ||
| - | ===== Run 2 : Create Separate Sites ===== | + | ===== Run 2 : Modify alfresco.global.properties |
| - | - Startup | + | - Shutdown |
| - | - Login as admin | + | - Append the following configuration items inside the < |
| - | - Create four private sites | + | |
| - | - Site ID: site01, Name: PIDSG e-Gov Live | + | |
| - | - Site ID: site02, Name: PIDSG e-Gov Dev | + | |
| - | - Site ID: site03, Name: PIDSG-BT e-Gov Live | + | |
| - | - Site ID: site04, Name: PIDSG-BT e-Gov Dev | + | |
| - | - Create four user accounts for each site | + | |
| - | - user: site01_admin, | + | |
| - | - user: site02_admin, | + | |
| - | - user: site03_admin, | + | |
| - | - user: site04_admin, | + | |
| - | - Make sure that each site account can access its own site, and can't access other sites | + | |
| - | - After verified, shutdown Alfresco | + | |
| - | + | ||
| - | https:// | + | |
| - | + | ||
| - | ===== Run 3 : Modify alfresco.global.properties ===== | + | |
| - | Append the following configuration items inside the < | + | |
| < | < | ||
| Line 88: | Line 73: | ||
| </ | </ | ||
| + | |||
| + | ===== Run 3 : Create Separate Sites ===== | ||
| + | - Startup Alfresco | ||
| + | - Login as admin | ||
| + | - Create four private sites | ||
| + | - Site ID: site01, Name: PIDSG e-Gov Live | ||
| + | - Site ID: site02, Name: PIDSG e-Gov Dev | ||
| + | - Site ID: site03, Name: PIDSG-BT e-Gov Live | ||
| + | - Site ID: site04, Name: PIDSG-BT e-Gov Dev | ||
| + | - Create four user accounts for each site | ||
| + | - user: site01_admin, | ||
| + | - user: site02_admin, | ||
| + | - user: site03_admin, | ||
| + | - user: site04_admin, | ||
| + | - Make sure that each site account can access its own site, and can't access other sites | ||
| ===== Run 4 : Verify Site folder routing ===== | ===== Run 4 : Verify Site folder routing ===== | ||
| - | - Start Alfresco | ||
| - Login to each site with corresponding Site Manager account | - Login to each site with corresponding Site Manager account | ||
| - Upload some files | - Upload some files | ||
| Line 96: | Line 95: | ||
| ===== Run 5 : Move files from current Site to the corresponding Sites ===== | ===== Run 5 : Move files from current Site to the corresponding Sites ===== | ||
| + | - In Alfresco, open My Files > Sites | ||
| + | - Move all folders from site legal-dev > documentLibrary, | ||
| + | - Move all folders from site egov-sg > documentLibrary, | ||
| + | - Move the file list of calibration attachment from site03 to site04 (134 files) | ||
| + | - Make sure each sites has folder named UPLOADPOOL, take note the object ID | ||
| + | ===== Run 6 : Modify e-Gov Configuration ===== | ||
| + | - Open the servlet context config of each app | ||
| + | - Create a backup copy | ||
| + | - Change the user access account, password and pool folder ID for each e-Gov sites. | ||