Поиск

5 дек. 2019 г.

Автозагрузка виртуальной машины Virtualbox

sudo touch /etc/init.d/vboxrun

#!/bin/sh
#Запускаем ВМ 1
tunctl -t virt0 -u username
VBoxManage startvm -type=headless VirtMachine1
#Запускаем ВМ 2 из под другого пользователя
tunctl -t virt1 -u username
su username –c “BoxManage startvm -type=headless VirtMachine2”

sudo chmod +x /etc/init.d/vboxrun
sudo update-rc.d vboxrun defaults 80

Бэкап виртуалки vbox

бэкап виртуалки vbox

VBoxManage controlvm Имя ВМ savestate
cp /путь к образу/вм.img  /путь к резервной копии/ вмОт.img
VBoxManage startvm -type=headless Имя ВМ

The BIRD Internet Routing Daemon

The BIRD Internet Routing Daemon

What do we support:

Both IPv4 and IPv6
Multiple routing tables
BGP
RIP
OSPF
BFD
Babel
Static routes
IPv6 Router Advertisements
Inter-table protocol
Command-line interface (using the `birdc' client; to get some help, just press `?')
Powerful language for route filtering
Linux, FreeBSD, NetBSD, OpenBSD ports

Конфиг .conkyrc


Шаблон iptables.sh

iptables.sh

Debian 10 Buster Sources List for Russia

Источник: https://debgen.simplylinux.ch/

#------------------------------------------------------------------------------#
#                   OFFICIAL DEBIAN REPOS                 
#------------------------------------------------------------------------------#

###### Debian Main Repos
deb http://ftp.ru.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ stable main contrib non-free

deb http://ftp.ru.debian.org/debian/ stable-updates main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ stable-updates main contrib non-free

deb http://security.debian.org/ stable/updates main
deb-src http://security.debian.org/ stable/updates main

deb http://ftp.debian.org/debian buster-backports main
deb-src http://ftp.debian.org/debian buster-backports main


2 дек. 2019 г.

Автоматическое определение кодировки в xed

В терминал копируем первую строку, если команда не пройдет, то пройдет вторая.

gsettings set org.x.editor.preferences.encodings auto-detected "['UTF-8', 'WINDOWS-1251', 'KOI8-R', 'CP866', 'CURRENT', 'ISO-8859-15', 'UTF-16']"

gsettings set org.x.editor auto-detected-encodings "['UTF-8', 'WINDOWS-1251', 'KOI8-R', 'CP866', 'CURRENT', 'ISO-8859-15', 'UTF-16']"