Skip to content

Personal Cloud System for Raspberry Pi 4 with Web Desktop Environment

Notifications You must be signed in to change notification settings

openube/ArOZ-Online-System

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image

中文說明

ArOZ Online System / aCloud

Personal Cloud Platform with Web Desktop Environment for Raspberry Pi 3B+ or 4B. A place to start cloud music and video streaming, data storage, office work / text processing, 3D printing file previews, Cloud programming IDE and more!

Getting Started

These instructions will show you how to deploy a copy of ArOZ Online System on your own Raspberry Pi or other low power, Linux running SBCs for community review and testing purposes. Read more on the Full System Documentation.

Prerequisites

The following packages are required for the system to run on your Linux system.

  • apache2
  • libapache2-mod-xsendfile
  • php libapache2-mod-php php-cli php-common php-mbstring php-gd php xml php-zip
  • php-mysql (Optional)
  • libav-tools / ffmpeg (Optional)
  • samba (Optional)

To install the package above, copy and paste the following lines into your ssh terminal line by line.

#Add the following line if you are using a fresh install of Debian Buster
sudo apt-get install unzip net-tools ntfs-3g -y
sudo apt-get update
sudo apt-get install -y apache2
sudo apt-get install -y php libapache2-mod-php php-cli php-common php-mbstring php-gd php-xml php-zip 
sudo apt-get install libapache2-mod-xsendfile
#The lines below are optional. But it is recommended to install them for future uses
sudo apt-get install php-mysql
#Use libav-tools instead of ffmpeg if you are still using Debian Jessie
sudo apt-get install ffmpeg
sudo apt-get install samba

Prebuilt Image File

To install ArOZ Online System to your Raspberry pi, you can use the prebuilt image file for Raspberry Pi 4B / 3B+. You can find the image in the link below:

WORK IN PROGRESS

Manual Installation

ArOZ Online System is only tested to install on Debian Jessie and Debian Buster. Before installing the ArOZ Online System, you need to firstly setup the package settings.

  1. Edit php.ini to increase the max file upload size setting. The php.ini file can usually be found in /etc/php/{php-version}/apache2/php.ini. Change the two lines below as follows:
upload_max_filesize = 2048M
post_max_size = 2048M
  1. Edit /etc/sudoers, add the following line at the bottom of the file.
www-data ALL=(ALL:ALL) NOPASSWD:ALL
  1. Edit /etc/apache2/apache2.conf, add the following two lines to the bottom of the file
XSendFile on
XSendFilePath /media
  1. Create directory at /media/storage1 and /media/storage2
sudo mkdir /media/storage1 /media/storage2

Next, you need to download and install the ArOZ Online System to your webroot (/var/www/html/). To do so, you can firsly move into the web root with the following command:

cd /var/www/html/

And then download the repo as zip, unzip the "src" folder into /var/www/html and ename "src" to "AOB". You can do this with WinSCP if you are using windows. Or otherwise, you can use git clone command similar to the example below. Make sure you have installed git using sudo apt-get install git before using the git commands.

git clone https://github.com/tobychui/ArOZ-Online-System/
sudo mv ArOZ-Online-System/src ./AOB
sudo rm -rf ./ArOZ-Online-System

sudo mkdir -p "/etc/AOB"
sudo chmod 777 -R "/etc/AOB"
sudo chmod 777 -R ./AOB
sudo chown -R www-data ./

Open your default browser and visit the http:https://{Raspberry_Pi_IP_Address}/AOB/ and follow the on scren guide for setting up a new user.

Preview / Screenshots

Image Image Image Image Image Image Image Image Click here for more preview screenshots

Versioning

Different major change in versioning will lead to an upgrade to the codename. Here are a list of versions currently ArOZ Online System provides.

Version Number Code Name Major Change Type (Barebone / Pre-release / Full* )
Before Beta 1.1.4 Aloplex N/A Full
Before Beta 1.2.8 Sempervivum Tectorum N/A Full
Beta 12-06-2019 aCloud Init Release Pre-release

*Full versions are only disclose to internal developers or testers for review purpose only.

Author

Developer

(Blame them if you encounter any bugs within the system)

  • tobychui - Project initiator / System Developer / Core Modules designer and programmer
  • yeungalan - Module maintainer / Network Setting Module developer

Beta Tester

(Find them if you want to know how to use a specific function in the system)

License

Build-in Multimedia Modules (Audio / Photo / Video) - MIT License

Desktop Module (Desktop) and its utilities - All Right Reserved, Free to use ONLY on Raspberry Pi and other ARMv6, v7 or ARM64 based SBC for non-commercial purposes. No derivative should be made on this module. However we welcome any pull request for improvements :)

All core scripts and binary files under root (./) and System Script Folder (SystemAOB/*) - tobychui feat. ArOZ Online Project, All Right Reserved.

All other files or modules that is not covered by the license above - See the module's license for more information.

THIS SOFTWARE IS ONLY FOR PERSONAL AND NON COMMERCIAL USE ONLY. RE-SELL ,DISTRIBUTE OR CLAIM THIS AS YOUR OWN WORK IS PROHIBITED

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Please seek for author approval if you want to deploy this system for purposes other than personal (e.g. home NAS, private media server, automation control in your room etc) and educational (e.g. school projects, course demos etc)

Acknowledgments

Special thanks for the following projects which bring insights to this project.

TocasUI by Yami Odymel - https://tocas-ui.com/

Threejs by Mrdoob - https://threejs.org/

Buy me a coffee

Actually I don't drink coffee. Send me something that would make me feel interested if you really want to send me something :)

About

Personal Cloud System for Raspberry Pi 4 with Web Desktop Environment

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 91.3%
  • PHP 7.0%
  • C 1.3%
  • CSS 0.4%
  • HTML 0.0%
  • Go 0.0%