{"id":32,"date":"2013-01-31T13:38:36","date_gmt":"2013-01-31T13:38:36","guid":{"rendered":"http:\/\/nofl.biz\/blog\/?p=32"},"modified":"2013-01-31T13:38:36","modified_gmt":"2013-01-31T13:38:36","slug":"raspberry-pi-setting-up-web-server","status":"publish","type":"post","link":"https:\/\/beneford.com\/Blog\/index.php\/2013\/01\/31\/raspberry-pi-setting-up-web-server\/","title":{"rendered":"Raspberry Pi &#8211; setting up Web server"},"content":{"rendered":"<h3>Abstract: This is how to setup a Web server on Raspberry Pi<\/h3>\n<p><a title=\"Raspberry Pi \u2013 updating\" href=\"http:\/\/nofl.biz\/blog\/?p=26\">Update your Raspberry Pi<\/a> first.<\/p>\n<table>\n<tbody>\n<tr>\n<td>Run this commands<\/td>\n<td>to install this<\/td>\n<\/tr>\n<tr>\n<td><code>apt-get install apache2<\/code><\/td>\n<td>The Apache web server<\/td>\n<\/tr>\n<tr>\n<td><code>apt-get install php5 libapache2-mod-php5<\/code><\/td>\n<td>php5 and php5 support for Apache<\/td>\n<\/tr>\n<tr>\n<td><code>apt-get install mysql-server mysql-client<\/code><\/td>\n<td>MySQL server and client.<br \/>\nYou will be prompted to enter a SQL root password.<\/td>\n<\/tr>\n<tr>\n<td><code>apt-get install php5-mysql<\/code><\/td>\n<td>MySQL support for php<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Configure Apache. By defualt, a single-page website is active &#8211;\u00a0\/var\/www\/index.html.<\/p>\n<p>You can test php is working by creating a file: \/var\/www\/phpinfo.php:<br \/>\n<code><?php phpinfo(); ?><\/code><br \/>\nThen in your webbrowser, visit http:\/\/rpi\/phpinfo.php and you will see the php configuration screen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Abstract: This is how to setup a Web server on Raspberry Pi Update your Raspberry Pi first. Run this commands to install this apt-get install apache2 The Apache web server apt-get install php5 libapache2-mod-php5 php5 and php5 support for Apache apt-get install mysql-server mysql-client MySQL server and client. You will be prompted to enter a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/beneford.com\/Blog\/index.php\/wp-json\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/beneford.com\/Blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/beneford.com\/Blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/beneford.com\/Blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/beneford.com\/Blog\/index.php\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":0,"href":"https:\/\/beneford.com\/Blog\/index.php\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"wp:attachment":[{"href":"https:\/\/beneford.com\/Blog\/index.php\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/beneford.com\/Blog\/index.php\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/beneford.com\/Blog\/index.php\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}