36 lines
1.5 KiB
Plaintext
36 lines
1.5 KiB
Plaintext
Srver 1c:
|
|
To build image use options to choose version of server and s6 supervisor if needed
|
|
- ARG S6_OVERLAY_VERSION
|
|
- ARG SERVER_VERSION
|
|
For example:
|
|
docker build --tag srv1c:8.3.27.1859 --build-arg SERVER_VERSION=8.3.27.1859 --build-arg S6_OVERLAY_VERSION=3.2.1.0 .
|
|
|
|
==========WARNING==================
|
|
if hostname in container would be changed, license activation will be destroyed
|
|
check that you always start container with the same hostname
|
|
|
|
Образец для активации лицензии:
|
|
./ring license activate \
|
|
--first-name Елена \
|
|
--middle-name Владимировна \
|
|
--last-name Полякова \
|
|
--email admin@mediaprod.ru \
|
|
--company "ООО \"МЕДИА ПРОДАКШН\"" --country RU \
|
|
--zip-code 420066 \
|
|
--town Казань \
|
|
--street "Абсолямова" \
|
|
--house 13 \
|
|
--serial 802897057 \
|
|
--validate \
|
|
--previous-pin 543-030-467-168-357 \
|
|
--pin 449-187-147-508-927 \
|
|
--path /var/1C/licenses/ >> /var/1C/licenses/lic_act.log
|
|
|
|
To set a Debian CPU to maximum frequency, install linux-cpupower, then run sudo cpupower frequency-set -g performance to set the scaling governor to high performance.
|
|
Alternatively, use echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor to apply this immediately.
|
|
Methods to Set Max CPU Frequency
|
|
Using cpupower (Recommended):
|
|
Install: sudo apt install linux-cpupower.
|
|
Set all cores to performance mode: sudo cpupower frequency-set -g performance.
|
|
Verify current speed: cpupower frequency-info.
|