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
Next revisionBoth sides next revision
rpi_nimbus [2019/12/22 17:21] – [Specification] Júne Parkrpi_nimbus [2020/07/28 15:12] – [Webius Officium ─ NiMBUS deBlanc] Júne Park
Line 1: Line 1:
 <nav>  <nav> 
   * {{fa>server?color=#8B0000}} Linux   * {{fa>server?color=#8B0000}} Linux
-    * [[:rpi_common|General Things on Raspbian]]+    * [[:rpi_common|■ General Things on Raspbian]]
     * [[:rpi_autism|Media Ditorium ─ AUTiSM Rainbow]]     * [[:rpi_autism|Media Ditorium ─ AUTiSM Rainbow]]
     * [[:rpi_epigen|Private Cellarium ─ EPiGEN Crystal]]     * [[:rpi_epigen|Private Cellarium ─ EPiGEN Crystal]]
     * [[:rpi_nimbus|Webius Officium ─ NiMBUS deBlanc]]     * [[:rpi_nimbus|Webius Officium ─ NiMBUS deBlanc]]
-    * [[:debian_common|General info on Debian Linux]]+    * [[:debian_common|■ General info on Debian Linux]]
     * [[:deb_mutism|Opus Imperium ─ MUTiSM Magnum]]     * [[:deb_mutism|Opus Imperium ─ MUTiSM Magnum]]
 +    * [[:deb_gilead|Actu Periculum ─ GiLEAD Argenta]]
 +    * [[:deb_debris|Finca LaDichium ─ DEBRiS Chrome]]
   * {{fa>windows?color=#0000A0}} Windows   * {{fa>windows?color=#0000A0}} Windows
-    * [[:pc_common|Common Works on Windows]]+    * [[:pc_common|■ Common Works on Windows]]
     * [[:pc_mesonism|Primus Workstation ─ MESONiSM]]     * [[:pc_mesonism|Primus Workstation ─ MESONiSM]]
     * [[:pc_mesonium|Manibus Tablet ─ MESONiUM]]     * [[:pc_mesonium|Manibus Tablet ─ MESONiUM]]
Line 14: Line 16:
     * [[:pc_mesonity|Praevus Station ─ MESONiTY]]     * [[:pc_mesonity|Praevus Station ─ MESONiTY]]
   * {{fa>android?color=#006400}} Android   * {{fa>android?color=#006400}} Android
-    * [[:cell_common|Common Stuffs on Androids]]+    * [[:cell_common|■ Common Stuffs on Androids]]
     * [[: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]]
Line 22: Line 24:
 </nav> </nav>
  
-===== Webius Officium ─ NiMBUS deBlanc =====+====== Webius Officium ─ NiMBUS deBlanc ======
  
 {{:rpi_nimbus.jpg?nolink&250|}} {{:rpi_nimbus.jpg?nolink&250|}}
  
-Name: {{material>assignment_turned_in}} NiMBUS deBlanc (official) | {{material>create}} ''구운몽'' (korean)+Name: {{mdi>cards?28&color=#9000B3}} ''**NiMBUS** deBlanc'' (official) | {{mdi>creation?28&color=#9000B3}} ''구운몽'' (korean)
  
 ---- ----
 ==== Specification ====  ==== Specification ==== 
  
-{{material>developer_board?32&color=#14281D}} 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]]
  
-{{material>sd_storage?32&color=#355834}} {{fa>database}} 240G on ''/var/www'' {{fa>database}} 500G on ''~/storage'' --- {{fa>plug}} [[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]] {{fa>lock}} 
 +  * {{mdi>database}} ''**240G**'' --- ''/var/www'' partition  
 +  * {{mdi>database}} ''**500G**'' --- ''~/storage'' partition 
  
 === 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  151G  284G  35+~/storage ext4      ext4  458G  296G  139G  69
-/var/www    ext4  220G   18G  191G   9%+/var/www            ext4  220G  353M  208G   1%
 </code> </code>
  
-{{material>network_wifi?32&color=#6E633D}} Wired (''eth0''), {{fa>wifi}} Wireless (''wlan0''& Wired {{fa>usb?color=#000000}} (''eth1'')  --- {{fa>wifi}} [[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]] {{fa>lock}} 
 +  * {{mdi>lan?color=#9000B3}} Wired (''NiMBUS-enx001'' 
 +  * {{mdi>wifi?color=#9000B3}} Wireless Connection (''NiMBUS-wlx001'' 
 +  {{mdi>lan?color=#9000B3}} Wired {{fa>usb?14&color=#000000}} (''NiMBUS-wlx002'')  
  
-{{material>https?32&color=#C2A878}}  Web service and web resources including [[wp>WebDAV]]+{{mdi>web?32&color=#9000B3}}  Web publishing and web resources including [[wp>WebDAV]]
  
 ---- ----
Line 51: Line 58:
 ==== Hosting Services ====  ==== Hosting Services ==== 
  
-<button type="info icon="fa fa-lock">[[[[secured:web_admin#june_s_pion_gateway|admin]]</button> **''[[https://pi.meson.one/|Júne's PiON Gateway]]''**  --- WebDAV and Documents Archives +<button type="primary" size="sm" icon="fa fa-lock">[[[[secured:web_admin#june_s_pion_gateway|admin]]</button> **''[[https://pi.meson.one/|Júne's PiON Gateway]]''**  --- WebDAV and Documents Archives 
  
  
-<button type="info icon="fa fa-lock">[[[[secured:web_admin#june_s_cloud_platform|admin]]</button> **''[[https://cloud.meson.in|Júne's Cloud Platform]]''**  --- Gateway for all cloud services  +<button type="primary"  size="sm" icon="fa fa-lock">[[[[secured:web_admin#june_s_cloud_platform|admin]]</button> **''[[https://cloud.meson.in|Júne's Cloud Platform]]''**  --- Gateway for all cloud services 
- +
-<button type="info"  icon="fa fa-lock">[[[[secured:web_admin#june_s_wiki|admin]]</button> **''[[https://wiki.meson.in|Júne's Wiki]]''**  --- What I Know Is ... Here  +
- +
- +
-{{fa>sliders?color=#d20962&2x}} Live [[:secured:nginx_config#nimbus_debalanc|Nginx Configuration]] for ''**NiMBUS**'' {{fa>lock?color=#808080}} +
  
 +<button type="primary"  size="sm" icon="fa fa-lock">[[[[secured:web_admin#june_s_wiki|admin]]</button> **''[[https://wiki.meson.in|Júne's Wiki]]''**  --- What I Know Is ... Here 
  
 +<button type="danger" size="sm" icon="fa fa-sliders">[[https://wiki.meson.one/doku.php?id=secured:nginx_config#nimbus_debalanc|Nginx Configuration]]</button> Showing lively on OWL {{fa>opera?14&color=#cc0f16}} for ''**NiMBUS** deBlanc'' {{fa>lock?color=#808080}} 
  
 ---- ----
 ==== +Work logs ====  ==== +Work logs ==== 
  
-  * {{fa>certificate}} ''Renew SSL certificates'' (Let's Encrypt) done <sub>  --- Updated on //2019/08/01 18:48// </sub>+  * ''adjust & optimize'' value of ''php-fpm'' -- ''/etc/php/7.x/fpm/pool.d/www.conf'' <sub>  --- Updated on //2020/07/25 21:40// </sub> 
 +  * ''proxy_pass'' for ''transmission web'' with ''bit.meson.in'', ''tor.meson.in'' & ''gen.meson.in'' <sub>  --- Updated on //2020/07/25 04:15// </sub> 
 +  * **''Fresh installation''** <sub>  --- Updated on //2020/07/25 04:13// </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> 
 +  * 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>
   * ''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 79: Line 89:
 <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 90: Line 101:
  
 === +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 102: Line 111:
  
 ---- ----
 +==== Disable Build-in Radios ==== 
  
 +Edit ''/boot/config.txt'' 
 +
 +<code ini> 
 +dtoverlay=disable-wifi
 +dtoverlay=disable-bt
 +</code> 
 +
 +Or add configuration string in ''config.txt'' 
 +
 +<code bash> 
 +echo "dtoverlay=pi3-disable-wifi" | sudo tee -a /boot/config.txt
 +echo "dtoverlay=pi3-disable-bt" | sudo tee -a /boot/config.txt
 +</code> 
 +
 +Disable systemd service that initializez Bluetooth Modems connected by UART. 
 +
 +<code bash> 
 +sudo systemctl disable hciuart.service
 +</code>
 +
 +----
 +==== Setup different SSIDs ==== 
 +
 +Default (initial) configuration for Wireless is stored in ''/etc/wpa_supplicant/wpa_supplicant.conf'' 
 +
 +If another wireless device is ''wlan1'' then copy as ''wpa_supplicant-**wlan1**.conf'' and edit 
 +
 +<code ini> 
 +ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
 +network={
 +    ssid="example"
 +    scan_ssid=1
 +    key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
 +    pairwise=CCMP TKIP
 +    group=CCMP TKIP WEP104 WEP40
 +    psk="very secret passphrase"
 +    eap=TTLS PEAP TLS
 +    identity="user@example.com"
 +    password="foobar"
 +    ca_cert="/etc/cert/ca.pem"
 +    client_cert="/etc/cert/user.pem"
 +    private_key="/etc/cert/user.prv"
 +    private_key_passwd="password"
 +    phase1="peaplabel=0"
 +    ca_cert2="/etc/cert/ca2.pem"
 +    client_cert2="/etc/cer/user.pem"
 +    private_key2="/etc/cer/user.prv"
 +    private_key2_passwd="password"
 +}
 +</code>
 ==== Enable your Server Blocks ====  ==== Enable your Server Blocks ==== 
  
Line 634: Line 694:
  
 ---- ----
 +===== Installing DokuWiki ===== 
  
-==== Disable build-in bluetooth ==== +==== Post installation ==== 
  
-Add configuration string in ''config.txt'' +=== Setup permissions of directories === 
  
-<code bash>  +''data'' directory
-echo "dtoverlay=pi3-disable-wifi" | sudo tee -a /boot/config.txt+
  
-echo "dtoverlay=pi3-disable-bt" | sudo tee -a /boot/config.txt +<code bash> 
-</code> +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>
  
-Disable systemd service that initializez Bluetooth Modems connected by UART. +everything ''below the data'' directory
  
-<code bash>  +<code bash> 
-sudo systemctl disable hciuart+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> </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 ====  
  
-=== symbol lookup error === + 
 +===== Solved problems ===== 
 + 
 +==== 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''
Line 673: Line 740:
  
 ---- ----
-==== 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 687: Line 754:
  
 ---- ----
-=== 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
  • Last modified: 2024/04/07 00:53
  • by Júne Park