기본 콘텐츠로 건너뛰기

How to Install Jellyfin on Samsung Tizen TV | App Store and Sideload Guide

Want to install Jellyfin on a Samsung Tizen TV? Start with the Samsung Apps store. Jellyfin now has an official Tizen client, but store availability can still differ by country, TV model, and firmware. If the app does not appear on your TV, this guide also covers two sideloading methods: a quick Docker installer and the official Tizen Studio build process. Quick answer Open Apps on the Samsung TV and search for Jellyfin . If it is available, install it directly from the store. This is the easiest method. If it is not listed, enable Developer Mode and use either the community Docker installer or the official Jellyfin Tizen build instructions below. Which installation method should you use? Method Best for Difficulty Samsung Apps store Everyone, when the app is available in the TV's region Easy Docker quick installer Users who already have Docker and want a fast sideload Medium Tizen Studio build Users who want the official source-based workflow or need their own certificate Advanc...

IP 가 여러개인 Linux 에서 디폴트로 사용중인 IP 주소 찾기

 ip route get 8.8.8.8 이러면 8.8.8.8 로 가기 위한 기본 경로를 알려준다 ip route get 8.8.8.8 8.8.8.8 via 1.227.225.1 dev eth0  src 1.227.225.48     cache  mtu 1500 advmss 1460 hoplimit 64 src 다음에 나오는 IP가 디폴트로 쓰이는 IP가 된다.  이것만 추출하려면  ip route get 8.8.8.8 | head -1 | cut -d' ' -f8 또는 ip route get 8.8.8.8 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p' ip route get 8.8.8.8 | head -1 | awk '{print $7}'

Volumio VMWare esxi 설치

Volumio Image 를 rufus 등을 이용하여 USB Stick 으로 플래쉬하고,  VMWare USB Stick 으로 부팅하면  아래와 같은 메시지후 진행되지 않는다 findfs: unable to resolve 'UUID=****************...' 이는 USB Stick 이 disk drive 처럼 인식되지 않기 때문이다. SATA disk 형태로 16GB 정도 만든후 live Linux CD/DVD 등을 준비 하여 Linux Live CD/DVD 로 부팅한다. 터미널을 열어 root 쉘을 얻는다 nc 를 통해 124번 포트를 open 한후 들어오는 데이터를 /dev/sda 로 받는다 nc -l -p 1234 > /dev/sda 다른 서버나 리눅스등을 이용해서 위에 nc 를 open 한 Linux CD/DVD 서버 IP를 확인후   Volumio 이미지를 nc를 이용하여 네트워크 전송을 한다  nc -w 3 192.168.0.77 1234 < Volumio-3.423-2023-01-24-x86_amd64.img 이제 live Linux CD/DVD 등을 제거한후 /dev/sda 로 부팅하면 Volumio 셋업 화면을 볼수 있다.

ASUS OpenVPN 에서 client config 내부 라우팅 안될때

OpenVPN Route for MacOS 내부 IP 대역이 192.168.1.0/24 이라고 가정하고 OpenVPN Client IP를 10.8.0.6 으로 할당 받았다고 가정 sudo route add -net 192.168.1.0 -netmask 255.255.255.0 10.8.0.6 그러나 매번 VPN 접속마다 Route 가 틀어져서 번거로운 일임 따라서 아래의 client vpn config에 마지막줄에 Route 명령어를 넣어준다 route 192.168.1.0 255.255.255.0 

curl 에서 https hostname 방식으로 접근

  curl 에서는 가상호스트 등을 테스트 할때 hostname 방식으로 접근할때 HTTP 일땐 --header 에 Host 헤더를 이용하여 호스트 명을 명시해서 가능하나 ex)  hexcode.example.com 이 호스트명이고  IP 가 10.101.81.200 이라고 가정할때  curl --header "Host: hexcode.example.com" http://10.101.81.200 HTTPS 일땐 --header 에 Host 헤더를 이용하기가 어렵다.  아래와 같이 한다. ex) hexcode.example.com 이 호스트명이고  IP 가 10.101.81.200 이라고 가정할때  curl --resolve hexcode.example.com:443:10.101.81.200 https://hexcode.example.com 또는 전통적인 방법으로 /etc/hosts 를 수정하여 사용하기도 하자

dmesg 사람이 보기 쉽게

CentOS6 dmesg 에 찍히는 시간이 uptime 이후 시간이여서 알아보기 힘들다 아래와 같이 uptime - 현재시간 구해서 보면 편하다  dmesg_human () {     $(type -P dmesg) "$@" | perl -w -e 'use strict;         my ($uptime) = do { local @ARGV="/proc/uptime";<>}; ($uptime) = ($uptime =~ /^(\d+)\./);         foreach my $line (<>) {             printf( ($line=~/^\[\s*(\d+)\.\d+\](.+)/) ? ( "[%s]%s\n", scalar localtime(time - $uptime + $1), $2 ) : $line )         }' } CentOS7 에서는 간단히 -T 옵션을 사용할 수 있다. dmesg -T

OneDrive version 삭제

꽁자 5TB OenDrive 파일 버전 관리로 인해 용량이 줄어들때 일일히 버전 파일을 삭제 하기란 매우 힘든일이다. PowerShell  에서 아래와 같이 한다. SharePoint Online Client Components SDK 를 먼저 설치한다. https://www.microsoft.com/en-us/download/details.aspx?id=42038 아래와 같이 PowerShell 스크립트를 실행하면 모든 버전 파일이 for loop 을 돌면서 삭제된다. Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"     #Config Parameters $SiteURL= "https://yoursharepont-my.sharepoint.com/personal/yourid_domain_com/" $LibraryName="Documents" #Setup Credentials to connect $Cred = Get-Credential $Cred = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Cred.UserName,$Cred.Password)        #Setup the context     $Ctx = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL)     $Ctx.Credentials = $Cred ...