Hetzner VPS: filesystem partitions
Sometimes I need to have separate partitions on VPS in Hetzner. The simplest way to create a custom disk structure – use Cloud-init script With commands: In this example, we have 10Gb for / and empty disk /dev/sdb
Sometimes I need to have separate partitions on VPS in Hetzner. The simplest way to create a custom disk structure – use Cloud-init script With commands: In this example, we have 10Gb for / and empty disk /dev/sdb
After upgrading the kernel to a newer kernel, OS won’t boot with a stacked message
Install all downloaded deb’s Reboot server/PC by command reboot After startup check the kernel version^ Test Wireguard on server Add repository for ubuntu 18.04 Make some changes to Firewall on server Simple script for generating key pairs and base cofigs for server and client Or download here: Put wg0.server as /etc/wireguard/wg0.conf on Server side and wg0.client on Client side in the same place Startup interface on machines For Android clients you can use config file as QR code
For flashing firmware you need connect GPIO0 to GND and CH_PD to VCC I have this TTL converter Bus 003 Device 026: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial PortBus 003 Device 026: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port But they have 5v output, so i used 5v to 3.3v converter Prepare notebook for flashing Go to https://github.com/themadinventor/esptool and download esptool wget https://github.com/themadinventor/esptool/archive/master.zipwget https://github.com/themadinventor/esptool/archive/master.zip install Python pip apt-get -y install python-pipapt-get -y install python-pip Inzip our master.zip unzip…
Чтобы в течении рабочего дня не воодить постоянно пароль при доступе в Git в версии 1.7.9 и выше появилась возможность кеширования введенных данных git config –global credential.helper cachegit config –global credential.helper cache это заставит держать данные авторизации в памяти По умолчанию 15минут. Но можно выставить свое время
Щоб не забути погратись: Zentyal (раніше відомий під ім’ям eBox Platform) — серверний дистрибутив Linux, побудований на пакетній базі Ubuntu LTS з довготривалою підтримкою, і орієнтований на створення серверів для обслуговування локальних мереж підприємств середнього та малого бізнесу. Zentyal постачається як у вигляді окремого установного Live-дистрибутиву, так і у вигляді набору пакунків для Ubuntu. Сирцевий код проекту доступний на умовах ліцензії GNU General Public License, а також (частково) під різними власницькими угодами. Zentyal є власністю і спонсорується іспанською комерційною компанією…
Отправка трасировки traceroute 216.81.59.173 -m 100traceroute 216.81.59.173 -m 100 вывод:
Перестал отрабпдывать mysqldump на более свежем mysql, вываливается с таким warning — Warning: Skipping the data of table mysql.event. Specify the –events option explicitly– Warning: Skipping the data of table mysql.event. Specify the –events option explicitly Утвеждая, что не нужно бэкапить таблицу mysql.event Эта таблица появилась с версии Mysql 5.1.6 . В ней находится расписание всяких действий самого демона.
если rm не справляется
fixing WiFi problem Ralink
По некоторым причинан нужно узнать свой внешний ip-адрес находясь за NAT. Через браузер это сделать легко: открываем Гуголь(Яндекс, Бинг) и пишем “what is my ip” кликаем в понравившееся и готово. А вот когда есть только консоль bash подход иной. Хотя можно и с помощью Links зайти в поисковик. Варианты