{"id":2,"date":"2018-07-05T21:53:16","date_gmt":"2018-07-05T21:53:16","guid":{"rendered":"http:\/\/gpiana.no-ip.org\/?page_id=2"},"modified":"2021-03-23T14:55:36","modified_gmt":"2021-03-23T14:55:36","slug":"sample-page","status":"publish","type":"page","link":"http:\/\/gpiana.no-ip.org\/","title":{"rendered":"Welcome Page"},"content":{"rendered":"<p>This is a WordPress site with nginx running in a Docker container on Raspberry PI3.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-19\" src=\"http:\/\/gpiana.no-ip.org\/wp-content\/uploads\/2018\/07\/13825-01raspberry-300x300.jpg\" alt=\"\" width=\"149\" height=\"149\" srcset=\"http:\/\/gpiana.no-ip.org\/wp-content\/uploads\/2018\/07\/13825-01raspberry-300x300.jpg 300w, http:\/\/gpiana.no-ip.org\/wp-content\/uploads\/2018\/07\/13825-01raspberry-150x150.jpg 150w, http:\/\/gpiana.no-ip.org\/wp-content\/uploads\/2018\/07\/13825-01raspberry-100x100.jpg 100w, http:\/\/gpiana.no-ip.org\/wp-content\/uploads\/2018\/07\/13825-01raspberry.jpg 600w\" sizes=\"(max-width: 149px) 100vw, 149px\"><\/p>\n<p>This site is a demo about running a LEMP (Linux+Nginx+MySql+PHP) on a hardware low-power consumption.<\/p>\n<p>The Raspberry model B normally consumes 230 mA when in idle mode while using 500 mA at least with no device connected ( see&nbsp;<a href=\"https:\/\/raspi.tv\/2018\/how-much-power-does-raspberry-pi-3b-use-power-measurements\">https:\/\/raspi.tv\/2018\/how-much-power-does-raspberry-pi-3b-use-power-measurements<\/a> and&nbsp;&nbsp;<a href=\"https:\/\/www.raspberrypi.org\/documentation\/hardware\/raspberrypi\/power\/README.md\">https:\/\/www.raspberrypi.org\/documentation\/hardware\/raspberrypi\/power\/README.md<\/a>&nbsp;) , anyway the power of a Raspberry model B is less than 4W.&nbsp;<\/p>\n<p>It&rsquo;s running Raspbian, based on Debian 8.<\/p>\n<p>Docker is v. 1.12.4 , nginx is 1.6.2 and kernel 4.4.34-v7.<\/p>\n<p>WordPress is 4.9.8 and using plugins like Metaslider, Google Doc Embedder and other.<\/p>\n<p>There is another<a href=\"http:\/\/gpiana.no-ip.org:81\"> container<\/a>&nbsp;running nginx with&nbsp; a <a href=\"https:\/\/www.wikimedia.org\/\">WikiMedia<\/a> site .<\/p>\n<h4>December 2018<\/h4>\n<p>&nbsp;<\/p>\n<p>And now the system is growing &hellip;&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-medium wp-image-234\" src=\"http:\/\/gpiana.no-ip.org\/wp-content\/uploads\/2018\/12\/wp-15444837160101091527937-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" srcset=\"http:\/\/gpiana.no-ip.org\/wp-content\/uploads\/2018\/12\/wp-15444837160101091527937-225x300.jpg 225w, http:\/\/gpiana.no-ip.org\/wp-content\/uploads\/2018\/12\/wp-15444837160101091527937-768x1024.jpg 768w\" sizes=\"(max-width: 225px) 100vw, 225px\"><\/p>\n<p>The stack is made up by 4 Raspberry running Kubernetes as 1 Master and 3 Nodes &hellip;&nbsp;&nbsp;<\/p>\n<p>After some problems with SD cards, following the link&nbsp;&nbsp;<a href=\"https:\/\/www.raspberrypi.org\/documentation\/hardware\/raspberrypi\/bootmodes\/msd.md\">https:\/\/www.raspberrypi.org\/documentation\/hardware\/raspberrypi\/bootmodes\/msd.md<\/a>,&nbsp; the cluster Kubernetes is booting from USB key with a significative performance improvement.<\/p>\n<p>If you&rsquo;ve a B3+, everything is OK but, if you&rsquo;re using a B3, you have to add the parameter&nbsp;<strong>program_usb_boot_mode=1<\/strong>&nbsp;to the file \/boot\/config.txt&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a WordPress site with nginx running in a Docker container on Raspberry PI3. This site is a demo about running a LEMP (Linux+Nginx+MySql+PHP) on a hardware low-power consumption. The Raspberry model B normally consumes 230 mA when in idle mode while using 500 mA at least with no device connected ( see&nbsp;https:\/\/raspi.tv\/2018\/how-much-power-does-raspberry-pi-3b-use-power-measurements and&nbsp;&nbsp;https:\/\/www.raspberrypi.org\/documentation\/hardware\/raspberrypi\/power\/README.md&nbsp;) &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/gpiana.no-ip.org\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Welcome Page&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":1,"comment_status":"closed","ping_status":"open","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0},"_links":{"self":[{"href":"http:\/\/gpiana.no-ip.org\/index.php?rest_route=\/wp\/v2\/pages\/2"}],"collection":[{"href":"http:\/\/gpiana.no-ip.org\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/gpiana.no-ip.org\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/gpiana.no-ip.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gpiana.no-ip.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2"}],"version-history":[{"count":28,"href":"http:\/\/gpiana.no-ip.org\/index.php?rest_route=\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":271,"href":"http:\/\/gpiana.no-ip.org\/index.php?rest_route=\/wp\/v2\/pages\/2\/revisions\/271"}],"wp:attachment":[{"href":"http:\/\/gpiana.no-ip.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}