News:

Support: - support@OrangePiZero.com

Main Menu

Recent posts

#1
Open Forum / Re: AWS Migration
Last post by John Spikowski - May 06, 2025, 02:03 PM
I was able to get the new OneBasic AWS hosting server running with Web/Virtualmin. The Virtualmin version of Webmin is open source and offers an enhanced version for $7.50 USD / month. Virtualmin will read Plesk site backups and migrate the sites. It feels good to be running on the latest version of Ubuntu at a 1/4 the costs of what is currently running.
#2
Open Forum / Re: AWS Migration
Last post by John Spikowski - May 04, 2025, 01:34 PM
I contacted Plesk support about upgrading Ubuntu to 24.04 from 22.0x to see if that version was supported. They said the upgrade isn't automatic and will need an administrator with good Linux skills. They offered to do the upgrade for $125 + tax.

In a year or so Plesk has doubled in price. The CTO left the company recently as well.

My migration to a new AWS instance running Ubuntu 24.04 and Webmin will reduce my monthly hosting cost by 70% and be on the current version of Ubuntu.

#3
Open Forum / AWS Migration
Last post by John Spikowski - Apr 29, 2025, 09:48 PM
The Ubuntu server environment the 🍊 Pi Zero offers will become my replacement for Plesk, which is now $30 / month. All the virtual URL configuration files should transfer seamlessly.

I will test the environment on the 🍊  Pi Zero before moving it to a new smaller AWS EC2 instance.


#4
DIY / Orange Pi Zero DIY Kit
Last post by John Spikowski - Apr 24, 2025, 11:55 AM
For those that would like to assemble the Orange Pi Zero hardware and flash their own micro SD card, I'm offering a ready to run image file to flash to your choice of micro SD cards.

Hardware

OrangePi Zero 2W 4 GB

iUniker Case, USB hub and power cable

Micro USB to USB C adaptors

Sandisk 128 GB Extreame Pro SD Card

$69.70 + taxes & shipping


Software

The software provided is a ready to run flashable image file with the following packages installed. This is available from me for $75.

  •   Ubuntu 24.04 64 bit Linux server
  •   Webmin system administrative tools
  •   Apache web server
  •   MariaDB (MySQL)
  •   Postgres SQL
  •   AWS S3 buckets mounted as native Linux filesystems

If you would like to build your own image from scratch, here is the user manual that explains the process. (OS build)

🍊 Pi Zero User Guide
#5
ScriptBasic / ScriptBasic Application Web Se...
Last post by John Spikowski - Apr 19, 2025, 05:01 PM
The ScriptBasic Application Web Server (sbhttpd) is written in C, multi-threaded and embeds ScriptBasic as its scripting engine. It is typically used as a proxy server with Apache / Nginx as its front end. The following echo script shows the CGI information available to ScriptBasic with requests.

echo on AWS

Code (ScriptBasic) Select
' CGI Echo

GLOBAL CONST nl = "\n"
CONST NumberOfCookies = 3

INCLUDE cgi.bas

' sessionid = mt::NewSessionId()
OPTION cgi$Method cgi::Get OR cgi::Post

cgi::Header 200,"text/html"

FOR i = 1 TO NumberOfCookies
  ' cookie(i) is i, no domain is defined, path is /, expires after 10 seconds, not secure
  cgi::SetCookie "cookie" & i, i, undef, "/", gmtime() + 10, false
NEXT

cgi::FinishHeader

'-------------------------------------------------------
PRINT """
<HTML>
<HEAD>
<title>CGI Echo</title>
</HEAD>
<BODY><font face="VERDANA" size="2">
<H1>View CGI Parameters</H1>
This page shows the CGI parameters the way it was uploaded.
<!-- here is the result of the previous HTTP request -->
<FONT SIZE="3">
<PRE>
CGI system variables
--------------------

"""
' PRINT "Session ID      = ", sessionid, nl
PRINT "ServerSoftware  = ", cgi::ServerSoftware(), nl
PRINT "ServerName      = ", cgi::ServerName(), nl
PRINT "GatewayInterface= ", cgi::GatewayInterface(),nl
PRINT "ServerProtocol  = ", cgi::ServerProtocol(), nl
PRINT "ServerPort      = ", cgi::ServerPort(), nl
PRINT "RequestMethod   = ", cgi::RequestMethod(), nl
PRINT "PathInfo        = ", cgi::PathInfo(), nl
PRINT "PathTranslated  = ", cgi::PathTranslated(), nl
PRINT "ScriptName      = ", cgi::ScriptName(), nl
PRINT "QueryString     = ", cgi::QueryString(), nl
PRINT "RemoteHost      = ", cgi::RemoteHost(), nl
PRINT "RemoteAddress   = ", cgi::RemoteAddress(), nl
PRINT "AuthType        = ", cgi::AuthType(), nl
PRINT "RemoteUser      = ", cgi::RemoteUser(), nl
PRINT "RemoteIdent     = ", cgi::RemoteIdent(), nl
PRINT "ContentType     = ", cgi::ContentType(), nl
PRINT "ContentLength   = ", cgi::ContentLength(), nl
PRINT "UserAgent       = ", cgi::UserAgent(), nl
PRINT "Cookie          = ", cgi::RawCookie(), nl

