Thank you for your donation!

Instruction Guide Accessing /var/www from PC
Just a quick guide on how to access the contents of /var/www via Samba (fileshare). This could be useful if adding to or working with the web UI for whatever you may need. I've been using this approach on the API I built to access YouTube.

$ sudo nano /etc/samba/smb.conf

Add to that file ...

comment = WEB
path = /var/www/
read only = No
guest ok = Yes

comment = WEB LOCAL
path = /var/local/www/
read only = No
guest ok = Yes

Reboot the Pi and now in the file manager on your PC/laptop you'll be able to edit the files launching into a text editor without having to use SSH+nano. When you're done re-edit that config file and delete those lines.

GitHub, Spotify and Resonate : @duracell80

My jam: ambient, lush vocals, synths and acoustic guitars
Thanks !

Forum Jump: