This commit is contained in:
ark
2026-02-10 05:09:58 +03:00
parent 48b6ebf161
commit 19630ee9b8
11 changed files with 289 additions and 216 deletions
+21 -203
View File
@@ -5,213 +5,31 @@ To build image use options to choose version of server and s6 supervisor if need
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 --serial 8100274638 --validate --company "ООО \"МЕДИА ПРОДАКШН\"" --last-name Полякова --first-name Елена --middle-name Владимировна --email admin@mediaprod.ru --country Россия --zip-code 420066 --town Казань --street "Абсолямова" --house 13 --previous-pin 277-997-821-814-278 --pin 049-737-028-744-657 --path /var/1C/licenses/ >> /var/1C/licenses/lic_act.log
./ring license activate --serial 8105431364 --validate --company "ООО \"МЕДИА ПРОДАКШН\"" --last-name Полякова --first-name Елена --middle-name Владимировна --email aliya@mediaprod.ru --country RU --zip-code 420066 --region "Татарстан Респ" --town Казань --street "ул. Абсалямова" --house 13 --previous-pin 334-970-273-653-397 --pin 543-972-349-546-928 --path /var/1C/licenses/ > /opt/1C/ck_lic_act.log
./ring license activate --serial 8100291800 --validate --company "ООО \"МЕДИА ПРОДАКШН\"" --last-name Полякова --first-name Елена --middle-name Владимировна --email aliya@mediaprod.ru --country RU --zip-code 420066 --region "Татарстан Респ" --town Казань --street "ул. Абсалямова" --house 13 --previous-pin 320-241-844-946-866 --pin 078-380-003-055-303 --path /var/1C/licenses/ > /var/1C/licenses/lic_act.log
./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
Регистрационный номер: 8100274638
Номенклатура: 4601546080882, 1С:Предприятие 8 ПРОФ. Лицензия на 5 рабочих мест (программная защита)
Лицензия: Лицензия на 5 рабочих мест (программная защита), ПРОФ
Вариант защиты: Многопользовательская лицензия (5 пользователей) ПРОФ
ПИН-код: 066-226-701-930-391
Дата активации: 04.10.2018 18:35:41 (Использован (\*))
Имя компьютера: 1CWEBSERVER
--------------------
ПИН-код: 277-997-821-814-278
Дата активации: 08.12.2019 22:48:00 (Активирован (\*))
Имя компьютера: 1C8SERV
--------------------
ПИН-код: 049-737-028-744-657
Дата активации: -- (Резервный (\*))
Имя компьютера:
o 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.
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.
Владелец лицензии: Компания
Организация: ООО "МЕДИА ПРОДАКШН"
Фамилия: Полякова
Имя: Елена
Отчество: Владимировна
e-mail: aliya@mediaprod.ru
Страна: RU
Индекс: 420066
Регион/область: Татарстан Респ
Район:
Город: Казань
Улица: ул. Абсалямова
Дом: 13
Корпус:
Квартира, офис:
apache2ctl -V | grep mpm
a2enmod mpm_worker
apache2ctl -V | grep mpm
apache2ctl -V | grep worker
apache2ctl -V | grep -i mpm
nano /etc/apache2/mods-available/mpm_worker.conf
apache2ctl restart
apache2ctl -V | grep -i mpm
nano /etc/apache2/mods-available/mpm_worker.conf
nano /etc/pam.d/common-session
apache2ctl restart
tail -f /var/log/apache2/error.log
/entrypoint.sh
/opt/1cv8/x86_64/8.3.27.1859/webinst -publish -apache24 -wsdir mp-hrm -dir /var/www/1c/mp-hrm -connstr "File=/bases/mp-hrm;" -confpath /etc/apache2/apache2.conf
ps ax
apachectl restart
cd /opt/1cv8/x86_64/8.3.27.1859/
ls -al ./licenses/
ls -al ./licenses/3rd_party/
ls /opt/1cv8/
ls /opt/1cv8/common/
ls
cd /opt/1cv8/common/
ls -al
cd /tmp/
ls
tar
tar -xvf 1c_edt_distr_2025.1.5_34_linux_x86_64.tar.gz
ls
ls ./distr/
ls -al
./1ce-installer-cli --help
./1ce-installer-cli query
./1ce-installer-cli install
ls
ls /opt/
ls /opt/1cv8/
ls /opt/1C/1CE/
ls /opt/1C/1CE/components/
ls /opt/1C/1CE/
ls /opt/1C/1CE/components/
ls /opt/1C/1CE/products/
ls
./1ce-installer-cli
./1ce-installer-cli install
/opt/1C/1CE/components/1c-enterprise-installer-1.16.0+3-x86_64/1ce-installer-cli install
/opt/1C/1CE/components/1c-enterprise-installer-1.16.0+3-x86_64/1ce-installer-cli help
/opt/1C/1CE/components/1c-enterprise-installer-1.16.0+3-x86_64/1ce-installer-cli install
cd /opt/1C/1CE/
ls -al
cd products/
ls -al
cd 1c-edt-start-product-2025.1.5+34-x86_64/
ls -al
cd ..
cd ..
cd components/
ls -al
cd axiom-jdk-full-17.0.16+12-x86_64/
ls
cd bin/
ls
cd ../../1c-edt-start-0.9.0+229-x86_64/
ls
ls -al
./1cedtstart
ls
cd features/
ls
cd ..
ls
find / -name 1cedtcli
ls
ls -al licenses/
ls -al features/
ls -al 1cedtstart
ls -al plugins/
cd ..
ls
ls -r
ls --help
ls -R
ls -R | grep lic
ls -R | grep licen
find / -name license
find /opt -name license
find /opt -name license*
ls -alR /opt/1cv8/x86_64/8.3.27.1859/licenses/
/opt/1cv8/x86_64/8.3.27.1859/rac --help
find /opt -name ring
cd ..
ls
cd /tmp/
ls
tar -xvf 1c_enterprise_license_tools_0.15.0_2_linux_x86_64.tar.gz
./1ce-installer-cli
java --version
tar -xvfz 1c_enterprise_license_tools_0.15.0_2_linux_x86_64.tar.gz
ls
mkdir 1
cd 1
ls
tar -xvf 1c_enterprise_license_tools_0.15.0_2_linux_x86_64.tar.gz
ls -al
./1ce-installer-cli
apt update
apt search
apt search java
apt search openjdk
apt search openjdk | grep install
find / -name java
apt search openjdk-headless
apt search openjdk
apt install openjdk-17-jre-headless
./1ce-installer-cli
./1ce-installer-cli install
./1ce-installer-cli install --ignore-signature-warnings
cd /opt/1C/1CE/components/
ls
cd 1c-enterprise-license-tools-0.15.0+2-x86_64/
ls
find / -name ring
cd ..
ls
cd 1c-enterprise-ring-0.19.5+12-x86_64/
ls
./ring
ls -al /opt/
ls -al /opt/1C/
ls -al /opt/1C/1CE/
ls -al /opt/1C/1CE/components/
ls -al /opt/1C/1CE/components/1c-enterprise-license-tools-0.15.0+2-x86_64/
./ring --help
./ring
./ring help
./ring help modules
./ring license help
find / -name gawk
apt install gawk
./ring license help
echo $JAVA_HOME
root@ecfc403dd9eb:/opt/1C/1CE/components/1c-enterprise-ring-0.19.5+12-x86_64# ./ring license help
dirname $(dirname $(readlink -f $(which java)))
ls /usr/lib/jvm/java-17-openjdk-amd64/
ls /usr/lib/jvm/java-17-openjdk-amd64/bin/
find /opt/ -name java
/opt/1cv8/x86_64/8.3.27.1859/jre/bin/java --version
/opt/1cv8/x86_64/8.3.27.1859/jre/bin/java
/opt/1cv8/x86_64/8.3.27.1859/jre/bin/java -version
dirname
dirname --help
ls /opt/1cv8/x86_64/8.3.27.1859/jre/
export JAVA_HOME="/opt/1cv8/x86_64/8.3.27.1859/jre/"
export PATH="/opt/1cv8/x86_64/8.3.27.1859/jre/bin:$PATH"
./ring license help
./ring license list
ls /var/1C/licenses/