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/04/24 07:27] – system | install_24_4 [2026/07/06 21:09] (current) – system | ||
|---|---|---|---|
| Line 243: | Line 243: | ||
| sql_mode=IGNORE_SPACE, | sql_mode=IGNORE_SPACE, | ||
| </ | </ | ||
| - | * Save the file and restart | + | * Save the file. |
| + | |||
| + | === Enable the Event Scheduler === | ||
| + | * MariaDB | ||
| + | * We make use of this feature to automatically optimize some of the database tables. | ||
| + | * We will enable the Event Scheduler in MariaDB by creating a new file / | ||
| + | <code bash> | ||
| + | sudo vi / | ||
| + | </ | ||
| + | * Enter these two lines: | ||
| + | <code bash> | ||
| + | [mysqld] | ||
| + | event_scheduler=on | ||
| + | </ | ||
| + | * Save the file. | ||
| + | * Restart | ||
| <code bash> | <code bash> | ||
| sudo systemctl restart mariadb | sudo systemctl restart mariadb | ||
| </ | </ | ||
| + | * You can confirm that it is now enabled by checking the following from the SQL terminal: | ||
| + | <code bash> | ||
| + | sudo mysql -u root | ||
| + | MariaDB [(none)]> | ||
| + | +-----------------+-------+ | ||
| + | | Variable_name | ||
| + | +-----------------+-------+ | ||
| + | | event_scheduler | ON | | ||
| + | +-----------------+-------+ | ||
| + | 1 row in set (0.001 sec) | ||
| + | </ | ||
| ----- | ----- | ||
| ==== Performance tuning for Nginx ==== | ==== Performance tuning for Nginx ==== | ||
| Line 297: | Line 322: | ||
| 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 310: | Line 345: | ||
| #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 335: | Line 374: | ||
| #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 359: | Line 398: | ||
| <code bash> | <code bash> | ||
| sudo mysql -u root rd < / | sudo mysql -u root rd < / | ||
| + | </ | ||
| + | * 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> | ||
| + | sudo su | ||
| + | cd / | ||
| + | rm * | ||
| + | exit | ||
| </ | </ | ||
| </ | </ | ||