софт для записи потокового радио в мп3
Какой софт популярен для такой цели? желательно поминималистичнее.
Какой софт популярен для такой цели? желательно поминималистичнее.
Как можно настроить сабж, чтобы не с 50 градусов кулер часто начинал включаться а хотя бы с 60-65? Системы: openSUSE и MX.
Сегодня пытался обновиться:
$ sudo zypper update
Файл '/repodata/repomd.xml' не найден на носителе 'https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_42.3'
Прервать, повторить, игнорировать? [a/r/i/...? выводит все параметры] (a):
Вроде ж в июле должна была прекратиться?
% sudo pip2.7 install esmre
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting esmre
Using cached https://files.pythonhosted.org/packages/50/b0/17401277ddaa334622c047f9c9a083956e67f8b08c7b8b43ade0b588f349/esmre-0.3.1.tar.gz
Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from esmre) (40.0.0)
Installing collected packages: esmre
Running setup.py install for esmre ... error
ERROR: Complete output from command /usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-GQ3531/esmre/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-q35OMc/install-record.txt --single-version-externally-managed --compile:
ERROR: running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying src/esmre.py -> build/lib.linux-x86_64-2.7
running build_ext
building 'esm' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
gcc -pthread -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -DOPENSSL_LOAD_CONF -fwrapv -fPIC -I/usr/include/python2.7 -c src/esm.c -o build/temp.linux-x86_64-2.7/src/esm.o
src/esm.c:19:20: fatal error: Python.h: Нет такого файла или каталога
#include <Python.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command "/usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-GQ3531/esmre/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-q35OMc/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-GQ3531/esmre/
% sudo pip2.7 install mitmproxy
.................................................
Installing collected packages: cryptography, Pillow, construct, pyperclip, html2text, hyperframe, hpack, h2, editorconfig, jsbeautifier, click, Flask, urwid, lxml, argh, pathtools, watchdog, brotlipy, requests, pyparsing, passlib, configargparse, tornado, typing, pyOpenSSL, blinker, mitmproxy
Found existing installation: cryptography 2.2.1
Uninstalling cryptography-2.2.1:
Successfully uninstalled cryptography-2.2.1
Running setup.py install for cryptography ... error
ERROR: Complete output from command /usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-41JRoS/cryptography/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-e2OZJq/install-record.txt --single-version-externally-managed --compile:
ERROR: running install
Пытаюсь обновить таким образом:
# bash /root/.acme.sh/acme.sh --cron --force --home "/root/.acme.sh"
в ответ:
[Чт май 30 14:31:00 BST 2019] ===Starting cron===
[Чт май 30 14:31:00 BST 2019] Renew: 'mail.server.com'
[Чт май 30 14:31:01 BST 2019] Standalone mode.
[Чт май 30 14:31:01 BST 2019] Single domain='mail.server.com'
[Чт май 30 14:31:01 BST 2019] Getting domain auth token for each domain
[Чт май 30 14:31:01 BST 2019] Getting webroot for domain='mail.server.com'
[Чт май 30 14:31:01 BST 2019] Getting new-authz for domain='mail.server.com'
[Чт май 30 14:31:03 BST 2019] The new-authz request is ok.
[Чт май 30 14:31:03 BST 2019] mail.server.com is already verified, skip http-01.
[Чт май 30 14:31:03 BST 2019] Verify finished, start to sign.
[Чт май 30 14:31:05 BST 2019] Cert success.
-----BEGIN CERTIFICATE-----
MIIFWzCCBEOgAwIBAgISA6OyguZidLv3n2EbRHhqLKnLMA0GCSqGSIb3DQEBCw
.........................
.........................
-----END CERTIFICATE-----
[Чт май 30 14:31:05 BST 2019] Your cert is in /root/.acme.sh/mail.server.com/mail.server.com.cer
[Чт май 30 14:31:05 BST 2019] Your cert key is in /root/.acme.sh/mail.server.com/mail.server.com.key
[Чт май 30 14:31:06 BST 2019] The intermediate CA cert is in /root/.acme.sh/mail.server.com/ca.cer
[Чт май 30 14:31:06 BST 2019] And the full chain certs is there: /root/.acme.sh/mail.server.com/fullchain.cer
[Чт май 30 14:31:06 BST 2019]
===End cron===
Но в самой папке /root/.acme.sh/mail.server.com все файлы новые, кроме файла ключа:
-rw-r--r--. 1 root root 1647 май 30 14:31 ca.cer
-rw-r--r--. 1 root root 3566 май 30 14:31 fullchain.cer
-rw-r--r--. 1 root root 1919 май 30 14:31 mail.server.com.cer
-rw-r--r--. 1 root root 515 май 30 14:31 mail.server.com.conf
-rw-r--r--. 1 root root 985 май 30 14:31 mail.server.com.csr
-rw-r--r--. 1 root root 212 май 30 14:31 mail.server.com.csr.conf
-rw-r--r--. 1 root root 1679 фев 6 08:41 mail.server.com.key
И при проверке пишет сертификат expired:
% openssl s_client -connect mail.server.com:465
CONNECTED(00000003)
depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
verify return:1
depth=0 CN = mail.server.com
verify error:num=10:certificate has expired
notAfter=May 4 19:14:04 2019 GMT
verify return:1
depth=0 CN = mail.server.com
notAfter=May 4 19:14:04 2019 GMT
verify return:1
Есть какие либо сервисы в инете проверяющие текущий сайт на наличие уязвимостей? или это только через утилиты из Kali linux и подобных дистров?
Пытаюсь обновить скайп на OpenSUSE-42.3 через zypper install skypeforlinux-64.rpm:
Проблема: ничто не предоставляет libdbus-1.so.3(LIBDBUS_1_3)(64bit), необходимый для skypeforlinux-8.45.0.41-1.x86_64
Решение 1: не устанавливать skypeforlinux-8.45.0.41-1.x86_64
Решение 2: повредить skypeforlinux-8.45.0.41-1.x86_64, игнорируя некоторые из его зависимостей
при этом в системе присутствуют:
% rpm -qa | grep libdbus
libdbus-1-3-32bit-1.8.22-5.1.x86_64
libdbus-1-3-1.8.22-5.1.x86_64
% rpm -ql libdbus-1-3-1.8.22-5.1.x86_64
/etc/dbus-1
/etc/dbus-1/session.d
/etc/dbus-1/system.d
/lib64/libdbus-1.so.3
/lib64/libdbus-1.so.3.8.14
/usr/share/dbus-1
/usr/share/dbus-1/interfaces
/usr/share/dbus-1/services
/usr/share/dbus-1/system-services
.................................
Добавил также в переменную окружения PATH через мой домашний .zshrc:
PATH="/lib64:/lib:..."
Не помогло-при попытке установить скайп ошибка не исчезает.
Пытаюсь установить сабж:
# yum install libcurl-devel.x86_64
--> Проверка зависимостей окончена
Ошибка: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for libcurl which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libcurl of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude libcurl.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of libcurl installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of libcurl installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Защищённые версии multilib: libcurl-7.29.0-51.el7.i686 != libcurl-7.54.1-7.0.cf.rhel7.x86_64
Ошибка: Защищённые версии multilib: libssh2-1.4.3-12.el7_6.2.i686 != libssh2-1.8.0-3.0.cf.rhel7.x86_64
при этом
# rpm -qa | grep libcurl
libcurl-7.54.1-7.0.cf.rhel7.x86_64
при запуске в zsh
% vagrant --help
bash: /tmp/.mount_vagranZ293Iv/lib/x86_64-linux-gnu/libreadline.so.6: no version information available (required by bash)
Usage: vagrant [options] <command> [<args>]
-v, --version Print the version and exit.
-h, --help Print this help.
............................................
но когда эту же команду запускаю в bash ссобщение идентичное:
bash: /tmp/.mount_vagranU5wBuP/lib/x86_64-linux-gnu/libreadline.so.6: no version information available (required by bash)
при этом симлинк присутствует:
% ls -l /tmp/.mount_vagranU5wBuP/lib/x86_64-linux-gnu/
lrwxrwxrwx 1 root root 18 мар 28 2014 libreadline.so.6 -> libreadline.so.6.3
В последнее время почему-то стала слетать русская раскладка в xfce после каждого ребута системы. Вручную добавлять как-то не комильфо.... Можно как-то победить сабж?
Прочитал официальную документацию и пытаюсь так подключаться к каналу #SUSE:
/server chat.freenode.net
/msg nickserv register my_password my_email_address
Выполнил присланную на почту команду верификации регистрации:
/msg NickServ VERIFY REGISTER nick password
Но всё еще не могу подключиться к самому IRC каналу:
/join SUSE
16:15 -!- Вход на канал: #SUSE
16:15 [477 (ErrorNoChannelModes) #SUSE] Cannot join channel (+r) - you need to be identified with services - see https://freenode.net/kb/answer/registration
Снова требует регистрации. Может надо в настройках IRC клиента что-то указать?
Пытаюсь скомпилить на OpenSUSE-42.3 модуль fmem:
% make
rm -f *.o *.ko *.mod.c Module.symvers Module.markers modules.order \.*.o.cmd \.*.ko.cmd \.*.o.d
rm -rf \.tmp_versions
make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules
make[1]: вход в каталог «/usr/src/linux-4.4.179-4.gbb5ea1f-obj/x86_64/default»
CC [M] /home/slawa/bin/fmem_current/fmem_1.6-0/lkm.o
/home/slawa/bin/fmem_current/fmem_1.6-0/lkm.c: In function ‘memory_open’:
/home/slawa/bin/fmem_current/fmem_1.6-0/lkm.c:348:19: error: ‘struct address_space’ has no member named ‘backing_dev_info’
filp->f_mapping->backing_dev_info =
^
/home/slawa/bin/fmem_current/fmem_1.6-0/lkm.c:349:6: error: ‘directly_mappable_cdev_bdi’ undeclared (first use in this function)
&directly_mappable_cdev_bdi;
^
/home/slawa/bin/fmem_current/fmem_1.6-0/lkm.c:349:6: note: each undeclared identifier is reported only once for each function it appears in
/usr/src/linux-4.4.179-4.gbb5ea1f/scripts/Makefile.build:278: ошибка выполнения рецепта для цели «/home/slawa/bin/fmem_current/fmem_1.6-0/lkm.o»
make[4]: *** [/home/slawa/bin/fmem_current/fmem_1.6-0/lkm.o] Ошибка 1
/usr/src/linux-4.4.179-4.gbb5ea1f/Makefile:1462: ошибка выполнения рецепта для цели «_module_/home/slawa/bin/fmem_current/fmem_1.6-0»
make[3]: *** [_module_/home/slawa/bin/fmem_current/fmem_1.6-0] Ошибка 2
Makefile:152: ошибка выполнения рецепта для цели «sub-make»
make[2]: *** [sub-make] Ошибка 2
Makefile:24: ошибка выполнения рецепта для цели «__sub-make»
make[1]: *** [__sub-make] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-4.4.179-4.gbb5ea1f-obj/x86_64/default»
Makefile:12: ошибка выполнения рецепта для цели «fmem»
make: *** [fmem] Ошибка 2
Чтобы это значило?
А может ли monit такую проверку осуществлять и уведомлять по почте?
В системе (CentOS 7.4) есть 2 юзера user1 и user2. В /etc/passwd:
user1:x:1002:1004::/home/user1:/bin/bash
user2:x:1019:1022::/home/user2:/bin/bash
Когда я логинюсь по SFTP в midnight commander под user2 и пытаюсь скопировать файлы в /home/user1/folder появляется ошибка: Невозможно создать целевой файл. При этом права на folder:
drwxr-xr-x. 7 user1 user1 89 авг 18 2018 folder
Юзеры входят в такие группы:
$ id user1
uid=1002(user1) gid=1004(user1) группы=1004(user1)
user2 входит в группы user2, root и wheel
$ id user2
uid=1019(user2) gid=1022(user2) группы=1022(user2),0(root),10(wheel)
Я пытался добавить user2 в группу user1:
# usermod -a -G user1 user2
и изменил права на folder на
drwxrwxr-x. 7 user1 user1 89 авг 18 2018 folder
но все равно по SFTP файл не копируется в folder - ошибка "-31: Failed opening remote file. Невозможно создать целевой файл" в mc.
Когда я логинюсь по SFTP как user2 файл копируется только если я добавляю права на запись для others:
drwxr-xrwx. 7 user1 user1 89 авг 18 2018 folder
Есть какой-то изящный способ решить проблему, не давая права на запись для other в каталог folder?
А нельзя ли в меню GRUB указать параметр уровня запуска, например для 1 пункта меню грузить 3 уровень запуска, а для другого пункта меню 5 уровень? Или в меню grub должны присутствовать только параметры ядра и ничего лишнего?
Есть подозрение, что сетевая карта теряет пакеты, есть какой-то инструмент а-ля ethtool для тестирования Tx/Rx скажем между eth0 и loopback интерфейсами?
В Сеть VPC=>Правила брандмауэра создал 2 правила для своего инстанса с Ubuntu: squid-1 для входящего трафика с tcp:3128 и squid-2 для исходящего. Диапазоны IP-адресов: 0.0.0.0/0, приоритет 1000. Внутри инстанса правил iptables нет, ufw выключен. Но снаружи при сканировании nmap -Pn не видно открытый порт 3128.
Как-то я наблюдал в каком-то иксовом видеоплеере большой список интернет-радиостанций. Напомните плз название плеера...
Когда на Google Cloud Engine заканчиваются условные 300 USD, чтобы еще раз поюзать этот бесплатный тестовый период нужно заводить другой гугл экаунт и привязывать другую банковскую карту или можно использовать существующий экаунт и просто привязать к другой карте?
следующие → |