Open up the terminal and run these commands, one after the other: sudo apt-get update We’ll update our packages and then install nginx. The “E” in LEMP is “nginx,” believe it or not. For a refresher on OS installation, head over to our post on how to install Raspbian on the Raspberry Pi. Install Raspbian using an SD card, just as you would for any other Raspbian-based project. Once Raspbian is up and running on your Raspberry Pi, you’ll find that it’s pretty easy to get everything else working! Step 1: Install Raspbian In our case, the Linux distro in question will be Raspbian. In short, LEMP uses Linux as the operating system on the device hosting the server, nginx as the server itself, MySQL as a database management system, and PHP for dynamic processing. To run our web server, we’re using what’s commonly called the LEMP stack: Linux, nginx, MySQL, and PHP. How to set up a web server on the Raspberry Pi Here’s how to set up a web server on the Raspberry Pi. Your Raspberry Pi offers a simple way to host a personal or professional website, and everything you need to know about getting it done is in this handy guide. Hosting a website on your own isn’t hard – in fact, you can do it on your Raspberry Pi with nothing more than a Raspbian installation and a little command line work.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |