{"id":453,"date":"2019-02-06T20:26:49","date_gmt":"2019-02-07T04:26:49","guid":{"rendered":"https:\/\/doubleecpu.com\/?page_id=453"},"modified":"2019-03-04T18:28:49","modified_gmt":"2019-03-05T02:28:49","slug":"apache","status":"publish","type":"page","link":"https:\/\/doubleecpu.com\/index.php\/raspian-linux-programs\/apache\/","title":{"rendered":"APACHE"},"content":{"rendered":"\n<p>Install Apache webserver with the following command<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install apache2 -y<\/pre>\n\n\n\n<p>Next Change ownership to pi user, <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo chown -R pi:www-data \/var\/www\/html\/ <br>sudo chmod -R 770 \/var\/www\/html\/<\/pre>\n\n\n\n<p>Test Apache on Raspberry Pi<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget -O check_apache.html http:\/\/127.0.0.1 <\/pre>\n\n\n\n<p>Can also be tested by entering the Raspberry Pi&#8217;s  IP  address or http:\/\/localhost in a web browser. The default Webpage for Apache should appear, it can be found in \/var\/www\/html\/index.html <\/p>\n\n\n\n<p>Documentation for Apache can be found at https:\/\/httpd.apache.org\/docs\/2.4\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install Apache webserver with the following command sudo apt-get install apache2 -y Next Change ownership to pi user, sudo chown -R pi:www-data \/var\/www\/html\/ sudo chmod -R 770 \/var\/www\/html\/ Test Apache on Raspberry Pi wget -O check_apache.html http:\/\/127.0.0.1 Can also be tested by entering the Raspberry Pi&#8217;s IP address or http:\/\/localhost in a web browser. The &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/doubleecpu.com\/index.php\/raspian-linux-programs\/apache\/\" class=\"more-link\">Read more<span class=\"screen-reader-text\"> &#8220;APACHE&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":261,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-453","page","type-page","status-publish","hentry"],"featured_media_urls":[],"_links":{"self":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages\/453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/comments?post=453"}],"version-history":[{"count":0,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages\/453\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages\/261"}],"wp:attachment":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/media?parent=453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}