Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| install_24_4 [2024/09/19 10:22] – [Install MariaDB] system | install_24_4 [2026/08/15 07:32] (current) – system | ||
|---|---|---|---|
| Line 301: | Line 301: | ||
| * RADIUSdesk consists of three components. | * RADIUSdesk consists of three components. | ||
| * **rd** directory with its contents contains all the HTML and JavaScript code and is used as the presentation layer. | * **rd** directory with its contents contains all the HTML and JavaScript code and is used as the presentation layer. | ||
| - | * **cake4** is a CakePHPv4 application and can be considered the engine room. This is where the data is processed before it is displayed by the presentation layer. | + | * **cake4** is a CakePHPv5 (It was CakePHPv4 |
| * **login** is a directory with various login pages that are managed centrally via the **RADIUSdesk Dynamic Login Pages** applet. | * **login** is a directory with various login pages that are managed centrally via the **RADIUSdesk Dynamic Login Pages** applet. | ||
| * Later we will create various symbolic links from locations within the **rdcore** directory to locations within the document root directory of the web server. | * Later we will create various symbolic links from locations within the **rdcore** directory to locations within the document root directory of the web server. | ||
| Line 316: | Line 316: | ||
| sudo git clone https:// | sudo git clone https:// | ||
| </ | </ | ||
| - | * | + | * This will create an **rdcore** directory containing some sub-folders. |
| + | * Check out the CakePHPv5 API back-end application | ||
| + | <code bash> | ||
| + | cd /var/www | ||
| + | sudo git clone https:// | ||
| + | </ | ||
| * It is recommended that you also include the RD Mobile UI. | * It is recommended that you also include the RD Mobile UI. | ||
| * Check out the **rd_mobile** git repository. | * Check out the **rd_mobile** git repository. | ||
| Line 322: | Line 327: | ||
| cd /var/www | cd /var/www | ||
| sudo git clone https:// | sudo git clone https:// | ||
| + | </ | ||
| + | * It is further recommended that you include RD-Connect for users to manage their accounts. | ||
| + | <code bash> | ||
| + | cd /var/www | ||
| + | sudo git clone https:// | ||
| + | </ | ||
| + | * If you feel brave you can also try out out latest RdClient for clients to manage a couple of APs, Mesh Nodes or Permanent Users. | ||
| + | <code bash> | ||
| + | cd /var/www | ||
| + | sudo git clone https:// | ||
| </ | </ | ||
| Line 329: | Line 344: | ||
| cd / | cd / | ||
| sudo ln -s ../ | sudo ln -s ../ | ||
| - | sudo ln -s ../rdcore/ | + | sudo ln -s ../rd_cake5 |
| sudo ln -s ../ | sudo ln -s ../ | ||
| sudo ln -s ../ | sudo ln -s ../ | ||
| - | sudo ln -s ../rdcore/ | + | sudo ln -s ../rd_cake5/ |
| #For the RD Mobile UI | #For the RD Mobile UI | ||
| sudo ln -s ../ | sudo ln -s ../ | ||
| + | #For the RD-Connect Mobile UI | ||
| + | sudo ln -s ../ | ||
| + | #For the RD-Client Mobile UI | ||
| + | sudo ln -s ../ | ||
| </ | </ | ||
| Line 360: | Line 379: | ||
| #Some error messages may appear in the output, which is not a problem - no need to worry | #Some error messages may appear in the output, which is not a problem - no need to worry | ||
| sudo su | sudo su | ||
| - | mysql_tzinfo_to_sql | + | mariadb-tzinfo-to-sql |
| </ | </ | ||
| Line 383: | Line 402: | ||
| * See the example below | * See the example below | ||
| <code bash> | <code bash> | ||
| - | sudo mysql -u root rd < /var/www/rdcore/ | + | sudo mysql -u root rd < /var/www/html/ |
| </ | </ | ||
| * Some of these patches may add new columns to existing database tables. In this case, it is recommended to clear the CakePHP models (tables) cache to ensure that the latest changes are also applied there: | * Some of these patches may add new columns to existing database tables. In this case, it is recommended to clear the CakePHP models (tables) cache to ensure that the latest changes are also applied there: | ||
| <code bash> | <code bash> | ||
| sudo su | sudo su | ||
| - | cd / | + | cd / |
| rm * | rm * | ||
| exit | exit | ||
| Line 439: | Line 458: | ||
| * To activate the cron scripts, execute the following command, which adds the **RADIUSdesk** cron scripts to the cron system | * To activate the cron scripts, execute the following command, which adds the **RADIUSdesk** cron scripts to the cron system | ||
| <code bash> | <code bash> | ||
| - | sudo cp / | + | sudo cp / |
| </ | </ | ||
| * If you want to change the default intervals at which the scripts are executed, simply edit the file / | * If you want to change the default intervals at which the scripts are executed, simply edit the file / | ||
| Line 445: | Line 464: | ||
| ===== Add LETSENCRYPT certificate ===== | ===== Add LETSENCRYPT certificate ===== | ||
| <alert type=" | <alert type=" | ||
| - | Since Ubuntu 24.04 has not yet been released, we will use the instructions for 22.04, which should work just as well | + | Since instructions for Ubuntu 24.04 has not yet been released, we will use the instructions for 22.04, which should work just as well |
| </ | </ | ||
| * Instead of repeating the existing documentation, | * Instead of repeating the existing documentation, | ||