MX on Linux: Difference between revisions

7 bytes added ,  19:11, 2 September 2020
m
Line 395: Line 395:
The PhpMyAdmin installer will ask some questions. Use your tab key to select <Yes> when it asks whether you want to configure with '''dbconfig-common'''.   
The PhpMyAdmin installer will ask some questions. Use your tab key to select <Yes> when it asks whether you want to configure with '''dbconfig-common'''.   


Finally, we need to add the mysqli module to our php install, to restart apache, and to copy the phpadmin installation to the server web root as our new copy can be seen in our browser and used there:
Finally, we need to add the mysqli module to our php install, to restart apache, and to create symbolic link for the phpadmin installation to the server web root so can be seen in our browser and used there:


<pre>sudo phpenmod mysqli
<pre>sudo phpenmod mysqli
sudo service apache2 restart
sudo service apache2 restart
sudo in -s /usr/share/phpmyadmin /var/www/html/phpmyadmin</pre>
sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin</pre>




You can view any index.php or PHPMyAdmin web page in your browser by prefixing the address with your Pi URL e.g. '''http://192.168.1.xy/phpmyadmin''' where x and y are digits you look up as mentioned before where FTP of MX distribution was described. In this case you will see a PHP MyAdmin log on page where you type username and password (as you may not have added any other user yet, the user will be root).
You can view any index.php or PHPMyAdmin web page in your browser by prefixing the address with your Pi URL e.g. '''http://192.168.1.xy/phpmyadmin''' where x and y are digits you look up as mentioned before where FTP of MX distribution was described. In this case you will see a PHP MyAdmin log on page where you type username and password (as you may not have added any other user yet, the user will be root).
5,838

edits