Ubuntu: различия между версиями

Материал из bujarovo
Перейти к навигации Перейти к поиску
Строка 32: Строка 32:
 
https://2ip.ru<br><br>
 
https://2ip.ru<br><br>
  
 +
-----BEGIN PGP MESSAGE-----
 +
 +
jA0ECQMCF/ocQW4/VwD/0uoBuizitiueGlFE+C4Is3gyBQFmpHM7gKnvHa9f/XDG
 +
KGNwIm9W/seYUawhjZbmsCrrfNHNg6dLgw9sivLcghYa8glsx/GOgQiRIxTFt50u
 +
y2cjW6IvG8NOEChEEGbCKDmC/jit2nj9WwtWOZ2GyPd6xfLpAe6VTz0oTvV0CFES
 +
cLppogXbLZ3blm6mM67owht6/vE2gC806Jg1s2SByH3nIZSU24AWUZvQSLGNmiVT
 +
SXZYROBjWwZKt9EqzgewvqpxQesLeYyqeo2wI9x/if8uda+/Uinx5qqXRDDJpnzF
 +
2fpqQQlQr/Nhq7hP+BFQwmTUZdNFDCpLU2WtmJJVWy1KyxKzoSuPHN8TuMvXm9CF
 +
gjwgOxi3U0T/QBP66EEsIAStfqqlM2kqc67Wku3vo9tD1qqvgQk4Wiw9iiISq1dt
 +
FzKHY6dx6FxcChlxrfWd68PdK9CYd0uQCLjZU7pQD21FNwsri3p9kG7uythp60+l
 +
+oqXI5/25jcPXT6czd9NRyG7IwGhyHFnvWXX0FvEP8RFGt9weP8LYN/xqu/3KJxM
 +
Opo3jHeqf5jpZMqIxa2rI3G0tI67M6Jrt7jGoFz3XTuWAu8obr/zom1TiBq7nYKj
 +
7lDogi8OcjCIxJngN0gWV616XXS0MANiqnT8kaylmgvhyw59NnGge0rfnTW5hrqj
 +
RBIuGSoEkh8Eeei5M09ED+O0WZROygAUgXrIW8tn/l2kxF6R8Cb/CCn8qrNJHL/J
 +
t3ZpvhcsceIlDQupcq2HpTDE7gvp2DLLa6Ot/1AL1Ob1FOnM6iftKoVgt+ZK66IW
 +
LYvt5ieWA92NL8I9jdBiFaMFZMFzS+NGzi/sZ9n338p+LpV32ltb8c/UbXO2jpjd
 +
tsciRzlkoOHYSlPa6bGI59rJxBXSGflG54WSzTRRp8qLuZpujyfA5TiStwvtcDgf
 +
TKNkmmvwi4auT/2MttaJ4ouTy1YvKnliaS6RcFdt+N5umevg8Sy/m9VUHs6zdc4F
 +
mtKVZ65SHxBSqzf/R7RgbPVFKoVb3EzT5v7EOD6+OaFbGvwEdaifwnUTruhTuMsS
 +
YWnMdGQKM/BNcLSdYw2Wdn67HMwsfFttMf/qMiAe/PuKLv0331VtmlfsJlBeYJMV
 +
qZYFMy5iYHuAveRnGT+U2Rpsrk/0gmHhIxioX6PHZykufLv3c3N4eLluy53xZDDj
 +
gZPPQ7wYunDpjJp1Lv2VgjWVZYUk1Jf7TiuhVNWJzq0CMKJNBCDGVTqDjVumwKOl
 +
o6LmxFeCQt6khR3lI8i+1gISTnpKtiHwKEG2v51AXGOgRP/kYvd3c1d+5DkQeBB4
 +
uVrgLN7SN87oaXeT2fP8ke3+2/hl3GI6lOKe/qAHrgaJwGBVpdEdyFT27K0Rhfp3
 +
tTXw3unEWvljbU+YRP0dE7p5r4KOLWhjiC8TFWZAdOYSSGCqTEaUigweredmFqj8
 +
