![]() WordPress uses MySQL to store posts, pages, user data, and lots of other content. Install MySQL Server by entering the following command into the terminal window: sudo apt-get install mysql-server -y Like PHP, it's widely used on web servers, which is why projects like WordPress use it and why those projects are so popular. ![]() MySQL (pronounced "my S-Q-L" or "my sequel") is a popular database engine. Save and close Leafpad then refresh the browser to see your changes. It is located at /var/You can try replacing this file with some HTML of your own using the Leafpad text editor: cd /var/www/html/ This default webpage is just an HTML file on the filesystem. You should see this in your browser window: ![]() Just open the web browser and enter the address Alternatively (particularly if you're using Raspbian Lite), enter the Pi's IP address instead of localhost. Open a terminal window and type the following command: sudo apt install apache2 -yīy default, Apache puts a test HTML file in a web folder you can view from your Pi or another computer on your network. With additional modules, it can serve dynamic web pages using scripting languages such as PHP. On its own, Apache can serve static HTML files over HTTP. ApacheĪpache is a popular web server application you can install on the Raspberry Pi to serve web pages. This tutorial will work with either version, but if you use the Lite version you'll have to use another computer to access your website. The Lite version has no desktop environment, so it's command-line only and comes with only the essential software. The Desktop version boots to a familiar-looking desktop and comes with lots of educational software and programming tools, as well as the LibreOffice suite, Minecraft, and a web browser. It comes with two options to start: Desktop or Lite. ![]() The Raspberry Pi runs Raspbian, which is a Linux distribution based on Debian and optimized to run well on Raspberry Pi hardware. The four components of a commonly used web stack are Linux, Apache, MySQL, and PHP. Whitepaper: Data-intensive intelligent applications in a hybrid cloud blueprint.eBook: Running Kubernetes on your Raspberry Pi.Getting started with Raspberry Pi cheat sheet. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |