Changes

Jump to: navigation, search

XELK-TN-001: Using Chromium browser as an Embedded GUI

24 bytes added, 09:09, 4 October 2019
How to configure
<Directory "/usr/share/apache2/htdocs">
root@imx6qxelk:~#
 
=== PHP ===
For demonstration purposes the PHP info page is loaded as the home page for our web server running on the system:
 
<pre>
root@imx6qxelk:~# cat /usr/share/apache2/htdocs/.htaccess
DirectoryIndex phpinfo.php
root@imx6qxelk:~# cat /usr/share/apache2/htdocs/phpinfo.php
<?php
 
phpinfo();
 
?>
root@imx6qxelk:~#
</pre>
 
In this way, the PHP info page is shown when the web browser is started on localhost.
=== Graphical backend ===
root@imx6qxelk:~# google-chrome https://chrome.google.com/webstore/detail/virtual-keyboard/pflmllfnnabikmfkkaddkoolinlfninn
 
==Results==
===Use case #1: PHP ===
For demonstration purposes the PHP info page is loaded as the home page for our web server running on the system:
 
<pre>
root@imx6qxelk:~# cat /usr/share/apache2/htdocs/.htaccess
DirectoryIndex phpinfo.php
root@imx6qxelk:~# cat /usr/share/apache2/htdocs/phpinfo.php
<?php
 
phpinfo();
 
?>
root@imx6qxelk:~#
</pre>
 
In this way, the PHP info page is shown when the web browser is started on localhost.
8,154
edits

Navigation menu