I would like to run a web server and storage server while still having the raspbian stretch over VNC. How would I go about setting up a web server and storage server off of raspbian with the storage server having a 2tb external HDD and several users? All clients are running MS Windows.
1 Answer
For the web server, as others have said it is a choice between apache, nginx or lighttpd depending on your use case.
For the storage server with windows clients this is exactly what Samba is designed to for.
First you have to mount the 2tb external HDD. To do that follow this guide:
Connect your Raspberry Pi to a USB hard disk
Then you need to install and set up Samba. Samba is a very complex suite of software, with lots of options. But here is a simple guide to get you going;
Share your Raspberry Pi's files and folders across a network
With multiple windows users the Microsoft way is to have an Active Directory Domain Controller ADDC to handle authentication. Samba4 includes its own ADDC, but it is well beyond this answer to cover the set up of an ADDC. For a small group of users it may be simpler to create users using smbpassword described in the second link. Just watch the linux file and folder permissions on the pi, to make sure each user can read/write to the folders on the pi.
HTH
F
apache
,nginx
or evenlighttpd