This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
сервис_salesplatform_vtiger_crm_russian [2025/08/04 09:22] val |
сервис_salesplatform_vtiger_crm_russian [2025/08/05 17:30] (current) val [Информация по установке в LXC] |
||
---|---|---|---|
Line 186: | Line 186: | ||
<code> | <code> | ||
- | # lxc-create -n crm -t download -- -d debian -r bullseye -a amd64 | + | ubuntu24# mysql |
+ | ... | ||
CREATE USER vtigercrm@'%' IDENTIFIED BY 'vtigercrm'; | CREATE USER vtigercrm@'%' IDENTIFIED BY 'vtigercrm'; | ||
GRANT ALL ON vtigercrm.* TO vtigercrm@'%'; | GRANT ALL ON vtigercrm.* TO vtigercrm@'%'; | ||
+ | ... | ||
+ | ubuntu24# lxc-create -n crm -t download -- -d debian -r bullseye -a amd64 | ||
+ | |||
+ | ubuntu24# lxc-attach -n crm -- /bin/bash | ||
+ | |||
+ | crm# timedatectl set-timezone Europe/Moscow # иначе "всплывающее" окно сразу "исчезает" | ||
+ | ... | ||
+ | ubuntu24# lxc-info -n crm | ||
+ | |||
+ | ubuntu24# nft list ruleset | ||
+ | |||
+ | ubuntu24# nft 'add chain lxc prerouting { type nat hook prerouting priority dstnat; }' | ||
+ | ubuntu24# nft add rule lxc prerouting ip daddr 172.16.1.X tcp dport 88 dnat to 10.0.3.N:80 | ||
- | # nft 'add chain lxc prerouting { type nat hook prerouting priority dstnat; }' | + | ubuntu24# nft -a list ruleset |
- | # nft add rule lxc prerouting ip daddr 172.16.1.13 tcp dport 88 dnat to 10.0.3.171:80 | + | ubuntu24# nft delete rule lxc prerouting handle 7 |
</code> | </code> | ||