Turning a Raspberry Pi 3 Into a LAMP & FTP Server
Early on while learning front-end development I was keeping my development server on an external hard drive because my laptop's SSD was nearly full. I kept having to reconnect the external hdd whenever I wanted to code. To remedy the situation I decided to turn my Raspberry Pi 3 into a headless (no monitor) LAN-server.
The first thing I did was Google a tutorial on how to go about this. I followed this link the majority of the time. I had set up a WAMP server on my laptop, but this server was a bit different being a LAMP (Linux v MS) and it included WordPress & an FTP (file-transfer protocol) module. Following the instructions of the tutorial went without a hitch until I tried installing phpmyadmin (an in browser function that manages your SQL database). The Linux packages for phpmyadmin were corrupt, so I downloaded an older version of the files onto a thumbdrive and installed them that way.
I only had one other hangup: WordPress. I installed it just fine onto my server, but I had never used it before and I got fed up trying to make both WordPress and my other projects accessible. I ended up uninstalling WordPress, but I plan to come back to it in the near future.
When all was said and done I had a headless LAMP and FTP server that was controlled through SSH. I would recommend this setup to anyone else as it is cheap and small. It has never been slow, but my code never demands too much anyway. :)