This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| getting_started:update [2022/05/24 22:35] – [Update RADIUSdesk] admin | getting_started:update [2022/06/02 20:08] (current) – [Update RADIUSdesk] admin | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| #The patches are non-destructive so you can apply them multiple times. | #The patches are non-destructive so you can apply them multiple times. | ||
| </ | </ | ||
| + | * Apply the latest FreeRADIUS config (not always required) | ||
| + | |||
| + | <code bash> | ||
| + | cd / | ||
| + | ls -l | ||
| + | #Here you can see one file was updated with the git pull | ||
| + | #We can replace the current FreeRADIUS config with it | ||
| + | -rw-r--r-- 1 system system 234816 Jun 5 2021 freeradius-3.daily.10.tar.gz | ||
| + | -rw-rw-r-- 1 system system 232305 May 21 03:26 freeradius-3-radiusdesk.tar.gz | ||
| + | |||
| + | # Stop the service if it is already running | ||
| + | sudo systemctl stop freeradius | ||
| + | # Backup the original FreeRADIUSdirectory | ||
| + | sudo mv / | ||
| + | # Extract the RADIUSdesk modified FreeRADIUS directory | ||
| + | sudo tar xzf / | ||
| + | sudo mv / | ||
| + | cd / | ||
| + | sudo chown -R freerad. 3.0 | ||
| + | sudo mkdir / | ||
| + | chown freerad. / | ||
| + | # Start the service | ||
| + | sudo systemctl start freeradius | ||
| + | # See if it is now running with the new config | ||
| + | sudo systemctl status freeradius | ||
| + | </ | ||
| + | * Update the GUI in the Nginx Document Root | ||
| + | <code bash> | ||
| + | sudo cp -R / | ||
| + | </ | ||
| + | |||
| + | |||