SMF - Just Installed!
htpasswd -c /etc/apache2/.htpasswd user1chtpasswd /etc/apache2/.htpasswd glbuchvi /var/www/infobase/.htaccessAuthType Basic
AuthName "Restricted Content"
AuthUserFile /etc/apache2/.htpasswd
Require valid-userRequire user user1c glbuch


apt install apache2mkdir -p /var/www/Название_базыchown -R www-data:www-data /var/www/Название_базы/opt/1cv8/x86_64/8.3.22.1709/webinst -publish -apache24 -wsdir Название_базы -dir /var/www/Название_базы -connstr "Srvr=Имя_сервера;Ref=Название_базы;" -confpath /etc/apache2/apache2.confsystemctl restart apache2systemctl enable apache2mkdir /postgreschown postgres:postgres /postgressystemctl stop postgrespro-1c-15vi /etc/default/postgrespro-1c-15ЦитироватьPGDATA=/var/lib/pgpro/1c-15/data
PGDATA=/postgrescp -R /var/lib/pgpro/1c-15/data/* /postgreschmod 750 /postgressystemctl start postgrespro-1c-15sudo -sapt updateapt upgrade -yapt install -y net-tools mc wgetsudo apt-get install make gcc linux-headers-`uname -r`wget https://www.incentivespro.com/usb-redirector-linux-x86_64.tar.gz
tar -zxf ./usb-redirector-linux-x86_64.tar.gz
cd ./usb-redirector-linux-x86_64sudo ./installer.sh install-serversudo ./installer.sh install-clientsudo ./installer.sh installusbclnt -addserver **.**.**.**:32032usbclnt -listusbclnt -connect 1-1usbclnt -autoconnecton 1-1usbclnt -listvi /etc/apt/sources.listdeb http://cz.archive.ubuntu.com/ubuntu focal main universeapt updateapt install libenchant1c2aapt install imagemagickapt install unixodbcapt install libgsf-1-114apt install ttf-mscorefonts-installer fontconfigfc-cache -f -vdpkg-reconfigure localesmkdir /softcd /softchmod 777 /softtar -xzvf server64_8_3_23_1912.tar.gz./setup-full-8.3.23.1912-x86_64.run --mode unattended --enable-components server,ws,server_adminsystemctl link /opt/1cv8/x86_64/8.3.23.1912/srv1cv8-8.3.23.1912@.servicesystemctl start srv1cv8-8.3.23.1912@default.servicesystemctl enable srv1cv8-8.3.23.1912@default.servicesystemctl status srv1cv8-8.3.23.1912@default.servicesudo lsusb | grep -i haspwget https://download.etersoft.ru/pub/Etersoft/HASP/stable/x86_64/Ubuntu/22.04/haspd_8.23-eter3ubuntu_amd64.debapt install make libc6-i386dpkg -i haspd*.debsystemctl start haspdnetstat -tulnp | grep haspsystemctl enable haspdwget https://releases.1c.ru/version_file?nick=AddCompPostgre&ver=14.5-3.1C&path=AddCompPostgre%5c14_5_3_1C%5cpostgresql_14.5_3.1C_amd64_deb.tar.bz2tar -zxvf postgresql_14.5_3.1C_amd64_deb.tar.bz2dpkg -i postgresql*.debwget https://repo.postgrespro.ru/1c-15/keys/pgpro-repo-add.sh
sh pgpro-repo-add.shapt-get install postgrespro-1c-15/opt/pgpro/1c-15/bin/pg-wrapper links updatesystemctl start postgrespro-1c-15systemctl status postgrespro-1c-15su postgrespsql -U postgres -c "alter user postgres with password 'Ваш_пароль';"exitwget https://www.pgadmin.org/static/packages_pgadmin_org.pubapt-key add packages_pgadmin_org.pubecho "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.listapt updateapt install pgadmin4/usr/pgadmin4/bin/setup-web.shЦитироватьusb.generic.allowCCID = "TRUE"





ЦитироватьВ сертификате центра распространения ключей для контроллера домена отсутствует DNS-имя домена im-cloud.site в атрибуте "Дополнительное имя субъекта": код ошибки 0xc000006d. Для устранения ошибки администратор домена должен получить сертификат центра распространения ключей с DNS-именем домена в атрибуте "Дополнительное имя субъекта". Используйте службы сертификатов Windows Server при создании шаблона проверки подлинности Kerberos.и
ЦитироватьРазличающееся имя в поле субъекта сертификата входа со смарт-картой не содержит сведений, достаточных для определения соответствующего домена на компьютере, не входящем в домен. Обратитесь к системному администратору.
fwconsole chownfwconsole a rchown -R /var/lib/php/session/sudo sed -i "s/getNoSubKeyHtml:/getNoSubKeyHtml_:/" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.jssudo sed -i "s/noSubKeyHtml/noSubKeyHtml_/" /usr/share/pve-manager/touch/pvemanager-mobile.jssudo sed -i "s/noSubKeyHtml/noSubKeyHtml_/" /usr/share/pve-manager/js/pvemanagerlib.jssystemctl restart pveproxy.service#!/bin/sh
#######################################################
#
# Edits the proxmox Subscription file to make it
# think that it has a Subscription.
#
# Will disable the annoying login message about
# missing subscription.
#
# Tested on Proxmox PVE 5.2-1
#
# The sed command will create a backup of the changed file.
# There is no guarantee that this will work for future versions.
# Use at your own risk!
#
# OneLiner:
# wget -q -O - 'https://gist.github.com/tavinus/08a63e7269e0f70d27b8fb86db596f0d/raw/' | /bin/sh
# curl -L -s 'https://gist.github.com/tavinus/08a63e7269e0f70d27b8fb86db596f0d/raw/' | /bin/sh
#
#######################################################
init_error() {
local ret=1
[ -z "$1" ] || printf "%s\n" "$1"
[ -z "$2" ] || ret=$2
exit $ret
}
# Original command
# sed -i.bak 's/NotFound/Active/g' /usr/share/perl5/PVE/API2/Subscription.pm && systemctl restart pveproxy.service
# Command to restart PVE Proxy and apply changes
PVEPXYRESTART='systemctl restart pveproxy.service'
# File/folder to be changed
TGTPATH='/usr/share/perl5/PVE/API2'
TGTFILE='Subscription.pm'
# Check dependecies
SEDBIN="$(which sed)"
[ -x "$SEDBIN" ] || init_error "Could not find 'sed' binary, aborting..."
# This will also create a .bak file with the original file contents
sed -i.bak 's/NotFound/Active/g' "$TGTPATH/$TGTFILE" && $PVEPXYRESTART
r=$?
if [ $r -eq 0 ]; then
printf "%s\n" "All done! Please refresh your browser and test the changes!"
exit 0
fi
printf "%s\n" "An error was detected! Changes may not have been applied!"
exit 1
# Check disk space before
df -h
# Delete local-lvm storage in gui
lvremove /dev/pve/data
lvresize -l +100%FREE /dev/pve/root
resize2fs /dev/mapper/pve-root
# Check disk space after
df -h