So there will be a dialog where it is asked if it is allowed to do that. ![]() PhpMyAdmin also needs to create tables in your database. Here we get a dialog where we use Apache2 as web server. It can be installed the following way: apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin PHPMyAdmin is a smart web client for MySQL. I wanted to skip this step and got error messages like ‚packet mysql-server-5.5 is not yet configured‘. If you want to avoid problems, you should reboot you Raspberry now. ![]() You can install MySQL with the following command: apt-get install mysql-serverĭuring installation the root password for the database is needed. MySQL is a very popular database for web servers. ![]() Thats all! But for a web server you may need some additional packets that works with PHP 5: sudo apt-get install libapache2-mod-php5 libapache2-mod-perl2 php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-imap php5-ldap php5-mhash php5-mysql php5-odbc MySQL Php 5 can also be installed easily with the packet manager: sudo apt-get install php5 Now with localhost in our Browser on the Raspberry Pi we should se a message. ![]() For this I was to use the following things:įirst we have to check if the user group for the web server exists: sudo groupadd www-dataĪfter that, we can install Apache with a packet manager: sudo apt-get install apache2ĭone. My first project is to turn my Raspberry into a small web server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |