This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| getting_started:install_ubuntu_update_17_0_1 [2017/03/17 10:31] – [Updating the ExtJS files] admin | getting_started:install_ubuntu_update_17_0_1 [2017/04/06 11:27] (current) – [Update the Login Pages] admin | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| </ | </ | ||
| </ | </ | ||
| - | <WRAP center round tip 100%> | ||
| - | Should you wish to replace the **RADIUSdesk** etc from the optimised content edit the following file and look for the word **RADIUSdesk** (There should be three occurrences) | ||
| - | < | ||
| #If served out of Webroot | #If served out of Webroot | ||
| sudo vi / | sudo vi / | ||
| Line 34: | Line 31: | ||
| </ | </ | ||
| + | ===== 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 //' | ||
| + | </ | ||