LOGO WITH TEXT
  • Home
  • Privacy Policy
    • Disclaimer
  • About Us
    • Contact Us
  • Categories
  • Malaysia
Menu
  • Home
  • Privacy Policy
    • Disclaimer
  • About Us
    • Contact Us
  • Categories
  • Malaysia
Search
Home Art

Easy Steps For Adding HTML5 Modules Manually To An Internet-In-A-Box Server [Latest 2022]

Planetic Net by Planetic Net
July 17, 2022
in Art, Backup, Bee, Berry, Bit, Bracket, Car, Cat, Chmod, Computer, Dance, Debian, Desktop computer, Document, Download, Education, Eight Easy Steps, Experiment, FileZilla, Government, Hip, HTML, HTML5, Ice, Image, Intel, Internet, Iron, JSON, Laptop, Lead, Learning, Library, Life, Linux, Linux Mint, Login, Operating system, Organization, PHP, PuTTY, Raspberry Pi, Raspberry Pi OS, Rat, Research, Root directory, Security, Software, Star, Sudo, Suit, System, Tea, Ubuntu, Uncategorized, URL, Wi-Fi, Xfce
496
0
shutterstock

shutterstock

422
SHARES
1.1k
VIEWS
Share on FacebookShare on TwitterShare on WhatsappShare on TelegramShare on EmailShare on Wechat
Contents hide
1 Using PuTTY And FileZilla Software For eLearning
1.1 Perquisites
1.2 8 Easy Steps For Adding HTML5 Modules To Internet-In-A-Box Servers
1.2.1 Step 1: Prepare Your Module
1.2.2 Step 2: Update Directory Permissions
1.2.3 Step 3: Upload Module
1.2.4 Step 4: Create A Menu Entry
1.2.5 Step 5: Add Module-Name.json File
1.2.6 Step 6: Upload Module Image
1.2.7 Step 7: Load The Module In The Browser
1.2.8 Step 8: Update Directory Permissions
1.2.9 References:

Using PuTTY And FileZilla Software For eLearning

Promoting teaching and learning in fragile environments has been the vision of many education technologies companies, nongovernmental organizations, and governments all around the globe. One way of realizing this has been through content distribution systems that could operate in offline and off-grid environments. Several hardware and software solutions have been developed by different entities. I have interacted with several and currently I am customizing the internet-in-a-box (IIAB) platform hosted in a Linux Mint 20.3 Xfce Edition mini PC. Most of the learning content that I have developed, collated, and curated is in HTML5 format that needs some work to display in the IIAB platform. Through research and many trials, I have streamlined the process of doing this in eight easy steps. It may be a little technical for non-Linux users, but once you get the hang of it, it will be very easy from then onward.

Perquisites

Before following through the steps below, you should:

  1. Have a suitable hardware device. This could be Raspberry Pi 4, Intel NUC, other mini PC competitors, ARM mini PCs, or a standard laptop/desktop computer with Intel Wi-Fi adapters.
  2. Install a compatible operating system. These include 32-bit Raspberry Pi OS, Ubuntu 21.04 (Hirsute Hippo; caution: not LTS!), Ubuntu 20.04 LTS (security updates until April 2025, end-of-life ~2030), Debian 11 “Bullseye” (security updates until June 2026?; experimental pre-releases!), or Linux Mint 20 (security updates until April 2025).
  3. Internet-in-a-box installed.
  4. PuTTY SSH client and FileZilla FTP client installed in a separate computer.

8 Easy Steps For Adding HTML5 Modules To Internet-In-A-Box Servers

Step 1: Prepare Your Module

Get your module files ready in your computer (for example: en-wL_iLearnabout). A file named index.html is required in the root directory. If this is not available, duplicate the php file responsible for loading the homepage and rename it to index.html and remove all php code from it.

Step 2: Update Directory Permissions

Ensure the IIAB server is on and you can access it via a browser. Login into the IIAB server using the PuTTY SSH client, using an admin account. Update the directory permission to 777 for full access (read, write, and execute) by everyone as per the commands below:

  • sudo chmod 777 /library/www/html/modules/
  • sudo chmod 777 /library/www/html/home/
  • sudo chmod 777 /library/www/html/js-menu/menu-files/menu-defs/
  • sudo chmod 777 /library/www/html/js-menu/menu-files/images/

Step 3: Upload Module

Login into the IIAB server using the FileZilla FTP client, using an admin account. These are the credentials of the IIAB server. Upload the module into the modules directory.

Step 4: Create A Menu Entry

Create a backup of the menu.json file (in /library/www/html/home/). Before making changes by duplicating and renaming it, create a menu entry of the module in menu.json. To do this, download menu.json into your computer, and enter the menu entry (e.g., en-wL_iLearnabout) following json format. Delete menu.json in the IIAB server, and then re-upload the edited copy.

Step 5: Add Module-Name.json File

Navigate into /library/www/html/js-menu/menu-files/menu-defs/ and upload a json file named as your module (e.g., en-wL_iLearnabout). The module-name.json file follows these rules:

  • “menu_item_name” : // Optional, and can be used to document the file, but is no longer required.
  • “moddir” : “”, // For html modules this is the directory under /module.
  • “start_url” : // This is the optional suffix to base href without leading slash.
  • “zim_name”: “”, // This is the generic zim name without YYYY-MM version suffix.
  • “title”: “”, // Localized title for link.
  • “description”:””, // Expanded text for link.
  • “extra_html”:”.html”, // Optional free form html for submenu or other use.
  • “apk_file”:”” // Optional.
  • Be careful of embedded quotes, brackets, or other characters that will break json.

