olzname.blogg.se

Raspberry pi php5 has no installation candidate
Raspberry pi php5 has no installation candidate













When the installation has completed, check to see that MySQL is working by typing the following: sudo mysql –uroot -p

raspberry pi php5 has no installation candidate

Whatever password you/u assign, make sure you write it down somewhere, or put it in a password safe program. This is a MySQL database account that will own the server. This is not the same “root” as Linux itself. You’ll be prompted multiple times during the install to provide a password for the root user. Type the following to install MySQL: sudo apt-get install mysql-server-5.5 Next up is the MySQL database engine, which applications will use to store their information. You should see a generic “It Works!” message. You can test this by opening a browser from another computer on your network, and navigating to the address of the Raspberry Pi. If everything went well, you should now have a working web server.

raspberry pi php5 has no installation candidate

To install the next layer of the stack, the Apache web server, version 2, type the following command, answering “Y” when prompted to confirm. If you can do this, you’ve handled the “L” part.

raspberry pi php5 has no installation candidate

Log in to the Raspberry Pi as the “pi” user, and get to a command prompt. This was taken care of in previous posts. Through the magic of the Advanced Packaging Tool (APT), you could just install WordPress, and the dependencies would come along for the ride, but where’s the fun in that? I’d rather make sure I have a solid LAMP stack before installing any applications on top of it. If you want to run WordPress, though, you’re going to need the LAMP stack. If you’re not planning to run any web applications from your server, you can obviously skip this post.

  • PHP is a web programming technology used to write web applications.
  • MySQL is a database that applications can use to store their stuff.
  • raspberry pi php5 has no installation candidate

    Apache is a web server that runs on Linux.Linux is the OS, of course, the bottom layer of the stack.LAMP stands for “Linux, Apache, MySQL, and PHP”, and it’s the technology stack a lot of web projects in the Linux world are built on. Updates: I haven’t had any reports of trouble with this post since the Jessie release of Raspbian came out, so I’m assuming it all still works until I hear otherwise. If you have a Pluralsight subscription, please consider watching it. Self-promotion: I’ve recorded this series as a screencast for Pluralsight:















    Raspberry pi php5 has no installation candidate