Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
rpi_nimbus [2020/07/25 12:41] – [+Work logs] Júne Park | rpi_nimbus [2023/06/09 09:53] – old revision restored (2023/06/09 09:51) Júne Park |
---|
* [[: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]] |
</nav> | </nav> |
| |
===== Webius Officium ─ NiMBUS deBlanc ===== | ====== Webius Officium ─ NiMBUS deBlanc ====== |
| |
{{:rpi_nimbus.jpg?nolink&250|}} | {{:rpi_nimbus.jpg?nolink&250|}} |
{{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% | ~/storage ext4 458G 318G 117G 74% |
/var/www ext4 220G 18G 191G 9% | /var/www ext4 220G 816M 208G 1% |
</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]] |
| |
---- | ---- |
* 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> |
<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> |
| |
=== +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 |
---- | ---- |
==== 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> |
''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 on, comment out ''autoindex'' directive. |
| |
<code nginx> | <code nginx> |
| # autoindex on; |
| |
fancyindex on; | fancyindex on; |
fancyindex_exact_size off; | fancyindex_exact_size off; |
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 ==== |
| |
<text type="warning">{{fa>exclamation}} **Problem**</text>: Error during ''sudo apt update'' | <text type="warning">{{fa>exclamation}} **Problem**</text>: Error during ''sudo apt update'' |
| |
---- | ---- |
==== 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'', |
| |
| |
---- | ---- |
=== 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'', |
| |