Nextcloud Email Server 설정 (gmail)
구글 보안 설정 => 2단계 인증, 앱 비밀번호 설정
Raspberry Pi, Knowledge, Journey
구글 보안 설정 => 2단계 인증, 앱 비밀번호 설정
sudo systemctl stop apache2 먼저 실행중인 apache2를 정지시킨다. //php 비활성화 sudo a2dismod php8.2 //mpm_prefork 비활성화 및 mpm_event 활성화 sudo a2dismod mpm_prefork sudo a2enmod mpm_event php를 비활성화하고, mpm_prefork를 끄고 mpm_event를 활성화시킨다. sudo apt install php-fpm sudo apt install libapache2-mod-fcgid # php 버전 변경 sudo a2enconf php8.2-fpm sudo a2enmod proxy sudo a2enmod proxy_fcgi php-fpm은 php를 FastCGI방식으로 동작하게 … 더 읽기
https://milkye.tistory.com/337 아파치2(Apache2) SSL HTTPS 적용하기 2. 아파치에 SSL 인증서 설정하기 ssl 사용을 하겠다고 명시 $ sudo a2enmod ssl 아래 경로로 이동 $ cd /etc/apache2/sites–available default-ssl.conf 파일을 원하는 이름으로 복사! $ cp default–ssl.conf 도메인_주소–ssl.conf 문서 편집기로 해당 파일을 열어서 수정을 해준다. 전체 내용이 너무 길어서 바꾼 부분만 쓴다. (주석 해재 후 수정) $ sudo nano 도메인_주소–ssl.conf //문서 … 더 읽기
1. Google Calendar → Nextcloud (읽기 전용) Google Calendar의 공개 iCal 링크를 Nextcloud에 추가하면, Google 캘린더를 Nextcloud에서 볼 수 있습니다. 설정 방법 Google Calendar 열기 왼쪽에서 가져올 캘린더 선택 → 설정 및 공유 클릭 비공개 주소 섹션에서 iCal 형식으로 비공개 주소 가져오기 링크 복사 Nextcloud에 로그인 후 캘린더 앱 실행 왼쪽 하단의 새 캘린더 → … 더 읽기
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 … 더 읽기
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 이와 같이 실행되었다면 기본으로 … 더 읽기
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 … 더 읽기
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. … 더 읽기
* /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 … 더 읽기
#!/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 … 더 읽기