lIZIWpwJH3tgFfPeUWqftIim72v0FuRVxXuDUrM0xu/m0GPsr5hMHnQMLcY6FNWk
 +
qPPBmV4JK48NFI3k9f9oMq606Ovo0GOaW0PyDbyZa3JPoHnCYs9NeV9cq2hLhKok
 +
+MLrOmcbC4ItTmMFuFhMCqn8FPUit1tYrUAajbe4wsZ7VKwNz6F+QqKRw0SCjF49
 +
l5yJ3oq1bBlLehdx7nd5ZznKwjoTq0yca3tDqhb/CsTePO2kd5f5PnfOsU+8UjDI
 +
Sqg02U+OvB/YeS6A9PIK3WJoGIZqtzR4cz9WnTrafovKutc=
 +
=NJ0P
 +
-----END PGP MESSAGE-----
 
timedatectl set-timezone 'Europe/Moscow’<br>
 
timedatectl set-timezone 'Europe/Moscow’<br>
 
dpkg-reconfigure tzdata<br><br>
 
dpkg-reconfigure tzdata<br><br>
Строка 54: Строка 86:
  
 
sudo snap disable rocketchat-serverэто останавливает все. Затем, sudo snap enable rocketchat-serverкоторый вернет все в рабочее состояние, если в журналах нет реальной проблемы.<br>
 
sudo snap disable rocketchat-serverэто останавливает все. Затем, sudo snap enable rocketchat-serverкоторый вернет все в рабочее состояние, если в журналах нет реальной проблемы.<br>
 
-----BEGIN PGP MESSAGE-----
 
 
jA0ECQMCxWZ2lxQSBAb70uoBV7qotMqL42tiWynjc8A2Vf9SvsxjQdBNhGEgcwfo
 
GdhFKxNveVX5ZRCKM1+tO1pVp/W5HugzC1/vpVGqTX18ZaA8Fu561LqhZSS0BbY6
 
38JRWk1KmMKuLAaHQzc2dhG7M2SKIeiJJfk6DfdExj9w1gfjEyDtKdHas1sVcBca
 
7qc0zXdfrFBvGMCnpV6Zz4m2cNVzCfJtl/Kgbmqm3eMXIh+uWgNKHV81xpRlBwEZ
 
dP+knzB07eSgr8YbK4YwRPwphM0pWIRfJHY0JwKYYEaIYrr83naRW+rUUxB0SzKl
 
ijYor9eCFUHc7wR7zkWIG5ye+l64PhokLAkXOWDGb7NiD0sx2y7KSeTesxt1/gGg
 
6N+9mHA4dWiE8LtXlpXQn0+fJEaumbCVxO041wJeuV52pnWN1hvLRTbVMebh6/sy
 
6Wp8pIZ9PuAdUKK1bcrCJ/wnyIq9oz26wKnUf07wvX7tNsBlQUfTjmIY3CRhUcSz
 
qRZARC535O++OwMrlQqI9kCVTGGcWixXPi5eC3dOVBbYQf4L0x5JZ7Wu+D/PPqGj
 
EeCX0Jn9k4WWYRs9CYJWA0I20yfgizS0UZxd/RwD1FN1Kogxni6stfQqn4Lbjk2E
 
Fpr8DxzswUJuqlg21PKa+0ILnqNmA8AU8SOAAMPiB/cN4qUBMYePNx7nTfDHbPEk
 
+bJKRSUFXX6nVJa4Fsj7QFlvYA1nVqCJsB3LEwwIBYfmwG1gr/0PaVaPdD5gmuVP
 
vxGmYHPFO5Tpnw8BV33QDivYTAeWtA00kSq5Zs9q+u20eid+wHI2RN2pFolTEA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9UsNTDfBH4+f9yHVm3x/Ztonjsk2
 
FhUAWA0SHetiojfMg7Ldzt+ZvlVATRIY39Q6LPtNSlHmnwvEzalqZNNiHf/+nYL8
 
