If you want anymore a Desktop environment to use your RPI as Personal Computer together with webserver services, then you can install Raspberry PI OS Desktop, proceeding with the next steps from the internal terminal. For this preparation part, please refer to install Raspberry PI OS Lite. We’ll use a light OS without a desktop environment (headless), so having more power for services instead of wasting CPU and RAM on not needed desktop GUI. Step-by-Step Procedure Install Operating System – Linux high speed micro SD card (at least 16 GB, at least class 10)Ĭheck hardware prices with following links:.Raspberry PI Zero W (including proper power supply or using a smartphone micro USB charger with at least 3A) or newer Raspberry PI Board.What We NeedĪs usual, I suggest adding from now to your favourite e-commerce shopping cart all needed hardware, so that at the end you will be able to evaluate overall costs and decide if continue with the project or remove them from the shopping cart. I’m going to use a cheap Raspberry PI Zero W, but this guide will apply to all Raspberry PI boards. In this tutorial, I’m going to show you how to install a LAMP server in your Raspberry PI. You should also use a domain, being also able to start with a free No-IP domain (please refer to configure No-IP DUC guide for the last part). You must forward external ports 80 (for http) and/or 443 (for https) to Raspberry PI. If you want to publish your web page on the internet, you also need to configure your router port-forwarding. This can be achieved by setting a static IP address on Raspberry PI and configuring your router to leave the same IP address associated with RPI Mac Address (this part depends on your router model). The very first thing to configure is assuring that your Raspberry PI will acquire always the same IP address on every boot. Php – Server-side Scripting – to create dynamic pagesīesides installing LAMP server to publish a website, you need to set also some networking configurations.MySQL – Database – to store records and data which need to be managed with apposite structures.Apache – Web Server Application – to expose html pages.Linux – Operating System – to manage hardware integration and general software operations.LAMP is a server composed by the following elements (each one composing the LAMP acronym): They also have very low power consumption, so many people can start a web page at affordable costs. Raspberry PI boards can perform very well to provide complete web server functions with very small budgets.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |