raspberry pi, raspbian jessy에 samba, transmission 설치 ver.2
하드 디스크를 /mnt에 마운트하고 이걸로 cifs, nfs, 토렌트의 공용 디렉토리로 쓰려고 한다. 디렉토리 만들고 sudo mkdir -m 775 /mnt/pishare 1. samba 설치 삼바 설치하고 sudo apt-get install samba samba-common-bin sudo cp /etc/samba/smb.conf /etc/samba/smbconf.backup 환경설정 sudo nano /etc/samba/smb.conf global에 다음 내용을 추가 한다 이 옵션은 클라이언트와의 전송 속도를 높혀준다. file 복사나 이동을 할때는 네트웍의 전송속도만큼 나오지만 동영상을 플레이할때 비트레이트가 큰 동영상의 경우 튀는 경우가 있다 이때 이 옵션으로 그 현상을 없앨수 있다 옵션 설명은 아래 참조 https://coderwall.com/p/2ufa0g/fix-samba-read-and-write-performance-issues socket options = IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072 TCP_NODELAY min receivefile size = 2048 -> 동영상 사이즈가 너무 크면 이걸로 부족할때가 있다. 지금은 8192까지 올려 놓았다 use sendfile = true aio read size = 2048 aio write size = 2048 write cache size = 1024000 read raw = yes write raw = yes getwd cache = yes oplocks = yes max xmit = 32768 dead time = 15 large readwrite = yes Share Definition 까지 가서 해당 내용을 전부 #로 코멘트 처리 한다 그리고 pi를 위한 share option을 다음과 같이 준다 [PiShare] path = /mnt/pishare...