Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install_26_4 [2026/04/07 16:14] – [Install RADIUSdesk] systeminstall_26_4 [2026/11/01 19:09] (current) – system
Line 299: Line 299:
   * In the first part, everything was prepared for the installation of **RADIUSdesk**.   * In the first part, everything was prepared for the installation of **RADIUSdesk**.
   * This part explains the steps for installing the latest **RADIUSdesk**.   * This part explains the steps for installing the latest **RADIUSdesk**.
-  * RADIUSdesk consists of three components. +  * RADIUSdesk consists of three core repositories. 
-    * **rd** directory with its contents contains all the HTML and JavaScript code and is used as the presentation layer. +    * **rd_gui_builds** contains the optimized ExtJS 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. +    * **rd_cake5** is a CakePHPv5 (It was CakePHPv4 initially) application and can be considered the engine room. This is where the data is processed before it is displayed by the presentation layer. 
-    * **login** is a directory with various login pages that are managed centrally via the **RADIUSdesk Dynamic Login Pages** applet. +    * **rd_login** is a repository with various dynamic 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 these cloned repositories to locations within the document root directory of the web server.
  
 === Required packages === === Required packages ===
Line 311: Line 311:
 sudo systemctl restart php8.5-fpm sudo systemctl restart php8.5-fpm
 </code> </code>
-  *  Check out the **rdcore** git repository.+  *  Check out the three core repositories.
 <code bash> <code bash>
 cd /var/www cd /var/www
-sudo git clone https://github.com/RADIUSdesk/rdcore.git+sudo git clone https://github.com/RADIUSdesk/rd_gui_builds.git 
 +sudo git clone https://github.com/RADIUSdesk/rd_cake5.git 
 +sudo git clone https://github.com/RADIUSdesk/rd_login.git
 </code> </code>
-  *   This will create an **rdcore** directory containing some subfolders. 
   * 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 333: Line 334:
 <code bash> <code bash>
 cd /var/www/html cd /var/www/html
-sudo ln -s ../rdcore/rd ./rd +sudo ln -s ../rd_gui_builds/Rd ./rd 
-sudo ln -s ../rdcore/cake4 ./cake4 +sudo ln -s ../rd_cake5 ./cake4 
-sudo ln -s ../rdcore/login ./login +sudo ln -s ../rd_login ./login 
-sudo ln -s ../rdcore/AmpConf/build/production/AmpConf ./conf_dev +sudo ln -s ../rd_cake5/rd_cake/setup/scripts/reporting ./reporting
-sudo ln -s ../rdcore/cake4/rd_cake/setup/scripts/reporting ./reporting+
 #For the RD Mobile UI #For the RD Mobile UI
 sudo ln -s ../rd_mobile/build/production/RdMobile ./rd_mobile sudo ln -s ../rd_mobile/build/production/RdMobile ./rd_mobile
Line 390: Line 390:
   * See the example below   * See the example below
 <code bash> <code bash>
-sudo mysql -u root rd < /var/www/rdcore/cake4/rd_cake/setup/db/8.068_add_email_sms_histories.sql +sudo mysql -u root rd < /var/www/html/cake4/rd_cake/setup/db/8.068_add_email_sms_histories.sql 
 </code> </code>
  * 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 /var/www/rdcore/cake4/rd_cake/tmp/cache/models+cd /var/www/html/cake4/rd_cake/tmp/cache/models
 rm * rm *
 exit exit
Line 403: Line 403:
 === Configure Nginx === === Configure Nginx ===
  
-  * Configure Nginx to rewrite some RdCore URLs that start with ///cake4/rd_cake//.+  * Configure Nginx to rewrite some URLs that start with ///cake4/rd_cake//.
   * Edit ///etc/nginx/sites-enabled/default//   * Edit ///etc/nginx/sites-enabled/default//
 <code bash> <code bash>
Line 426: Line 426:
 sudo systemctl reload nginx sudo systemctl reload nginx
 </code> </code>
