1c_debian_12
Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версия | ||
1c_debian_12 [19.04.2024 17:58] – [Создание информационной базы] augin | 1c_debian_12 [06.12.2024 07:07] (текущий) – augin | ||
---|---|---|---|
Строка 18: | Строка 18: | ||
===== 1c ===== | ===== 1c ===== | ||
<code bash> | <code bash> | ||
- | tar xvfz server64_8.3.22.2143.tar.gz | + | tar xvfz server64_8.3.24.1342.tar.gz |
- | ./ | + | ./ |
</ | </ | ||
<code bash> | <code bash> | ||
- | <code bash>ln -f / | + | <code bash>ln -f / |
<code bash>sed -i ' | <code bash>sed -i ' | ||
<code bash> | <code bash> | ||
Строка 33: | Строка 33: | ||
<code bash> | <code bash> | ||
dpkg --add-architecture i386 | dpkg --add-architecture i386 | ||
- | apt update | + | apt update</ |
- | apt install unixodbc: | + | <code bash>apt install unixodbc: |
- | wget http:// | + | <code bash>wget http:// |
- | dpkg -i libenchant1c2a_1.6 | + | dpkg -i libenchant1c2a_1.6.0-11.1+b1_i386.deb |
- | apt --fix-broken install -y | + | apt --fix-broken install -y</ |
- | </ | + | |
===== Postgresql 1C ===== | ===== Postgresql 1C ===== | ||
<code bash> | <code bash> | ||
cd ~ | cd ~ | ||
- | wget https:// | + | wget https:// |
sh pgpro-repo-add.sh | sh pgpro-repo-add.sh | ||
</ | </ | ||
Строка 53: | Строка 52: | ||
</ | </ | ||
<code bash> | <code bash> | ||
+ | echo " | ||
systemctl enable postgrespro-1c-15 | systemctl enable postgrespro-1c-15 | ||
systemctl start postgrespro-1c-15 | systemctl start postgrespro-1c-15 | ||
systemctl status postgrespro-1c-15 | systemctl status postgrespro-1c-15 | ||
</ | </ | ||
- | | + | <code bash>sudo -u postgres psql -U postgres -c "alter user postgres with password ' |
- | + | ||
- | nano /var/ | + | |
- | host all all 0.0.0.0/0 md5 | + | |
- | + | ||
- | systemctl restart postgrespro-1c-15 | + | |
===== samba ===== | ===== samba ===== | ||
Строка 155: | Строка 150: | ||
PowerShell | PowerShell | ||
- | Invoke-Command -ComputerName dc1 -ScriptBlock {ktpass -kvno 12 -ptype KRB5_NT_PRINCIPAL -princ usr1cv8/ | + | Invoke-Command -ComputerName dc1 -ScriptBlock {ktpass -kvno 12 -ptype KRB5_NT_PRINCIPAL -princ usr1cv8/ |
- | | + | <code bash>cp /root/ |
- | chown usr1cv8: | + | chown usr1cv8: |
- | chmod 600 / | + | chmod 600 / |
- | sed -i ' | + | sed -i ' |
- | systemctl daemon-reload | + | systemctl daemon-reload |
- | systemctl restart srv1cv8.service | + | systemctl restart srv1cv8.service</ |
===== WEB ===== | ===== WEB ===== | ||
<code bash> | <code bash> | ||
Строка 244: | Строка 239: | ||
</ | </ | ||
EOF | EOF | ||
+ | chown -R usr1cv8: | ||
</ | </ | ||
Строка 304: | Строка 300: | ||
</ | </ | ||
<code bash>/ | <code bash>/ | ||
+ | </ | ||
+ | ===== Лицензия ===== | ||
+ | если аппаратный ключ | ||
+ | <code bash> | ||
+ | apt install aksusbd -y | ||
+ | reboot | ||
+ | </ | ||
+ | ===== disable-transparent-huge-pages ===== | ||
+ | <code bash> | ||
+ | cat << EOF > / | ||
+ | [Unit] | ||
+ | Description=Disable Transparent Huge Pages | ||
+ | |||
+ | [Service] | ||
+ | Type=oneshot | ||
+ | ExecStart=/ | ||
+ | ExecStart=/ | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | EOF | ||
+ | systemctl enable disable-transparent-huge-pages | ||
+ | systemctl start disable-transparent-huge-pages | ||
+ | systemctl status disable-transparent-huge-pages | ||
+ | |||
</ | </ |
1c_debian_12.1713549532.txt.gz · Последнее изменение: 08.07.2024 11:48 (внешнее изменение)