Индекс настроения
IPO происходят волнами
Прежде чем начинать, необходимо изучить признаки пузырей
Пик пузыря - рынок перестает реагировать на новости
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-get update -y | |
| apt-get install -y wget gnupg2 || apt-get install -y gnupg | |
| wget -O - http://repo.postgrespro.ru/keys/GPG-KEY-POSTGRESPRO | apt-key add - | |
| echo deb http://repo.postgrespro.ru/pg1c-archive/pg1c-12.1/debian/ buster main > /etc/apt/sources.list.d/postgrespro-1c.list | |
| apt-get update -y | |
| apt-get install -y postgrespro-1c-12-server postgrespro-1c-12-contrib | |
| /opt/pgpro/1c-12/bin/pg-setup initdb --encoding=UTF8 --locale=ru_RU.UTF-8 --data-checksums | |
| /opt/pgpro/1c-12/bin/pg-setup service enable | |
| service postgrespro-1c-12 start | |
| === |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux | |
| Invoke-WebRequest -Uri https://aka.ms/wsl-debian-gnulinux -OutFile c:\temp\debian.appx -UseBasicParsing | |
| Add-AppxPackage c:\temp\debian.appx | |
| debian | |
| #https://docs.microsoft.com/en-us/windows/wsl/install-win10 | |
| #https://docs.microsoft.com/en-us/windows/wsl/install-manual |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Диск должен иметь разметку gpt | |
| Создать раздел на 512M (cfdisk или cgdisk, порядок расположения разделов неважен), тип - EFI (EFI SYSTEM | EFISYS | ESP) | |
| Отформатировать в FAT: mkfs.vfat /dev/sdX, смонтировать например в /mnt/boot | |
| Создать каталог /efi/boot | |
| Взять любой загрузчик в /efi/boot, переименовать в bootx64.efi. | |
| - в случае grub: cp /boot/efi/EFI/debian/grubx64.efi /mnt/boot/bootx64.efi | |
| - в случае rfind: cp /boot/efi/EFI/refind/* /mnt/boot | |
| mv /mnt/boot/refind_x64.efi /mnt/boot/bootx64.efi | |
| Положить рядом конфиг для загрузчика (в случае grub: cp /boot/grub/grub.cfg /mnt/boot/, в случае refind уже скопировали вместе с загрузчиком) | |
| В конфиге прописать меню загрузки |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| qm importdisk vm-id /tmp/disk.vhd pve-storage-name | |
| === lxc === | |
| https://pve.proxmox.com/wiki/Unprivileged_LXC_containers | |
| pct list | |
| pct set 100 -mp0 /mnt/bindmounts/shared,mp=/shared | |
| Права apparmor для контейнеров: /etc/apparmor.d/lxc/ | |
| ====== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| zpool set autotrim=on | |
| === zfs-auto-snapshot | |
| apt install zfs-auto-snapshot | |
| zfs-auto-snapshot --help | |
| Снимок всех наборов (автоматически потом не удалятся): | |
| zfs-auto-snapshot // | |
| Автоснимок отдельного набора <dataset> с меткой frequent, удаление снимков frequent, кроме 4 последних: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Подключение через sssd (без winbind): | |
| Включить в домен: | |
| https://github.com/rsyuzyov/work-on-linux/blob/master/join-to-domain.md | |
| затем обязательно: | |
| net ads join -U admin -D DOM | |
| Далее проверки: | |
| kinit admin@DOM.LOCAL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Как максимально быстро и с минимальным расходом дискового пространства получать копии баз для разработки. | |
| Предположим, есть сервер баз данных под управлением postgres, назовем его srv-db | |
| И есть сервер разработки, на котором тоже есть postgres, назовем его srv-dev. | |
| Требуется по мере надобности быстро и без простоя продуктива получать копии для тестирования и разработки. | |
| Для этого проводим подготовительные работы: | |
| 1. Размещаем кластер postgres на zfs | |
| 2. Настраиваем потоковую асинхронную репликацию srv-db -> srv-dev | |
| После чего в нужный момент делаем копиии: | |
| 1. Делаем снимок zfs, затем клон на основе снимка |
Скачать с https://releases.1c.ru/project/CEL20
Обсуждение на партнерке 1С
Скачать, распаковать, открыть readme, прочитать и выполнить.
Устанавливать строго по инструкции! Если подгрузить в карточку драйвера zip-архив - работать не будет!
Приницип:
- Создать два виртуальных com-порта (COM3 и COM4), вход COM4 направить на выход COM3;
- Настроить "сканер" на COM3;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| crserver.exe -instsrvc -d <Catalog> -usr .\USR1CV8 -pwd UsrPass8 |