1c_debian_12
Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версия | ||
1c_debian_12 [22.04.2024 09:39] – [i386] augin | 1c_debian_12 [06.12.2024 07:07] (текущий) – augin | ||
---|---|---|---|
Строка 34: | Строка 34: | ||
dpkg --add-architecture i386 | dpkg --add-architecture i386 | ||
apt update</ | apt update</ | ||
- | <code bash>apt install unixodbc: | + | <code bash>apt install unixodbc: |
<code bash> | <code bash> | ||
dpkg -i libenchant1c2a_1.6.0-11.1+b1_i386.deb | 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.1713778794.txt.gz · Последнее изменение: 08.07.2024 11:48 (внешнее изменение)