SMF - Just Installed!
sudo -s
apt update
apt upgrade -y
apt install -y net-tools mc wget
sudo 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_64
sudo ./installer.sh install-server
sudo ./installer.sh install-client
sudo ./installer.sh install
usbclnt -addserver **.**.**.**:32032
usbclnt -list
usbclnt -connect 1-1
usbclnt -autoconnecton 1-1
usbclnt -list
vi /etc/apt/sources.list
deb http://cz.archive.ubuntu.com/ubuntu focal main universe
apt update
apt install libenchant1c2a
apt install imagemagick
apt install unixodbc
apt install libgsf-1-114
apt install ttf-mscorefonts-installer fontconfig
fc-cache -f -v
dpkg-reconfigure locales
mkdir /soft
cd /soft
chmod 777 /soft
tar -xzvf server64_8_3_23_1912.tar.gz
./setup-full-8.3.23.1912-x86_64.run --mode unattended --enable-components server,ws,server_admin
systemctl link /opt/1cv8/x86_64/8.3.23.1912/srv1cv8-8.3.23.1912@.service
systemctl start srv1cv8-8.3.23.1912@default.service
systemctl enable srv1cv8-8.3.23.1912@default.service
systemctl status srv1cv8-8.3.23.1912@default.service
sudo lsusb | grep -i hasp
wget https://download.etersoft.ru/pub/Etersoft/HASP/stable/x86_64/Ubuntu/22.04/haspd_8.23-eter3ubuntu_amd64.deb
apt install make libc6-i386
dpkg -i haspd*.deb
systemctl start haspd
netstat -tulnp | grep hasp
systemctl enable haspd
wget 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.bz2
tar -zxvf postgresql_14.5_3.1C_amd64_deb.tar.bz2
dpkg -i postgresql*.deb
wget https://repo.postgrespro.ru/1c-15/keys/pgpro-repo-add.sh
sh pgpro-repo-add.sh
apt-get install postgrespro-1c-15
/opt/pgpro/1c-15/bin/pg-wrapper links update
systemctl start postgrespro-1c-15
systemctl status postgrespro-1c-15
su postgres
psql -U postgres -c "alter user postgres with password 'Ваш_пароль';"
exit
wget https://www.pgadmin.org/static/packages_pgadmin_org.pub
apt-key add packages_pgadmin_org.pub
echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list
apt update
apt install pgadmin4
/usr/pgadmin4/bin/setup-web.sh
Цитироватьusb.generic.allowCCID = "TRUE"
ЦитироватьВ сертификате центра распространения ключей для контроллера домена отсутствует DNS-имя домена im-cloud.site в атрибуте "Дополнительное имя субъекта": код ошибки 0xc000006d. Для устранения ошибки администратор домена должен получить сертификат центра распространения ключей с DNS-именем домена в атрибуте "Дополнительное имя субъекта". Используйте службы сертификатов Windows Server при создании шаблона проверки подлинности Kerberos.и
ЦитироватьРазличающееся имя в поле субъекта сертификата входа со смарт-картой не содержит сведений, достаточных для определения соответствующего домена на компьютере, не входящем в домен. Обратитесь к системному администратору.
fwconsole chown
fwconsole a r
chown -R /var/lib/php/session/
sudo sed -i "s/getNoSubKeyHtml:/getNoSubKeyHtml_:/" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
sudo sed -i "s/noSubKeyHtml/noSubKeyHtml_/" /usr/share/pve-manager/touch/pvemanager-mobile.js
sudo sed -i "s/noSubKeyHtml/noSubKeyHtml_/" /usr/share/pve-manager/js/pvemanagerlib.js
systemctl 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
apt update
apt install parted
parted /dev/sda
resizepart 3
100%FREE
lsblk
pvresize /dev/sda3
ЦитироватьPhysical volume "/dev/sda3" changed
1 physical volume(s) resized / 0 physical volume(s) not resized
lvextend -L +20G /dev/pve/data
pvs
vgs
lvs
ip ssh version 2
crypto key generate rsa modulus 2048 label SSH_KEYS
ip ssh rsa keypair-name SSH_KEYS
line vty 0 5
transport input ssh
ip ssh server algorithm hostkey ssh-rsa