This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
getting_started:install_ubuntu_update_17_0_1 [2017/03/17 10:17] – created admin | getting_started:install_ubuntu_update_17_0_1 [2017/04/06 11:27] (current) – [Update the Login Pages] admin | ||
---|---|---|---|
Line 8: | Line 8: | ||
* Edit the **/ | * Edit the **/ | ||
* Reboot the VM and log into it again. Issue the **hostname** command to confirm that it updated successfully. | * Reboot the VM and log into it again. Issue the **hostname** command to confirm that it updated successfully. | ||
+ | |||
+ | ===== Updating the ExtJS files ===== | ||
+ | * The ExtJS files are the viewer component and lives under the **/ | ||
+ | <code bash> | ||
+ | cd / | ||
+ | sudo svn update | ||
+ | </ | ||
+ | <WRAP center round tip 100%> | ||
+ | Should you wish to serve the optimized code from the Webroot instead of / | ||
+ | < | ||
+ | sudo cp -R / | ||
+ | </ | ||
+ | </ | ||
+ | #If served out of Webroot | ||
+ | sudo vi / | ||
+ | #If served out of built dir | ||
+ | sudo vi / | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP center round alert 100%> | ||
+ | Be sure to flash you browser cache after this to pull in the latest changes | ||
+ | </ | ||
+ | |||
+ | ===== Updating the CakePHP APPs ===== | ||
+ | * We are runnig both CakePHP v2 and CakePHP v3 and will be updating both. | ||
+ | <code bash> | ||
+ | #First CakePHP v2 | ||
+ | cd / | ||
+ | sudo svn update | ||
+ | sudo chown -R www-data. / | ||
+ | sudo chown -R www-data. / | ||
+ | sudo chown -R www-data. / | ||
+ | sudo chown -R www-data. / | ||
+ | sudo chown -R www-data. / | ||
+ | sudo chown -R www-data. / | ||
+ | sudo chown -R www-data. / | ||
+ | sudo chown -R www-data. / | ||
+ | |||
+ | #Now CakePHP v3 | ||
+ | cd / | ||
+ | sudo svn update | ||
+ | |||
+ | # | ||
+ | #NOTE You might be asked questions on some files, simply choose tc / tf (Their side) each time | ||
+ | # | ||
+ | |||
+ | sudo chown -R www-data. / | ||
+ | sudo chown -R www-data. / | ||
+ | sudo chown -R www-data. / | ||
+ | sudo chown -R www-data. / | ||
+ | sudo chown -R www-data. / | ||
+ | sudo chown -R www-data. / | ||
+ | sudo chown -R www-data. / | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Patch the SQL ===== | ||
+ | * We made a few enhancements which require the database to be patched | ||
+ | <code bash> | ||
+ | cd / | ||
+ | #You can run this multiple times they are non-destructive | ||
+ | #Rename the key column to avoid clashing with SQL reserved words | ||
+ | sudo mysql -u root rd < / | ||
+ | #Add feature to enable / disable photos | ||
+ | sudo mysql -u root rd < / | ||
+ | #Some more enhancements | ||
+ | sudo mysql -u root rd < / | ||
+ | #Some DNS Enhancements | ||
+ | sudo mysql -u root rd < / | ||
+ | #Adjust ACOs rights | ||
+ | sudo mysql -u root rd < / | ||
+ | </ | ||
+ | |||
+ | ===== Update the Login Pages ===== | ||
+ | * Also a fix or two | ||
+ | <code bash> | ||
+ | cd / | ||
+ | sudo svn update | ||
+ | </ | ||
+ | |||
+ | * **After this your system should contain the very latest code from SVN** | ||
+ | |||
+ | <WRAP center round important 100%> | ||
+ | == Please Take Note == | ||
+ | * The current version of FreeRADIUS available on the repository (3.0.12) has this bug: http:// | ||
+ | * While we wait for the maintainer of the repository to update to the latest stable release please follow the instructions in this page to [[getting_started: | ||
+ | * Once the repository has been updated we will remove this //' | ||
+ | </ | ||