Closed5

Raspberry Pi nginx setup for local

yamatorayamatora

Overview

自宅ネットワーク内でのみ閲覧可能な静的Webページのホスティングを行う

Hidden comment
yamatorayamatora

Start

sudo systemctl start nginx
sudo systemctl enable nginx

Stop

sudo systemctl stop nginx
sudo systemctl disable nginx
yamatorayamatora

Samba

sudo apt-get install samba
sudo vi /etc/samba/smb.conf
sudo systemctl restart smbd

add to smb.conf

[pi]
   comment = Samba sharing
   path = /var/www
   force user = pi
   guest ok = no
   create mask = 0666
   directory mask = 0777
   read only = no
このスクラップは2023/01/22にクローズされました