- 
-=== Tweaks to work with PHP 8.5 === 
-  * Ubuntu 26.04 comes standard with PHP version 8.5. 
-  * We need to tweak two of the CakePHPv4 files in order to work with PHP versions 8.4 and higher. 
-<code bash> 
-sudo vi /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Error/PhpError.php 
-</code> 
-  * Look for this section: 
-<code php> 
-private $levelMap = [ 
-        E_PARSE => 'error', 
-        E_ERROR => 'error', 
-        E_CORE_ERROR => 'error', 
-        E_COMPILE_ERROR => 'error', 
-        E_USER_ERROR => 'error', 
-        E_WARNING => 'warning', 
-        E_USER_WARNING => 'warning', 
-        E_COMPILE_WARNING => 'warning', 
-        E_RECOVERABLE_ERROR => 'warning', 
-        E_NOTICE => 'notice', 
-        E_USER_NOTICE => 'notice', 
-        E_STRICT => 'strict', 
-        E_DEPRECATED => 'deprecated', 
-        E_USER_DEPRECATED => 'deprecated', 
-    ]; 
-</code> 
-  * Remove **E_STRICT**. 
-<code php> 
-private $levelMap = [ 
-        E_PARSE => 'error', 
-        E_ERROR => 'error', 
-        E_CORE_ERROR => 'error', 
-        E_COMPILE_ERROR => 'error', 
-        E_USER_ERROR => 'error', 
-        E_WARNING => 'warning', 
-        E_USER_WARNING => 'warning', 
-        E_COMPILE_WARNING => 'warning', 
-        E_RECOVERABLE_ERROR => 'warning', 
-        E_NOTICE => 'notice', 
-        E_USER_NOTICE => 'notice', 
-    //    E_STRICT => 'strict', 
-        E_DEPRECATED => 'deprecated', 
-        E_USER_DEPRECATED => 'deprecated', 
-    ]; 
-</code> 
-  * Second file to tweak: 
-<code bash> 
-sudo vi /var/www/rdcore/cake4/rd_cake/vendor/cakephp/chronos/src/Traits/FactoryTrait.php 
-</code> 
-  * Look for this section: 
-<code php> 
-public static function createFromTimestamp(int|float $timestamp, $tz = null): ChronosInterface 
-</code> 
-  * Change it to: 
-<code php> 
-public static function createFromTimestamp(int $timestamp, $tz = null): static 
-</code> 
-  * The CakePHPv4 application should now run without any errors. 
 === Important URLs ===   === Important URLs ===  
   * The following URLs are important to reach the user interface   * The following URLs are important to reach the user interface
-  * To load the optimized user interface, go to http://127.0.0.1/rd/build/production/Rd/+  * To load the user interface, go to http://127.0.0.1/rd
   * If you want to deliver the content directly from the webroot, proceed as follows:   * If you want to deliver the content directly from the webroot, proceed as follows:
 <code bash> <code bash>
-sudo cp -R /var/www/html/rd/build/production/Rd/* /var/www/html/+sudo cp -R /var/www/html/rd/* /var/www/html/
 </code> </code>
   * To load the RD Mobile UI, go to http://127.0.0.1/rd_mobile   * To load the RD Mobile UI, go to http://127.0.0.1/rd_mobile
Line 503: Line 445:
   * 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 /var/www/html/cake4/rd_cake/setup/cron/cron4 /etc/cron.d/+sudo cp /var/www/html/cake4/rd_cake/setup/cron/rd_cake5 /etc/cron.d/
 </code> </code>
   * If you want to change the default intervals at which the scripts are executed, simply edit the file /etc/cron.d/cron3.   * If you want to change the default intervals at which the scripts are executed, simply edit the file /etc/cron.d/cron3.
Line 509: Line 451:
 ===== Add LETSENCRYPT certificate ===== ===== Add LETSENCRYPT certificate =====
 <alert type="success"> <alert type="success">
-Since Ubuntu 26.04 has not yet been released, we will use the instructions for 22.04, which should work just as well+Since instructions for Ubuntu 26.04 has not yet been released, we will use the instructions for 22.04, which should work just as well
 </alert> </alert>
   * Instead of repeating the existing documentation, we simply add a URL with the corresponding instructions   * Instead of repeating the existing documentation, we simply add a URL with the corresponding instructions
  • install_26_4.1775571264.txt.gz
  • Last modified: 2026/04/07 16:14
  • by system