Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Common Installation TasksThese tasks are performed on all DB servers, no matter what role (master or slave) they are to perform. Attach STORESTORE must be mounted before installing this role. See Mounting STORE - All Linux except for STORE (Debian/Win2019). Install MySQLConfigure RepositoriesEnable the Debian MySQL 8.x repository and install it. Note, you will get asked some questions. Just get MySQL 8.x and say OK.
Remove the Temporary .deb File
Update the Package List and Install MySQL Server
The debian installation will ask you some questions during installation:
The installer will also start and enable the mysql server. Configure FirewallAccess to the MySQL Server is configured in the firewall:
Configure MySQLConfiguration FilesThe Debian MySQL 8.x creates a configuration directory /etc/mysql/mysql.conf.d/ when it installs. The jtel configuration file is downloaded and stored here. This file contains a lot of well commented settings which can be tweaked if required. The main parameter to be changed is the RAM usage of the sever. See below.
Configure Server RAMIn order that the server makes the best use of the RAM available, the configuration file /etc/mysql/mysql.conf.d/jtel-enhanced-8-deb.cnf must be adapted. The setting innodb_buffer_pool_size should be adapted to about 3/4 of the available RAM, but a minimum of 3-4 GB should remain for the use of other processes. For Servers with 4 GB RAM, this should not exceed 2 GB.
Restart MySQLThe MySQL server is restarted to load all configuration settings.
Configure UsersAfter the first restart, user access must be setup. The following commands configure the users required:
Install UDP PluginNext, the UDP plugin is installed. This is required for the communication with further software modules in the system, when certain DB changes are made. The installation is slightly different for master and slave servers. InstallationMaster Server
Slave Server
ConfigurationTo configure the plugin, the following commands are executed:
|
...