p3bEpgkn/Mk2xrjdQrRweIMcu/2/yXi9M99UN+qYT7FN8QkMRQxfkHOGe71H7Bz1
 
MvnQvtLmSNoXXAdS/nNFSiGbhhNVoB369sziWGeYXH1BUPQNYINVc7r3JV3I0K9B
 
wi0k10goa3U4hWt8CVjwGK1OhZs93wVTeqqveBfSqJ2h2ETQQGbmcYQzygy9+5m0
 
T7dhUY2jEHwUocp3Ubr2vJijoOmI5fEQBkCLNPOvEGK0eEiCIe4LFMUJ7cYoRfKU
 
3YYlbr3CMfjiEwM6R/5NyBLYUvNStQP92uNOOba/95YCrqNtb/ovfsXOnIE2eBtx
 
/B6yGXeq3Ufojd5AwLcpVgIqKKlMrfaxNyJnHhIHwk0=
 
=RL0X
 
-----END PGP MESSAGE-----
 

Версия 00:02, 8 декабря 2021

https://dl.espressif.com/dl/package_esp32_index.json http://arduino.esp8266.com/stable/package_esp8266com_index.json http://digistump.com/package_digistump_index.json https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json https://github.com/Optiboot/optiboot/releases/download/v6.2/package_optiboot_optiboot-additional_index.json Поиск полного пути команды: which whereis
https://www.digitalocean.com/community/tutorials/how-to-view-and-configure-linux-logs-on-ubuntu-and-centos
https://dzone.com/articles/what-are-linux-logs-how-to-view-them-most-importan. How to View Them, Most Important Directories, and More
https://www.commandlinefu.com/commands/browse/25/50/75/100/125/150
https://tproger.ru/digest/useful-linux-utilities/ 10 полезных утилит Linux для анализа и мониторинга системы

/home/developer/work/openwrtsource/staging_dir/toolchain-mips_24kc_gcc-8.3.0_musl/bin/mips-openwrt-linux-musl-gcc hello.c -o hello blkid -c /dev/null

printf '\33c\e[3J' или <COMOND>+K

Получить свой внешн IP . curl ipecho.net/plain; echo
mtr bvsad.com диагностика сети0
http://KUGpfoX6d0CZNoXN8Rg+plF0Dfb6rKXp1gS6ZjPn

http://igorka.com.ua/2009-11-13/lekciya-14-processy-zadaniya-komandy-fg-bg-jobs-top-nohup/
nohup ping 127.0.0.1 & Запуск процесса без привязки к tty

mtd - прошивка sudo cu -s 115200 -l /dev/cu.usbserial-1450

mesg | grep sda
https://unixforum.org/viewtopic.php?t=94558 Про образ флэшки
traceroute
ps aux | grep 'ssh'

wget -qO- http://openwrt.su/ip внешний ip (сайт OPENWRT.SU)
freevpn4you.net
https://2ip.ru


BEGIN PGP MESSAGE-----

