rpi_nimbus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rpi_nimbus [2020/07/26 16:43] – [Solved Problems] Júne Parkrpi_nimbus [2024/03/15 23:47] (current) – [Specification] Júne Park
Line 19: Line 19:
     * [[:cell_epiaux|Júne's Primus ─ EPiAUX 5X]]     * [[:cell_epiaux|Júne's Primus ─ EPiAUX 5X]]
     * [[:cell_epihex|Júne's Extentus ─ EPiHEX 6]]     * [[:cell_epihex|Júne's Extentus ─ EPiHEX 6]]
 +    * [[:cell_epimer|Júne's Maximus ─ EPiMER 5P]]
     * [[:cell_epinex|Júne's Secondus ─ EPiNEX 5]]     * [[:cell_epinex|Júne's Secondus ─ EPiNEX 5]]
     * [[:cell_epitab|Júne's Laminus - EPiTAB 7]]     * [[:cell_epitab|Júne's Laminus - EPiTAB 7]]
Line 24: Line 25:
 </nav> </nav>
  
-===== Webius Officium ─ NiMBUS deBlanc =====+====== Webius Officium ─ NiMBUS deBlanc ======
  
 {{:rpi_nimbus.jpg?nolink&250|}} {{:rpi_nimbus.jpg?nolink&250|}}
Line 35: Line 36:
 {{mdi>raspberry-pi?32&color=#9000B3}} Model: [[https://www.raspberrypi.org/products/raspberry-pi-3-model-b/|Raspberry Pi 3 Model B]] [[wp>Raspberry_Pi#Model_B|Raspbierry Pi Model B]] {{mdi>raspberry-pi?32&color=#9000B3}} Model: [[https://www.raspberrypi.org/products/raspberry-pi-3-model-b/|Raspberry Pi 3 Model B]] [[wp>Raspberry_Pi#Model_B|Raspbierry Pi Model B]]
  
-{{mdi>database-plus?32&color=#9000B3}} Storages --- {{mdi>harddisk}} [[SECURED:JUNE_HARDWARE#data_storage|Storage in details]] {{fa>lock}} +{{mdi>database-plus?32&color=#9000B3}} Storages --- {{mdi>harddisk}} [[SECURED:JUNE_HARDWARE#data_storage|Storage in details]] {{mdi>lock}} 
-  * {{mdi>database}} ''**240G**'' --- ''/var/www'' partition  +  * {{mdi>database}} ''**240G**'' --- ''/var/www'' partition {{fa>usb?14&color=#005eb8}} 
-  * {{mdi>database}} ''**500G**'' --- ''~/storage'' partition +  * {{mdi>database}} ''**500G**'' --- ''~/storage'' partition {{fa>usb?14&color=#005eb8}}
  
 === Live status of storages === === Live status of storages ===
  
 <code ini> <code ini>
-Mounted on    Type  Size  Used Avail Use% +Mounted on     Type  Size  Used Avail Use% 
-~/storage     ext4  458G  280G  155G  65+             ext4   15G  2.3G   12G  17
-/var/www      ext4  220G   18G  191G   9%+/var/www       ext4  220G  451M  208G   1% 
 +/home/www-data ext4  458G  307G  128G  71%
 </code> </code>
  
-{{mdi>server-network?32&color=#9000B3}} --- {{mdi>wifi-strength-3-lock}} [[SECURED:HOME_NETWORK#dhcp_assigned_ip|Júne's home network]] {{fa>lock}} +{{mdi>server-network?32&color=#9000B3}} --- {{mdi>wifi-strength-3-lock}} [[SECURED:HOME_NETWORK#dhcp_assigned_ip|Júne's home network]] {{mdi>lock}} 
-  * {{mdi>lan?color=#9000B3}} Wired (''eth0'')  +  * {{mdi>lan?color=#9000B3}} Wired (''NiMBUS-enx001'')  
-  * {{mdi>wifi?color=#9000B3}} Wireless Connection (''wlan0'')  +  * {{mdi>wifi?color=#9000B3}} Wireless Connection (''NiMBUS-wlx001'')  
-  * {{mdi>lan?color=#9000B3}} Wired {{fa>usb?14&color=#000000}} (''eth1'')  +  * {{mdi>lan?color=#9000B3}} Wired {{fa>usb?14&color=#000000}} (''NiMBUS-wlx002'')  
  
-{{mdi>web?32&color=#9000B3}}  Web service and web resources including **[[wp>WebDAV]]**+{{mdi>web?32&color=#9000B3}}  Web publishing and web resources including [[wp>WebDAV]]
  
 ---- ----
Line 75: Line 77:
   * Change ''backup rsync'' to another partition <sub>  --- Updated on //2020/06/27 04:01// </sub>   * Change ''backup rsync'' to another partition <sub>  --- Updated on //2020/06/27 04:01// </sub>
   * Change ''web root'' of ''eigen.ml'', ''dav.meson.in'' & ''pdf.meson.in'' <sub>  --- Updated on //2020/06/27 04:00// </sub>   * Change ''web root'' of ''eigen.ml'', ''dav.meson.in'' & ''pdf.meson.in'' <sub>  --- Updated on //2020/06/27 04:00// </sub>
-  * Plugin Wireless LAN {{fa>usb}} & Wired Giga LAN {{fa>usb}} <sub>  --- Updated on //2020/02/22 03:32// </sub>+  * Plugin Wireless LAN {{mdi>usb}} & Wired Giga LAN {{fa>usb}} <sub>  --- Updated on //2020/02/22 03:32// </sub>
   * **''Fresh installation''** <sub>  --- Updated on //2020/02/11 02:16// </sub>   * **''Fresh installation''** <sub>  --- Updated on //2020/02/11 02:16// </sub>
-  * {{fa>certificate}} ''Renew SSL certificates'' (Let's Encrypt) done <sub>  --- Updated on //2019/08/01 18:48// </sub> 
   * ''configure'' access.log and error.log separately  <sub> --- Updated on //2018/09/20 11:12//</sub>   * ''configure'' access.log and error.log separately  <sub> --- Updated on //2018/09/20 11:12//</sub>
-  * {{fa>folder-open}} ''create'' server block for  [ ''dav.meson.in'' ]  <sub> --- Updated on //2018/08/14 15:35//</sub> +  * {{mdi>sitemap}} ''create'' server block for  [ ''dav.meson.in'' ]  <sub> --- Updated on //2018/08/14 15:35//</sub> 
   * ''Optimize'' Nginx configuration for **''Dokuwiki''** [[https://www.nginx.com/resources/wiki/start/topics/recipes/dokuwiki/|reference content]]   * ''Optimize'' Nginx configuration for **''Dokuwiki''** [[https://www.nginx.com/resources/wiki/start/topics/recipes/dokuwiki/|reference content]]
-  * {{fa>book}} ''create'' server block for  [ ''lib.meson.one'' ] library project <sub>  --- Updated on //2018/04/11 18:22//</sub> +  * {{mdi>book-open-page-variant}} ''create'' server block for  [ ''lib.meson.one'' ] library project <sub>  --- Updated on //2018/04/11 18:22//</sub> 
   * Activate gzip module in Nginx <sub>  --- Updated on //2018/02/27 06:10//</sub>    * Activate gzip module in Nginx <sub>  --- Updated on //2018/02/27 06:10//</sub> 
   * Configured HTTP/2 for all sites <sub>  --- Updated on //2018/02/15 19:45//</sub>    * Configured HTTP/2 for all sites <sub>  --- Updated on //2018/02/15 19:45//</sub> 
Line 90: Line 91:
 <hidden> <hidden>
 ■ For archived history of SSL renewal  ■ For archived history of SSL renewal 
 +  * {{fa>certificate}} ''Renew SSL certificates'' (Let's Encrypt) done <sub>  --- Updated on //2019/08/01 18:48// </sub>
   * {{fa>certificate}} ''Renew SSL certificates'' (Let's Encrypt) done <sub>  --- Updated on //2019/05/23 01:57// </sub>   * {{fa>certificate}} ''Renew SSL certificates'' (Let's Encrypt) done <sub>  --- Updated on //2019/05/23 01:57// </sub>
   * ''Renew SSL certificates'' (Let's Encrypt) done   <sub> --- Updated on //2019/03/13 20:08//</sub>   * ''Renew SSL certificates'' (Let's Encrypt) done   <sub> --- Updated on //2019/03/13 20:08//</sub>
Line 101: Line 103:
  
 === +Que to do ===  === +Que to do === 
- 
-  * {{fa>server?color=#AA0000}} reverse proxy configuration 
  
   * rsync with cloud service such as Box or Dropbox   * rsync with cloud service such as Box or Dropbox
Line 370: Line 370:
 ---- ----
 ==== Create WebDAV directory on Nginx ====  ==== Create WebDAV directory on Nginx ==== 
-**WebDAV** is web protocol based service to open directory and web resources via various ways. To enable WebDAB or Open directory in Nginx. Append the following code inside ''Server {  ...}'' line. +**WebDAV** is web protocol based service to open directory and web resources via various ways. To enable WebDAV or Open directory in Nginx. Append the following code inside ''Server {  ...}'' line. 
  
 <accordion> <accordion>
Line 435: Line 435:
 ''Fancyindex'' is an optional part if you have installed ''nginx-extra'' or ''nginx-full'' ''Fancyindex'' is an optional part if you have installed ''nginx-extra'' or ''nginx-full''
  
-{{fa>warning?color=#000000}} After ''Stretch'' Rapbian upgrade, ''Fancyindex'' feature could not work+{{fa>warning?color=#000000}} When ''fancyindex'' is oncomment out ''autoindex'' directive
  
 <code nginx>  <code nginx> 
 +#  autoindex on;
 +
    fancyindex on;     fancyindex on; 
    fancyindex_exact_size off;     fancyindex_exact_size off; 
Line 694: Line 696:
   curl -H "Accept-Encoding: gzip" -I https://web.url/uri/object.css    curl -H "Accept-Encoding: gzip" -I https://web.url/uri/object.css 
 </code>  </code> 
 +
 +----
 +===== Installing DokuWiki ===== 
 +
 +==== Post installation ==== 
 +
 +=== Setup permissions of directories === 
 +
 +''data'' directory
 +
 +<code bash>
 +wiki/to/path$ sudo chmod -R g=rwX,u=rwX,o=rX data/
 +wiki/to/path$ sudo chown -R www-data:www-data data/
 +</code>
 +
 +everything ''below the data'' directory
 +
 +<code bash>
 +wiki/to/path/data$ sudo chmod 2775 {attic,cache,index,locks,media,meta,pages,tmp}
 +wiki/to/path/data$ sudo chown www-data:www-data {attic,cache,index,locks,media,meta,pages,tmp}
 +</code>
 +
 +For newly created directories, it might require ''setgid'' bit in order to fully retain correct permissions after setting up the existing ones. 
  
 ---- ----
  
  
-===== Solved Problems ===== +===== Solved problems =====
  
 ==== symbol lookup error ====  ==== symbol lookup error ==== 
Line 719: Line 744:
  
 ---- ----
-==== Known Problems ==== +===== Known problems ===== 
  
-=== upstream timed out(110: Connection timed out) ===+==== upstream timed out(110: Connection timed out) ====
 <text type="warning">{{fa>exclamation}} **Problem**</text>: Error found in log ''/var/log/nginx/xxx_error.log'',  <text type="warning">{{fa>exclamation}} **Problem**</text>: Error found in log ''/var/log/nginx/xxx_error.log'', 
  
Line 733: Line 758:
  
 ---- ----
-=== Under-voltage detected! (0x00050005) ===+==== Under-voltage detected! (0x00050005) ====
 <text type="warning">{{fa>exclamation}} **Problem**</text>: Error found in log ''/var/log/kern.log'',  <text type="warning">{{fa>exclamation}} **Problem**</text>: Error found in log ''/var/log/kern.log'', 
  
  • rpi_nimbus.1595781786
  • Last modified: 2020/07/26 16:43
  • by Júne Park