PRINT "Referer         = ", cgi::Referer(), nl
PRINT "Password        = ", Environ("HTTP_PASSWORD"), nl
PRINT "Full auth string= ", Environ("HTTP_AUTHORIZATION"), nl
PRINT "\nCookies:\n"
FOR i = 1 TO NumberOfCookies
  PRINT "cookie" & i, " ", cgi::Cookie("cookie" & i), "\n"
NEXT

IF cgi::RequestMethod() = "GET" THEN
  PRINT "GET text field using GetParam(\"TEXT-GET\") is ", cgi::GetParam("TEXT-GET"), nl
END IF

IF cgi::RequestMethod() = "POST" THEN
  PRINT "POST text field using PostParam(\"TEXT-POST\") is ", cgi::PostParam("TEXT-POST"), nl
END IF

PRINT """
</PRE>
<TABLE>
  <TR>
    <TD BORDER=0 BGCOLOR="EEEEEE">
      <PRE>
      A simple form to POST parameters:<BR>
      <FORM METHOD="POST" ACTION="/home/echo">
        <INPUT TYPE="TEXT" VALUE="Default POST Field Text" NAME="TEXT-POST">
        <INPUT TYPE="SUBMIT" NAME="SUBMIT-BUTTON" VALUE=" POST ">
      </FORM>
      </PRE>
    </TD>
    <TD BORDER=1 width="20">&nbsp;</TD>
    <TD BORDER=0 BGCOLOR="EEEEEE">
    <PRE>
    A simple form to GET parameters:<BR>
    <FORM METHOD="GET" ACTION="/home/echo">
      <INPUT TYPE="TEXT" VALUE="Default GET Field Text" NAME="TEXT-GET">
      <INPUT TYPE="SUBMIT" NAME="SUBMIT-BUTTON" VALUE=" GET ">
    </FORM>
 
    </TD>
  </TR>
</TABLE>
</BODY>
</HTML>
"""
END

ScriptBasic Web Server Features
  •   Written in C with a footprint of < 900 KB
  •   Multi-threaded memory model that can share variables between threads
  •   Memory based session management
  •   ScriptBasic as the scripting language with all its extensions supported.
  •   Unlimited scalability
  •   Bootstrap is used as the UI framework with no need for dependencies
  •   JSON to ScriptBasic multi-level associative arrays greatly simplifies data handling.
  •   SQLite memory DB reduces data formatting of raw data from external sources

I have created a Bootstrap / ScriptBasic example  I use to show QBO clients that require custom interfaces and apps. This is running on my AWS EC2 hosting instance. Bootstrap is mobile centric so give a try on your laptop and phone.

Bootstrap Framework Example


#6
Open Forum / OrangePi RV2
Last post by John Spikowski - Apr 13, 2025, 09:46 PM
Ubuntu developer images now available for OrangePi RV2: a low-cost RISC-V SBC

Canonical, the publisher of Ubuntu, is excited to announce the availability of Ubuntu developer images for the new OrangePi RV2 RISC-V single board computer (SBC).

This platform is powered by the KY-X1 octa-core SoC (system-on-chip), supporting RVA22 and vector extensions. The SoC includes a 2 TOPS AI accelerator, meaning that it can perform intensive computational operations, making it an appealing platform for developers focused on AI and machine learning at the edge. By integrating RISC-V technology, the OrangePi RV2 expands the possibilities for creative projects in robotics, IoT, education, and beyond.

$67 on Amazon

Up to 128 GB of memory with expansion board.

This is going to be a big boost at lowering the cost of robotics. Everything starts at zero. 🤔
#7
Open Forum / Orange Pi Zero Development Ser...
Last post by John Spikowski - Apr 06, 2025, 03:29 PM
This is the Orange Pi Zero Developmnt Server. It comes with a four port USB hub. The aluminum case does a great job of acting as a heatsink. My average CPU temperature is 43 C.

Software Provided

  •   Ubuntu 24.04 64 bit Linux server
  •   Webmin system administrative tools
  •   Apache web server
  •   MariaDB (MySQL)
  •   Postgres SQL
  •   SMF Forum
  •   AWS S3 buckets mounted as native Linux filesystems
  •   ScriptBasic web server (sbhttpd)
  •   Bootstrap web UI framework

Hardware

  • CPU: Allwinner H618 quad-core Cortex-A53 processor, up to 1.5GHz.
  • GPU: Mali G31 MP2.
  • Memory (RAM):4GB LPDDR4.
  • Storage: 16MB SPI Flash, microSD card slot.
  • Networking: Wi-Fi 5 (802.11 a/b/g/n/ac), Bluetooth 5.0.
  • Video Output: Mini HDMI 2.0a up to 4K@60fps.
  • USB: Type-C USB 2.0 x 2.
  • Expansion: 24-pin expansion interface, 40-pin expansion port.
  • Power: Type-C 5V3A.
  • Dimensions: 30mm x 65mm x 13mm.
  • Weight: 38g

Networking

  •   5G / 2.4 WIFI
  •   Ethernet with USB adapter
  •   Samba Windows network support

Full Desktop

  •   HDMI Montitor
  •   USB Keyboard
  •   USB to Ethernet
  •   USB 1TB Drive
  •   USB to AC Adapter
  •   USB Front Hub Port Available
#8
Open Forum / Welcome
Last post by admin - Apr 04, 2025, 11:54 AM
This forum is for those using or interested in the Orange Pi Zero portable Linux development server.

Contact support@OrangePiZero.com for pricing and configuration options.