http://microsoft.com/en-us/edge

 

Get to Know Microsoft Edge

Get quick access to AI-powered tools, apps, and more right within Microsoft Edge’s sidebar. This includes Bing Chat where you can ask questions, get answers, refine search, summarize, and create content–all without switching tabs or breaking your flow.

www.microsoft.com

 

dpkg -i microsoft...deb

'Operating System' 카테고리의 다른 글

Linux command  (0) 2023.04.09
Minecraft server  (0) 2023.03.26
osx iso  (0) 2022.03.01
Install Ubuntu on Raspberry Pi  (0) 2021.09.21
EBS, ffmpeg, rtmpdump, Python (beutiful soup), crontab  (0) 2021.09.18

 

[ df -BM ] disk capacity

-B, --block-size=SIZE  scale sizes by SIZE before printing them; e.g.,
                           '-BM' prints sizes in units of 1,048,576 bytes;

 

[lsusb -t]

BOT: Driver=usb-storage

UASP: Driver=uas

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 05e3:0731 Genesys Logic, Inc. GL3310 SATA 3Gb/s Bridge Controller
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub


$ lsusb -t
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=dwc2/1p, 480M
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/2p, 480M
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 001: Dev 002, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/2p, 480M
/:  Bus 005.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 5000M

 

 

[dd] write speed

(sd card)
/home/[id]$ dd if=/dev/zero bs=1M count=1000 of=test_file oflag=direct
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB, 1000 MiB) copied, 39.2173 s, 26.7 MB/s

(ssd)
/mnt/evo860$ dd if=/dev/zero bs=1M count=1000 of=test_file oflag=direct
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB, 1000 MiB) copied, 2.96631 s, 353 MB/s

 

