User Tools

Site Tools


deploying_sis_on_intel_content_access_point_cmal100

This is an old revision of the document!


Deploying the Student Information System on Intel Content Access Point (CMAL100)

STOP! Doing any of the below incorrectly could lock you out of your device and make it useless without advanced technical support. It may even void your warranty depending on your vendor. Proceed at your own choice and risk and we take absolutely no responsibility for your actions.

This page documents how to install the SIS onto the Intel Content Access Point aka CMAL100 devices. The primary reason for installing the SIS on those mini school servers is to enable the school with poor to no Internet connectivity to have access to a Student Information System to improve their data management.

OpenSIS Installation

The Pacific Student Information System (FedSIS, MISIS) is based on opensis. So here we document how to install that.

First you need to ssh into the CMAL100 device. You either need to be on Linux, use Putty on Windows and even install Linux in Windows.

user@yourmachine:~$ ssh cap@ip.address.of.cmal100
The above ip.address.of.cmal100 will depend on your network. Are you connecting through the CMAL100 wireless interface? Are you connecting from the “outside” on your LAN? The easiest is to connect through the WiFi network of the CMAL. Then ip.address.of.cmal100 will likely be 192.168.1.1

Onced logged in make sure are in the use cap's home directory.

cap@CMAL-aaed:~$ cd /home/cap/

Download the latest OpenSIS into a zip file called opensis-[date and time of download].zip

cap@CMAL-aaed:~$ wget -c https://codeload.github.com/OS4ED/openSIS-Responsive-Design/zip/master -O opensis-$(date +%
F_%R).zip

Install unzip on the device and decompress the file.

cap@CMAL-aaed:~$ sudo apt-get install unzip
cap@CMAL-aaed:~$ unzip opensis-2020-04-22_05\:29.zip

Cope the decompressed files to the web servers directory and change the ownership.

cap@CMAL-aaed:~$ sudo cp -rf /home/cap/openSIS-Responsive-Design-master /var/www/misis.pss.edu.mh
cap@CMAL-aaed:~$ sudo chown www-data:www-data -R /var/www/misis.pss.edu.mh
Above we copied to misis.pss.edu.mh as example for RMI deployment. In FSM you could call it fedsis.doe.fm

The is already likely an Nginx web server running on the device for some other web services. You could install the SIS on that same server or you could leave that Nginx mostly untouched and install Apache2 with which OpenSIS was more heavily tested. This is the approach shown here but an experience sysadmin could opt to use Nginx.

First, get Nginx to listen on port 81 instead of port 80. That way to access what was normally running on the device at http://my.content/ you would access it at http://my.content:81/. You do this by opening the file

cap@CMAL-aaed:~$ sudo nano /etc/nginx/sites-enabled/default

And as shown below find the number 80 and replace it with 81 (2 places). Do *NOT* change anything else or things will break. to save press Control-X (i.e. the Control key and the x key at the same time) following by Y and Enter to say yes and close the text editor.

You can then restart the Nginx web server.

cap@CMAL-aaed:~$ sudo service nginx restart

Install Apache2 and all other required software to run OpenSIS.

cap@CMAL-aaed:~$ sudo aptitude install apache2 libapache2-mod-php7.0 mysql-server php7.0-common php7.0-cli php7.0-curl php7.0-fpm php7.0-gd php7.0-intl php7.0-json php7.0-mbstring php7.0-mysql php7.0-opcache php7.0-readline php7.0-xml php7.0-zip

Now configure a virtual host to run the SIS web application. Open the file below (called differently based on country or school).

sudo vim /etc/apache2/sites-available/misis.pss.edu.mh.conf

And copy the following text in it.

<VirtualHost *:80>
    ServerAdmin webmaster@nuzusys.com
    ServerName my.content
    ServerAlias misis-local.pss.edu.mh
    DocumentRoot /var/www/misis.pss.edu.mh
    LogLevel info
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
deploying_sis_on_intel_content_access_point_cmal100.1587610625.txt.gz · Last modified: 2021/02/02 02:10 (external edit)