DDNS 설정 (duckdns.org)

mkdir -p ~/duckdns ~/duckdns 위치에 폴더를 하나 만듭니다. 그리고 ~/duckdns 폴더로 들어와서, vi duck.sh 로 쉘을 하나 만들어 줍니다. duck.sh echo url=”https://www.duckdns.org/update?domains=exampledomain&token=a7c4d0ad-114e-40ef-ba1d-d217904a50f2&ip=” | curl -k -o ~/duckdns/duck.log -K – exampledomain 이라고 써있는 부분에 본인이 조금 전에 정한 도메인 이름을 넣어줍니다. (예 : mydomain.duckdns.org 이면 mydomain 만 입력) 그리고 token= 이라고 되어있는 부분에 아까 duck dns … 더 읽기

NextCloud에 Redis를 이용하여 캐싱하기

Redis 설치 및 설정 설치는 매우 간단한다. apt update apt upgrade -y apt install redis-server -y 설치되어 서비스가 잘 실행되고 있는지 아래와 같이 확인한다. “/usr/bin/redis-server 127.0.0.1:6379” 항목이 보인다면 127.0.0.1(locahost) 6379 포트로 실행된 것이다. ps -ax | grep redis 240526 ? Ssl 0:02 /usr/bin/redis-server 127.0.0.1:6379 240733 pts/0 R+ 0:00 grep –color=auto redis 이와 같이 실행되었다면 기본으로 … 더 읽기

How to import your Google Calendar onto Nextcloud

Import via a link   In this part, we’re going to explore the method of importing your Google Calendar into Nextcloud using a link. One of the advantages of this approach is that changes made to your Google Calendar will be automatically reflected in Nextcloud. However, it’s important to note that this synchronisation is read-only, which means that if you make changes on Nextcloud, they won’t be effective on Google … 더 읽기

How To Set Up Raspberry Pi As A DNS Server

Step 1: Update Packages sudo apt update sudo apt upgrade Step 2: Install DNS Software sudo apt install dnsmasq Step 3: Configure DNSMasq sudo nano /etc/dnsmasq.conf domain-needed – Configures the DNS server to not forward names without a dot (.) or a domain name to upstream servers. Any names without a dot or domain stay in the local network. … 더 읽기

Samba Server 설정

* /etc/samba/smb.conf # # Sample configuration file for the Samba suite for Debian GNU/Linux. # # # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options most of which # are not … 더 읽기

autoDelSeed.sh (완료 후 자동삭제)

#!/bin/sh SERVER=”server_ipaddress:9091 –auth user:password” # use transmission-remote to get torrent list from transmission-remote list TORRENTLIST=`transmission-remote $SERVER –list | sed -e ‘1d’ -e ‘$d’ | awk ‘{print $1}’ | sed -e ‘s/[^0-9]*//g’` # for each torrent in the list for TORRENTID in $TORRENTLIST do INFO=$(transmission-remote $SERVER –torrent $TORRENTID –info) echo -e “Processing #$TORRENTID – $(echo $INFO … 더 읽기

Transmission Server 설정

* /etc/transmission-daemon/settings.json { “alt-speed-down”: 50, “alt-speed-enabled”: false, “alt-speed-time-begin”: 540, “alt-speed-time-day”: 127, “alt-speed-time-enabled”: false, “alt-speed-time-end”: 1020, “alt-speed-up”: 50, “bind-address-ipv4”: “0.0.0.0”, “bind-address-ipv6”: “::”, “blocklist-enabled”: false, “blocklist-url”: “http://www.example.com/blocklist”, “cache-size-mb”: 4, “dht-enabled”: true, “download-dir”: “/media/wifi_hdd/Downloads”, “download-limit”: 100, “download-limit-enabled”: 0, “download-queue-enabled”: true, “download-queue-size”: 5, “encryption”: 1, “idle-seeding-limit”: 30, “idle-seeding-limit-enabled”: false, “incomplete-dir”: “/media/wifi_hdd/Temp”, “incomplete-dir-enabled”: true, “lpd-enabled”: false, “max-peers-global”: 200, “message-level”: 1, … 더 읽기

vsftpd.conf 설정 (FTP Server)

* /etc/vsftpd.conf # Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vsftpd.conf.5 for all compiled in defaults. # # READ THIS: This example file is NOT an exhaustive list of … 더 읽기

How to Setup Local DNS Resolver using Dnsmasq (Wireguard VPN)

https://www.howtoforge.com/how-to-setup-local-dns-server-using-dnsmasq-on-ubuntu-20-04/ * /etc/dnsmasq.conf (공유기 연결) …. listen-address=127.0.0.1,10.176.96.1 interface=eth0 interface=wg0 If you don’t want dnsmasq to read /etc/resolv.conf or any other # file, getting its servers from this file instead (see below), then # uncomment this. no-resolv # If you don’t want dnsmasq to poll /etc/resolv.conf or other resolv # files for changes and re-read them … 더 읽기

PiVPN 설치

https://blog.naver.com/ksnnw/222013687692 Wireguard를 이용한 VPN서버 만들기 [라즈베리파이/pivpn] Wireguard를 이용한 VPN서버 만들기 vpn의 목적은 내부에서만 접속 가능한 클라이언트들을 외부에서도 접속 가능할 수 있게끔 가상의 네트워크를 만들어주는 것입니다. 예를들어, samba클라이언트는 같은 공유기 (같은 네트워크)에 접속되어있는 컴퓨터끼리만 접속할 수 있기 때문에 집 밖에서는 접속할 수가 없습니다. 내가 라즈베리파이에 사진을 넣어놨고 밖에 나가서 그 사진을 보고 싶은데 접속이 안되죠. 이럴때 … 더 읽기