'2020/12/08'에 해당되는 글 6건

  1. 2020.12.08 node-red UI bashboard
  2. 2020.12.08 linux command line에서 mp3 재생하기
  3. 2020.12.08 shuf
  4. 2020.12.08 ip, ifconfig 없이 ip 알아내기
  5. 2020.12.08 centos kernel update
  6. 2020.12.08 centos kernel이 사라졌다 -ㅁ-
embeded/raspberry pi2020. 12. 8. 20:13

우측의 dashboard 에서 layout

+tab 을 눌러 tab을 추가하고

tab에 +group을 눌러 gourp을 추가한다음

 

버튼 노드의 group을 지정하면 빨간색 경거도 사라지고 정상적으로 실행된다.

 

ui control 노드는 별도로 설치한 녀석인데

text와 button node가 직접 연결되지 않아도 되니 신기하네

 

node-red의 하위 경로로 ui를 입력하면 접속된다.

http://rpi:1880/ui

 

[링크 : http://naver.varofla.com/221127489634]

'embeded > raspberry pi' 카테고리의 다른 글

rpi youtube  (0) 2020.12.24
mpicc on rpi  (0) 2020.12.15
rpi node-red  (0) 2020.12.07
node-red rpi  (0) 2020.11.29
간만에 라즈베리 + 포맷?  (0) 2020.11.29
Posted by 구차니
Linux2020. 12. 8. 18:49

libsox-fmt-all을 설치하지 않으면 다음과 같이 mp3 파일을 인식하지 못한다.

$ sudo apt-get install sox
$ sudo apt-get install libsox-fmt-all

 

$ play 탐험보고.mp3 
play WARN alsa: can't encode 0-bit Unknown or not applicable 
play FAIL formats: no handler for file extension `mp3' 

[링크 : https://vitux.com/play-mp3-files-using-the-ubuntu-command-line/]

 

여러가지가 있어서 해봤지만 sox가 빠르고, 용량도 적고 한번 재생하고 종료되서 딱임

[링크 : https://linuxhint.com/play_mp3_files_commandline/]

[링크 : https://superuser.com/questions/276596/play-mp3-or-wav-file-via-the-linux-command-line]

[링크 : https://askubuntu.com/questions/115369/how-to-play-mp3-files-from-the-command-line]

'Linux' 카테고리의 다른 글

ifconfig wan  (0) 2020.12.11
dsa distributed switch architecture  (0) 2020.12.11
shuf  (0) 2020.12.08
pdsh  (0) 2020.12.04
bash $$ 변수, 배열, 반복  (0) 2020.12.04
Posted by 구차니
Linux2020. 12. 8. 18:47

 

ls dirname | shuf -n 1
find dirname -type f | shuf -n 1

 

파일들 중에 임의의 하나를 빼내는 명령어

[링크 : https://stackoverflow.com/questions/414164/how-can-i-select-random-files-from-a-directory-in-bash]

 

 

play "`ls *mp3 | shuf -n 1`"

'Linux' 카테고리의 다른 글

dsa distributed switch architecture  (0) 2020.12.11
linux command line에서 mp3 재생하기  (0) 2020.12.08
pdsh  (0) 2020.12.04
bash $$ 변수, 배열, 반복  (0) 2020.12.04
bash 배열  (0) 2020.12.04
Posted by 구차니
프로그램 사용/openHPC2020. 12. 8. 15:01
cat /proc/net//proc/net/fib_trie

[링크 : https://unix.stackexchange.com/questions/365225/how-to-get-the-ipv4-address-for-an-interface-from-proc]

'프로그램 사용 > openHPC' 카테고리의 다른 글

OpenFabrics interface - ofi  (0) 2020.12.14
MVAPICH2  (0) 2020.12.14
centos kernel update  (0) 2020.12.08
centos kernel이 사라졌다 -ㅁ-  (0) 2020.12.08
wwmkchroot  (0) 2020.12.07
Posted by 구차니
프로그램 사용/openHPC2020. 12. 8. 11:50

 

# yum update kernel
Last metadata expiration check: 20:00:35 ago on Mon 07 Dec 2020 01:42:34 AM EST.
Dependencies resolved.
Nothing to do.
Complete!

# grub2-editenv list
saved_entry=c324aa0738b34f58b1304edca552d426-4.18.0-193.28.1.el8_2.x86_64
kernelopts=root=/dev/mapper/cl-root ro crashkernel=auto resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap
boot_success=0

# grub2-set-default 0

 

 

 

[링크 : https://jeongyd.tistory.com/56]

 

+

위의 방식으로 되지 않아서 다른 방법 찾는중

그런데 yum clean all 은 웬지 설치된 패키지 전부 지우는 느낌인데..

 

sudo yum check-update
sudo yum clean all
sudo reoot
sudo yum update

[링크 : https://phoenixnap.com/kb/how-to-update-upgrade-centos]

'프로그램 사용 > openHPC' 카테고리의 다른 글

MVAPICH2  (0) 2020.12.14
ip, ifconfig 없이 ip 알아내기  (0) 2020.12.08
centos kernel이 사라졌다 -ㅁ-  (0) 2020.12.08
wwmkchroot  (0) 2020.12.07
openHPC x86_64와 aarch64 문서 차이  (0) 2020.12.07
Posted by 구차니
프로그램 사용/openHPC2020. 12. 8. 11:40

저번주 까지만 해도 멀쩡히 잘 되었던 녀석이 갑자기 안된다.

그래서 찾아보는데.. 아무래도 구버전이 되어서 live에서 내려가 버린듯..

 

# rpm -qa | grep kernel
kernel-tools-4.18.0-193.28.1.el8_2.x86_64
kernel-modules-4.18.0-193.el8.x86_64
kernel-4.18.0-193.el8.x86_64
kernel-core-4.18.0-193.el8.x86_64
kernel-tools-libs-4.18.0-193.28.1.el8_2.x86_64
kernel-core-4.18.0-193.28.1.el8_2.x86_64
kernel-4.18.0-193.28.1.el8_2.x86_64
kernel-headers-4.18.0-193.28.1.el8_2.x86_64
kernel-modules-4.18.0-193.28.1.el8_2.x86_64

 

아무튼 설치는 했는데 다시 하려니 매치되는게 없다고 그런다...

# yum -y --installroot=$CHROOT install kernel-`uname -r`
Last metadata expiration check: 0:56:59 ago on Mon 07 Dec 2020 08:40:30 PM EST.
No match for argument: kernel-4.18.0-193.28.1.el8_2.x86_64
Error: Unable to find a match: kernel-4.18.0-193.28.1.el8_2.x86_64

 

[링크 : https://forums.centos.org/viewtopic.php?t=76325&p=320884]

[링크 : http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/?C=M;O=D]

[링크 : https://vault.centos.org/8.2.2004/BaseOS/x86_64/os/Packages/]

[링크 : http://rpmfind.net/linux/RPM/centos/8.2.2004/baseos/x86_64/Packages/kernel-4.18.0-193.el8.x86_64.html]

'프로그램 사용 > openHPC' 카테고리의 다른 글

ip, ifconfig 없이 ip 알아내기  (0) 2020.12.08
centos kernel update  (0) 2020.12.08
wwmkchroot  (0) 2020.12.07
openHPC x86_64와 aarch64 문서 차이  (0) 2020.12.07
nagios  (0) 2020.12.07
Posted by 구차니