Unix/Linux/MacOS

WireGuard VPN 설치

1. debian 13에서 wireguard 설치 및 확인 apt update apt install wireguard qrencode -y modprobe wireguard lsmod | grep wireguard2. 서버 및 클라이언트 키 생성 umask 077 wg genkey | tee /etc/wireguard/server_private.key | wg pubkey > /etc/wireguard/server_public.key cat /etc/wireguard/server_private.key cat /etc/wireguard/server_public.key wg genkey | tee /etc/wireguard/client_private.key | wg pubkey > /etc/wireguard/client_public.key cat /etc/wireguard/client_private.key cat /etc/wireguard/client_public.key3.

WireGuard VPN 설치 더 읽기"

NFS Mount (Debian)

■서버 커널에 NFS 서버 지원 기능이 있는지 확인grep NFSD /boot/config-`uname -r`■NFS 서버 설치 apt -y install nfs-kernel-server rpcbind■rpcbindrpcbind는 기본적으로 127.0.0.1(localhost)에서만 NFS 연결 시도를 수신하도록 설정되어 있으므로, 로컬 네트워크에서의 연결을 허용하려면 /etc/default/rpcbind 파일을 편집하여 “OPTIONS” 줄을 주석 처리해야 합니다. 또한, /etc/hosts.allow 파일에서 rpcbind 포트로의 연결을 허용해야 한다. perl -pi -e ‘s/^OPTIONS/#OPTIONS/’ /etc/default/rpcbind echo “rpcbind: 192.168.1.” >>

NFS Mount (Debian) 더 읽기"

리눅스 사운드 제어

리눅스에서 사운드를 재생하기 위해서는 ALSA와 pulseaudio가 정상 동작 중이어야 한다. ■ALSA란?ALSA(Advanced Linux Sound Architecture)는 사운드 카드 장치 드라이버를 위한 애플리케이션 프로그래밍 인터페이스(API)를 제공하는 소프트웨어 프레임워크로 리눅스의 ALSA 커널 드라이버와 사용자 영역을 인터페이스 한다. https://mediaframework-world.tistory.com/31https://github.com/alsa-project/alsa-lib # 리눅스에서 사운드 커널 드라이버 정상동작 확인 방법https://help.ubuntu.com/community/SoundTroubleshooting aplay -llspci -v | grep -A7 -i “audio” ■pulseaudio펄스오디오(PulseAudio)는 네트워크 기능이 있는 사운드

리눅스 사운드 제어 더 읽기"

Software RAID 구성 (mdadm)

■ RAID-0 대상 디스크 (RAID Level: https://namu.wiki/w/RAID)/dev/sdb 500GB/dev/sdc 500GB 1.mdadm 설치  yum -y install mdadm  apt -y install mdadm 2.대상 디스크 파티션 삭제  dd if=/dev/zero of=/dev/sdb bs=1024 count=1  dd if=/dev/zero of=/dev/sdc bs=1024 count=1 3.RAID 타입으로 파티셔닝  # fdisk /dev/sdb (같은 방법으로 sdc도 파티셔닝)     Welcome to fdisk (util-linux 2.32.1).    Changes will remain in

Software RAID 구성 (mdadm) 더 읽기"

Armbian WIFI Access Point 구성

■ 준비nmcli device modify eth0 ipv6.method “disabled”rm -f /etc/wpa_supplicant/wpa_supplicant.confmv /etc/init.d/hostapd /etc/init.d/hostapd.orig ■ Bridge 네트워크를 구성하기 위해 인터페이스 파일 편집(br0)vi /etc/network/interfaces.d/br0———————————————————–auto br0iface br0 inet static  address 10.10.10.108  netmask 255.255.255.0  gateway 10.10.10.254  dns-nameservers 8.8.8.8  bridge_ports eth0 wlan0  bridge_stp off  bridge_fd 0  bridge_maxwait 0———————————————————– ■ Bridge 네트워크를 구성하기 위해 인터페이스 파일 편집(eth0)vi /etc/network/interfaces.d/eth0———————————————————–auto eth0iface eth0 inet manual———————————————————– ■

Armbian WIFI Access Point 구성 더 읽기"

위로 스크롤