[hdparam -Tt /dev/****** ] read speed

$ sudo hdparm -Tt /dev/sda1
/dev/sda1:
 Timing cached reads:   3768 MB in  2.00 seconds = 1885.63 MB/sec
 Timing buffered disk reads: 792 MB in  3.00 seconds = 263.96 MB/sec

$ sudo hdparm -Tt /dev/mmcblk0p2
/dev/mmcblk0p2:
 Timing cached reads:   3714 MB in  2.00 seconds = 1858.88 MB/sec
 Timing buffered disk reads: 256 MB in  3.01 seconds =  85.17 MB/sec

 

 

'Operating System' 카테고리의 다른 글

Ubuntu: Microsoft Edge  (0) 2023.06.11
Minecraft server  (0) 2023.03.26
osx iso  (0) 2022.03.01
Install Ubuntu on Raspberry Pi  (0) 2021.09.21
EBS, ffmpeg, rtmpdump, Python (beutiful soup), crontab  (0) 2021.09.18

 

Build a Minecraft Server on RaspberryPi 4 (linuxnorth.org)

 

 

[Paper Edition]

 

1. Install Java

sudo apt install openjdk-21-jre

 

 

2. Paper Downloads | PaperMC

 

 

 
 

Paper Downloads

Download Paper, our Minecraft server software offering unrivaled performance and stability.

papermc.io

 

java -jar paper-1.21.1-52.jar --nogui

 

 

 

3. 

Setup | GeyserMC

 

Setup | GeyserMC

Guides to setup Geyser on all supported platforms

geysermc.org

 

Place the Geyser-Spigot.jar in the plugins folder, and restart the server.

Open your Geyser config, located in /plugins/Geyser-Spigot/config.yml, and find the following:
bedrock: 
    # The IP address that will listen for connections. 
    # Generally, you should only uncomment and change this if you want to limit what IPs can connect to your server. 
    #address: 0.0.0.0 

    # The port that will listen for connections. This is the port that Bedrock players will use to connect to your server.
    port: 19132 

 

 

4. Geyser | GeyserMC

 

Geyser-Spigot.jar 과 floodgate-spigot.jar 을 plugins 폴더에 복사 후 재부팅

 

 

5. 서버 실행 후

op .[ID]

deop .[ID]

 

 

5. Setting

[Server Setting: server.properties]

difficulty= easy => peaceful

gamemode=survival

 

default-player-permission-level=operator

 

[Permission: permissions.json]

[
   {
      "permission" : "operator",
      "xuid" : "[ID]",
  "level" : 2
   },
   {
      "permission" : "operator",
      "xuid" : "[ID]",
  "level" : 2
   }
]

 

 

[Command]

gamerule keepInventory true 

op [ID]

 

[Command]

gamerule keepInventory true 

op [ID]

 

 

 

 

...................................................

 

 

 

 

b) Install screen (This will be needed to run your minecraft server console while logged out of your Linux server).

    apt install screen

 

 

 

[Java Edition]

1. sudo apt install openjdk-21-jre

 

2. Download

 

Minecraft Server Download | Minecraft

 

Minecraft Server Download

Gain access to amazing Minecraft servers using the Minecraft Server Download. Set up multi-player servers today by following the detailed instructions provided.

www.minecraft.net

 

3 Run & Agree EULA

java -Xmx1G -Xms1G -jar server.jar nogui

vi eula.txt

eula=true

 

   : Port forwarding: TCP, 25565


[Bedrock Edition] Android, Nintendo, ...

   : not support arm (rasberry pi)

 

   : Port forwarding: UDP, 19132

 

Minecraft Bedrock Server Download | Minecraft

 

Minecraft Bedrock Server Download

Discover your own brand of fun when you download the Minecraft bedrock server. Play unique mini-games, collaborate with friends & more with these servers.

www.minecraft.net

 

 

 

Tutorials/Setting up a server – Minecraft Wiki (fandom.com)

 

Tutorials/Setting up a server

This tutorial takes you through the steps of setting up your own Java Edition server using the default server software that Mojang Studios distributes free of charge. The software may be installed on most operating systems, including Windows, macOS, GNU/Li

minecraft.fandom.com

 

 

 

 

'Operating System' 카테고리의 다른 글

Ubuntu: Microsoft Edge  (0) 2023.06.11
Linux command  (0) 2023.04.09
osx iso  (0) 2022.03.01
Install Ubuntu on Raspberry Pi  (0) 2021.09.21
EBS, ffmpeg, rtmpdump, Python (beutiful soup), crontab  (0) 2021.09.18

1. Disk Utility > File > New Image > Select Disk

 

2. Select format: DVD/CD master

 

3. rename *.cdr to *.iso

 

'Operating System' 카테고리의 다른 글

Linux command  (0) 2023.04.09
Minecraft server  (0) 2023.03.26
Install Ubuntu on Raspberry Pi  (0) 2021.09.21
EBS, ffmpeg, rtmpdump, Python (beutiful soup), crontab  (0) 2021.09.18
Windows 10 - License, Key  (0) 2021.07.10

 

1. Download image (Ubuntu Server 24.04.2 LTS for Raspberry Pi)

Install Ubuntu on a Raspberry Pi | Ubuntu

 

ubuntu-24.04-live-server-arm64.iso  vs. ubuntu-24.04.2-preinstalled-server-arm64+raspi.img

 

 

https://ubuntu.com/download/raspberry-pi

 

ubuntu.com

 

 

2. Download Win32 Disk  Imager

https://sourceforge.net/projects/win32diskimager/

 

Win32 Disk Imager

Download Win32 Disk Imager for free. A Windows tool for writing images to USB sticks or SD/CF cards . This program is designed to write a raw disk image to a removable device or backup a removable device to a raw image file. It is very useful for embedded

sourceforge.net

Exit Google Drive in Windows before running Win32 Disk Imager !!!

 

 

3. ssh : id/password = ubuntu/ubuntu (초기 비밀 번호)

sudo vi /etc/ssh/sshd_config.d/*.conf
PasswordAuthentication yes
# no => yes 변경

sudo systemctl restart sshd

 

공개 key 기반 접속

윈도우즈에서 ssh-keygen (생성할 때 비번 입력)

윈도우즈의 id_rsa.pub 를 server의 ~/.ssh/authorized_keys 로 복사

 

 

4. Update Ubuntu

sudo apt-get update
sudo apt-get upgrade

 

 

5. Make new account & add the account to sudo group

sudo adduser [user-id]
sudo usermod -aG sudo [user-id]

 

 

6. ftp

sudo apt-get install vsftpd

 

 

7. timezone & ntpdate : crontab 설정 전!!!

https://func.tistory.com/2

 

Linux - Time Synchronization (ntpdate)

sudo ntpdate time.google.com Server List 3.kr.pool.ntp.org time.windows.com ntp2.kornet.net time.bora.net NTP Pool Project : http://ntppool.org pool.ntp.org: the internet cluster of ntp servers Pac..

func.tistory.com

 

 

8. mount

1. 이동식 디스크 연결 확인
$ sudo fdisk -l |grep sda

2. 마운트 폴더 생성
$ sudo mkdir /mnt/usb
$ sudo mount -t ntfs /dev/sda1 /mnt/usb

3. 자동 mount
$ sudo ls -al /dev/disk/by-uuid/
lrwxrwxrwx 1 root root  10 Jan  1  1970 1234567890ABCDEF -> ../../sda1

$ sudo vi /etc/fstab
UUID=1234567890ABCDEF /mnt/evo860 ntfs default 0 0

 

* iptime 공유기는 samba 1.0 과 2.0을 지원하며, mount할 때 ver=2.0 명시 필요

sudo apt-get install cifs-utils
sudo apt-get install smbclient
sudo mkdir /mnt/nas1dual

sudo vi /etc/fstab
//<NAS-IP>/Media /mnt/nas cifs username=<username>,password=<password>,vers=2.0,x-systemd.automount 0 0

 

 

9. ffmpeg, crontab 

EBS, ffmpeg, rtmpdump, Python (beutiful soup), crontab :: Algorithm

 

 

10. Jellyfin

curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash

 

jellyfin 서비스 사용자를 비디오 그룹에 추가하여 FFMpeg 프로세스가 인코더에 

엑서스 할 수 있도록 하고 jellyfin을 다시 시작합니다.

 

sudo usermod -aG video jellyfin 

sudo systemctl restart jellyfin

 

PuTTY를 이용한 사용자 계정 설정 (Plex 설정 참고)

(Windows)

PuTTY > Connection > Tunnels > "Add"

    Source port: 8888

    Destination: server.ip.address:8096

PuTTY > Session > server.ip.address 에 SSH로 접속

Web Browser에서 http://localhost:8888/web/

 

 

11. Minecraft server

Minecraft server :: Algorithm

 

Minecraft server

Build a Minecraft Server on RaspberryPi 4 (linuxnorth.org)  [Paper Edition] 1. Install Javasudo apt install openjdk-21-jre  2. Paper Downloads | PaperMC    Paper DownloadsDownload Paper, our Minecraft server software offering unrivaled performance

func.tistory.com

Minecraft + Python :: Algorithm

 

Minecraft + Python

1. PaperMC server 2. FruitJuice pluginFruitJuice - Paper Plugin | Hangar (papermc.io) FruitJuice - Paper Plugin | HangarEnables a python/scratch API to minecraft - Download the Paper Plugin FruitJuice by jdeast on Hangarhangar.papermc.io 3. Python venv

func.tistory.com

 

 

------------------<old>-------------------------------------------

 


xx. Samba : 보안 상 내부망에서만 사용!!!

sudo apt-get install samba 
sudo smbpasswd -a [user-id]
sudo vi /etc/samba/smb.conf

[pi]
comment = pi
path = /home/[user-id]/[directory]
valid users = [user-id]
writeable = yes
read only = no
create mode = 0777
directory mode = 0777

sudo service smbd restart

 

 

 

 

xx. plex server

sudo dpkg -i plexmediaserver_1.31.3.6868-28fc46b27_arm64.deb 

 

 

[Opening the Plex Web App on a Device Other than the Server Itself]

 

Installation | Plex Support

 

Installation

Preparation Before You Begin Before you begin installing Plex Media Server, it’s strongly recommended that you check that your media...

support.plex.tv

 

On the Same Local Network

 

http://server.local.ip.address:32400/web

 

On the Same Local Network

(Windows)

PuTTY > Connection > Tunnels > "Add"

    Source port: 8888

    Destination: server.ip.address:32400

PuTTY > Session > server.ip.address 에 SSH로 접속

Web Browser에서 http://localhost:8888/web/

 

Plex Pass 의 창 안 닫히면 주소창에  http://localhost:8888/web/ 로 다시 접속

 

"서버확보" 하라고 하면 "다시 보이지 않기" 로 건너뛰고,

혹시 "서버확보" 하다 권한 없음으로 실패 시 

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server$  의 Preference.xml 을 지우고,

sudo systemctl restart plexmediaserver

한 후 다시 접속 시도

 

 

plex group 에 [user-id] 추가

groups [user-id]
sudo usermod -a -G plex [user-id]          "-a 가 없으면, plex 에만 속하게 됨"
groups [user-id]

 

Media 폴더 생성하고, home/[user-id]에 symbolic link 생성

cd /var/lib/plexmediaserver
sudo mkdir Media
sudo chown [user-id]:plex Media

cd
ln -s /var/lib/plexmediaserver/Media/ plex

 

 

Plex > 더 보기 > ubuntu 서버 > "+" > Library 추가

 

cd /var/lib/plexmediaserver
sudo mkdir Media
sudo chown [user-id]:plex Media


sudo -s
cd /var/lib
chmod 775 /var/lib/plexmediaserver


sudo vi /etc/samba/smb.conf
[PLEX]
comment = PLEX
path = /var/lib/plexmediaserver/Media
valid users = [user-id]
writeable = yes
read only = no
create mode = 0777
directory mode = 0777

sudo service smbd restart

 

http://[IP]:32400/web

library folde: /var/lib/plexmedialibrary

if mp4 files are not scanned, change the scanner option

 

 

'Operating System' 카테고리의 다른 글

Minecraft server  (0) 2023.03.26
osx iso  (0) 2022.03.01
EBS, ffmpeg, rtmpdump, Python (beutiful soup), crontab  (0) 2021.09.18
Windows 10 - License, Key  (0) 2021.07.10
Linux - Time Synchronization (ntpdate)  (0) 2021.07.06

 

ffmpeg (updated 24.9.1)

sudo apt-get install ffmpeg

 

ebs_fm.sh  (updated 24.9.1)

#!/bin/bash
#EBS="https://ebsonair.ebs.co.kr/fmradiofamilypc/familypc1m/playlist.m3u8"
EBS="https://ebsonair.ebs.co.kr/cloud/iradio/playlist.m3u8"
PROGRAM=$1
RECORD_SEC=$2
REC_DATE=`date +%y%m%d_%H%M`
DATE=`date`
M4A_FILE_NAME=$REC_DATE"_"$PROGRAM.m4a
MP3_FILE_NAME=$REC_DATE"_"$PROGRAM.mp3

ffmpeg -re -i $EBS -bsf:a aac_adtstoasc -acodec copy -c copy -t $RECORD_SEC $M4A_FILE_NAME
ffmpeg -i $M4A_FILE_NAME -c:a libmp3lame $MP3_FILE_NAME
mv $MP3_FILE_NAME /home/[user-id]/EBS/
rm $M4A_FILE_NAME

 

 

 

ffmpeg, rtmpdump (old)

sudo apt-get install ffmpeg rtmpdump

 

ebs_fm.sh (old)

#!/bin/bash
#EBS="rtmp://new_iradio.ebs.co.kr/iradio/iradiolive_m4a"
EBS="rtmp://ebsandroid.ebs.co.kr/fmradiofamilypc/familypc1m"
PROGRAM=$1
RECORD_SEC=$2
REC_DATE=`date +%y%m%d_%H%M`
DATE=`date`
MP3_FILE_NAME=$REC_DATE"_"$PROGRAM.mp3
MP3_TEMP=$REC_DATE"_"$PROGRAM_TEMP.mp3
TEMP_FLV=`mktemp -u`
echo $TEMP_FLV
rtmpdump -r $EBS -B $RECORD_SEC -o $TEMP_FLV
#avconv -i $TEMP_FLV -ac 2 -ab 128 -vn -y -f mp3 $MP3_TEMP
ffmpeg -i $TEMP_FLV -ac 2 -ab 128 -vn -y -f mp3 $MP3_TEMP
ffmpeg -i $MP3_TEMP -vn -acodec copy $MP3_FILE_NAME
rm $TEMP_FLV
rm $MP3_TEMP
cp $MP3_FILE_NAME /home/[user-id]/EBS/
rm $MP3_FILE_NAME

 

ebs.py (beutiful soup)

sudo apt-get install python3-bs4

 

 

Setup Local Timezone

Linux - Time Synchronization (ntpdate) :: Algorithm (tistory.com)

 

Linux - Time Synchronization (ntpdate)

sudo ntpdate time.google.com Server List 3.kr.pool.ntp.org time.windows.com ntp2.kornet.net time.bora.net NTP Pool Project : http://ntppool.org pool.ntp.org: the internet cluster of ntp servers Packet is awesome. When we started planning our recent unplann

func.tistory.com

 

 

crontab -e

# m h  dom mon dow   command
20 06 * * 1-6 /home/[user-id]/script/ebs_fm.sh EBS_EAR 1140

# 00 07 * * 1-6 /home/[user-id]/script/ebs_fm.sh EBS_START 1140
# 00 08 * * 1-6 python3 /home/[user-id]/script/ebs.py

@reboot /mnt/evo860/python_venv/bin/jupyter-notebook

 

 

sudo crontab -e    (root, sudo)

# m h  dom mon dow   command
20 22 * * 6 sudo shutdown -r now

 

crontab start/stop/restart

service crond start

service crond stop

service crond restart

 

ps -ef | grep cron

 

 

'Operating System' 카테고리의 다른 글

Minecraft server  (0) 2023.03.26
osx iso  (0) 2022.03.01
Install Ubuntu on Raspberry Pi  (0) 2021.09.21
Windows 10 - License, Key  (0) 2021.07.10
Linux - Time Synchronization (ntpdate)  (0) 2021.07.06

 

[License]

1. FPP (Full Packaged Product) 
- 온라인이나 대리점에서 쉽게 구할 수 있으며, 풀 패키지 형태로 작은 박스에 설치용 USB와 제품 키가 동봉되어 있습니다.    
- 한 대의 컴퓨터에서 무제한으로 설치할 수 있고, 메인보드나 PC를 교체할 시에도 해당 라이센스를 이용해서 정품인증이 가능합니다.    

 

2. ESD (Electronic Software Distribution)    
- FPP와 성격이 유사하지만, FPP처럼 박스와 구성품으로 아닌 디지털 라이센스 제품입니다.    
- Email을 통해서 라이센스를 받으실 수 있습니다.    
- FPP와 같이 한 대의 PC를 교체하거나 메인보드 등 하드웨어를 교체하여도 재설치가 가능합니다. 
- 설치용 파일이 포함되어 있지 않기 때문에 별도로 MS 홈페이지에 들어가셔서 설치파일을 다운로드 받으신 후 인증만 받고 사용하실 수 있습니다.    

 

3. DSP (Delivery Service Pack)    
- 구매 시에 작은 박스에 제품과 시리얼 번호가 구성되어 있습니다.    
- 한 대의 컴퓨터에는 재설치가 가능하지만, 다른 컴퓨터에는 재설치가 불가능합니다.    

 

4. OEM(Original equipment Manufacturer)    
- 일반적인 대기업 브랜드 PC를 구매 시 미리 설치된 상품으로 DSP와 성격이 비슷합니다.    
- 브랜드 PC 또는 노트북에 "COA"라 불리는 인증 스티커가 부착된 것이 특징입니다.    
- 다른 PC로 설치할 수 없으며, COA가 손상이 되면 라이센스 권한 역시 상실됩니다.

 

[slmgr]

1. License 종류 상태 조회

slmgr /dlv

2. 정품 인증기간 확인

slmgr /xpr

 

 

[Key 조회]

1. Run regedit.exe

2. Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\BackupProductKeyDefault

 

* Authenticating Windows 10 with Windows 7 key, it might have different key.

 

'Operating System' 카테고리의 다른 글

Minecraft server  (0) 2023.03.26
osx iso  (0) 2022.03.01
Install Ubuntu on Raspberry Pi  (0) 2021.09.21
EBS, ffmpeg, rtmpdump, Python (beutiful soup), crontab  (0) 2021.09.18
Linux - Time Synchronization (ntpdate)  (0) 2021.07.06

 

sudo ntpdate time.google.com

Server List

3.kr.pool.ntp.org

time.windows.com

ntp2.kornet.net

time.bora.net

 

NTP Pool Projecthttp://ntppool.org

 

pool.ntp.org: the internet cluster of ntp servers

Packet is awesome. When we started planning our recent unplanned server move, we investigated options for having not one, but two sites, for the “hub” systems for the NTP Pool. With 4000 NTP servers and hundreds of millions of clients using the system,

www.ntppool.org

 

Timezone 설정

sudo ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime

 

'Operating System' 카테고리의 다른 글

Minecraft server  (0) 2023.03.26
osx iso  (0) 2022.03.01
Install Ubuntu on Raspberry Pi  (0) 2021.09.21
EBS, ffmpeg, rtmpdump, Python (beutiful soup), crontab  (0) 2021.09.18
Windows 10 - License, Key  (0) 2021.07.10

+ Recent posts