jA0ECQMCF/ocQW4/VwD/0uoBuizitiueGlFE+C4Is3gyBQFmpHM7gKnvHa9f/XDG KGNwIm9W/seYUawhjZbmsCrrfNHNg6dLgw9sivLcghYa8glsx/GOgQiRIxTFt50u y2cjW6IvG8NOEChEEGbCKDmC/jit2nj9WwtWOZ2GyPd6xfLpAe6VTz0oTvV0CFES cLppogXbLZ3blm6mM67owht6/vE2gC806Jg1s2SByH3nIZSU24AWUZvQSLGNmiVT SXZYROBjWwZKt9EqzgewvqpxQesLeYyqeo2wI9x/if8uda+/Uinx5qqXRDDJpnzF 2fpqQQlQr/Nhq7hP+BFQwmTUZdNFDCpLU2WtmJJVWy1KyxKzoSuPHN8TuMvXm9CF gjwgOxi3U0T/QBP66EEsIAStfqqlM2kqc67Wku3vo9tD1qqvgQk4Wiw9iiISq1dt FzKHY6dx6FxcChlxrfWd68PdK9CYd0uQCLjZU7pQD21FNwsri3p9kG7uythp60+l +oqXI5/25jcPXT6czd9NRyG7IwGhyHFnvWXX0FvEP8RFGt9weP8LYN/xqu/3KJxM Opo3jHeqf5jpZMqIxa2rI3G0tI67M6Jrt7jGoFz3XTuWAu8obr/zom1TiBq7nYKj 7lDogi8OcjCIxJngN0gWV616XXS0MANiqnT8kaylmgvhyw59NnGge0rfnTW5hrqj RBIuGSoEkh8Eeei5M09ED+O0WZROygAUgXrIW8tn/l2kxF6R8Cb/CCn8qrNJHL/J t3ZpvhcsceIlDQupcq2HpTDE7gvp2DLLa6Ot/1AL1Ob1FOnM6iftKoVgt+ZK66IW LYvt5ieWA92NL8I9jdBiFaMFZMFzS+NGzi/sZ9n338p+LpV32ltb8c/UbXO2jpjd tsciRzlkoOHYSlPa6bGI59rJxBXSGflG54WSzTRRp8qLuZpujyfA5TiStwvtcDgf TKNkmmvwi4auT/2MttaJ4ouTy1YvKnliaS6RcFdt+N5umevg8Sy/m9VUHs6zdc4F mtKVZ65SHxBSqzf/R7RgbPVFKoVb3EzT5v7EOD6+OaFbGvwEdaifwnUTruhTuMsS YWnMdGQKM/BNcLSdYw2Wdn67HMwsfFttMf/qMiAe/PuKLv0331VtmlfsJlBeYJMV qZYFMy5iYHuAveRnGT+U2Rpsrk/0gmHhIxioX6PHZykufLv3c3N4eLluy53xZDDj gZPPQ7wYunDpjJp1Lv2VgjWVZYUk1Jf7TiuhVNWJzq0CMKJNBCDGVTqDjVumwKOl o6LmxFeCQt6khR3lI8i+1gISTnpKtiHwKEG2v51AXGOgRP/kYvd3c1d+5DkQeBB4 uVrgLN7SN87oaXeT2fP8ke3+2/hl3GI6lOKe/qAHrgaJwGBVpdEdyFT27K0Rhfp3 tTXw3unEWvljbU+YRP0dE7p5r4KOLWhjiC8TFWZAdOYSSGCqTEaUigweredmFqj8 lIZIWpwJH3tgFfPeUWqftIim72v0FuRVxXuDUrM0xu/m0GPsr5hMHnQMLcY6FNWk qPPBmV4JK48NFI3k9f9oMq606Ovo0GOaW0PyDbyZa3JPoHnCYs9NeV9cq2hLhKok +MLrOmcbC4ItTmMFuFhMCqn8FPUit1tYrUAajbe4wsZ7VKwNz6F+QqKRw0SCjF49 l5yJ3oq1bBlLehdx7nd5ZznKwjoTq0yca3tDqhb/CsTePO2kd5f5PnfOsU+8UjDI Sqg02U+OvB/YeS6A9PIK3WJoGIZqtzR4cz9WnTrafovKutc= =NJ0P


END PGP MESSAGE-----

timedatectl set-timezone 'Europe/Moscow’
dpkg-reconfigure tzdata

ген ключа dropbear на openwrt https://gist.github.com/hongkongkiwi/51ee987dfc4e494545e3760b75d3bc7a
копируем его на AWS


last | grep sysadmin
lastlog
who
lnav /var/log/auth.log
tailf /var/log/syslog | ccze
ccze - Инструмент для декорации логов

ncdu - Версия ‘du’ с поддержкой курсора, используется для анализа занятого дискового пространства.
sudo pvs - покажет физические тома
sudo vgs - покажет Volume Groups
sudo lvs - покажется Logical Volumes

cat /var/log/auth.log | grep -in " Accepted password"

sudo snap disable rocketchat-serverэто останавливает все. Затем, sudo snap enable rocketchat-serverкоторый вернет все в рабочее состояние, если в журналах нет реальной проблемы.