Tip:
Duplicate another json file, rename it, and update its contents accordingly.

Step 6: Upload Module Image

Navigate into /library/www/html/js-menu/menu-files/images/. Upload the module image named as per the entry in the json file (i.e., en-wL_iLearnabout.png).

Step 7: Load The Module In The Browser

Refresh your IIAB homepage to see the new module.

Tip:
If it does not show, clear the browser cache. Press the keys [Ctrl], [Shift] and [Del].

Step 8: Update Directory Permissions

Change back the directory permissions via SSH to prevent unauthorized server modification as per the commands below:

  • sudo chmod 755 /library/www/html/modules/
  • sudo chmod 755 /library/www/html/home/
  • sudo chmod 755 /library/www/html/js-menu/menu-files/menu-defs/
  • sudo chmod 755 /library/www/html/js-menu/menu-files/images/

Please get in touch with me in case you have issues implementing these steps, or if you need some guidance.

References:

  • https://github.com/iiab/iiab/wiki/IIAB-Menuing
  • https://wiki.laptop.org/go/IIAB/FAQHow_do_I_customize_my_Internet-in-a-Box_home_page.3F
Previous Post

The “Education Bagua”: A Framework For Education [Latest 2022]

Next Post

Take Care of Your Feet With These 60+ Comfy Teacher Shoes [Latest 2022]

Related Posts

AdobeStock scaled
Boston

Judge dismisses parents’ lawsuit over popular reading curricula [Latest 2022]

by Planetic Net
May 31, 2025
What are Learning Styles
Time

nytimes.com [Latest 2022]

by Planetic Net
May 30, 2025
AdobeStock scaled
Charter school

Dystopian Teacher Tales: The La Jollan Educational Missionary Society [Latest 2022]

by Planetic Net
May 30, 2025
Treasure Island San Francisco x
Chough

SF Planned to Improve Treasure Island’s Transit. Trump Took Back the Funds [Latest 2022]

by Planetic Net
May 30, 2025
AI SONGS cjlw facebookJumbo
Time

nytimes.com [Latest 2022]

by Planetic Net
May 29, 2025
AdobeStock scaled
Daily Dispatch

The Daily Digest: May 29, 2025 [Latest 2022]

by Planetic Net
May 29, 2025
blooms taxonomy verbs
Backward design

100+ Bloom’s Taxonomy Verbs For Critical Thinking [Latest 2022]

by Planetic Net
May 29, 2025
AdobeStock scaled
Child development

Instructional Coaching: Job-Embedded professional learning and compensation [Latest 2022]

by Planetic Net
May 29, 2025
Next Post
best teacher shoes

Take Care of Your Feet With These 60+ Comfy Teacher Shoes [Latest 2022]

f e fc a b b dove purp

Why You Need A Learning Management System For Retail Industry [Latest 2022]

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

AdobeStock scaled

Judge dismisses parents’ lawsuit over popular reading curricula [Latest 2022]

May 31, 2025
What are Learning Styles

nytimes.com [Latest 2022]

May 30, 2025
AdobeStock scaled

Dystopian Teacher Tales: The La Jollan Educational Missionary Society [Latest 2022]

May 30, 2025
  • Trending
  • Comments
  • Latest
gettyimages custom e a d a b e d d a a x

Is Your House at Risk of a Wildfire? This Online Tool Could Tell You

0
indicators of authentic mobile learningc

9 Indicators Of Authentic Mobile Learning

0
Books to Read to Comfort After a Tragedy

Books to Read With Kids After a Tragedy

0
GettyImages

Generating Leads With An Authoring Tool Listing In The eLearning Industry Directory

0
AdobeStock scaled

Judge dismisses parents’ lawsuit over popular reading curricula [Latest 2022]

May 31, 2025
What are Learning Styles

nytimes.com [Latest 2022]

May 30, 2025
AdobeStock scaled

Dystopian Teacher Tales: The La Jollan Educational Missionary Society [Latest 2022]

May 30, 2025
Treasure Island San Francisco x

SF Planned to Improve Treasure Island’s Transit. Trump Took Back the Funds [Latest 2022]

May 30, 2025
LOGO WITH TEXT
Planetic.net | Education is a free website that has been designed to help students and a one stop hub for students seeking for information on scholarship, education, school and university tips and updates on different issues relating to education.
About Us

Useful links

  • Technology
  • Tool
  • Computer
  • Science
  • Robotics
  • Malaysia
  • Leadership

Quick Link

  • Home
  • Privacy Policy
  • Disclaimer
  • About Us
  • Contact Us

Other

  • Main site
  • Technology
  • Education
  • Health & Fitness
  • Travel
  • App

© 2022 Planetic.net. All rights reserved.

Newsletter

WANT MORE?

SIGN UP TO RECEIVE THE LATEST UPDATES AND NEWS, PLUS SOME EXCLUSIVE TIPS!