deploying_sis_on_intel_content_access_point_cmal100
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
deploying_sis_on_intel_content_access_point_cmal100 [2020/04/23 03:39] – ghachey | deploying_sis_on_intel_content_access_point_cmal100 [2021/02/02 02:10] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 9: | Line 9: | ||
{{ : | {{ : | ||
- | ===== Flashing the CMAL100 Device ===== | ||
- | <note warning> | + | ===== Accessing |
- | You only need to do this if you have been mistakenly given an non-rooted locked version of this device (e.g. for prisons). If you have a locked version [[flashing-cmal100|flash your CMAL100 device first]]. | + | Plug the network cable in the first LAN port in the CMAL100 and in your main switch as shown below. It should receive |
+ | {{ : | ||
+ | |||
+ | Point your browser to [[http:// | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | You should be directed to the following. You can know the external (i.e. WAN) IP address from that status screen below. Mine was '' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | ===== Accessing the CMAL100 Linux Operating System ===== | ||
+ | |||
+ | Before proceeding to the next section you first need to be able to SSH into a Linux machine. You either need to be on Linux, use Putty on Windows and even [[linux-in-windows|install Linux in Windows]]. Make sure can do that before you proceed to the following section. | ||
===== OpenSIS Installation ===== | ===== OpenSIS Installation ===== | ||
Line 20: | Line 33: | ||
The Pacific Student Information System (FedSIS, MISIS) is based on opensis. So here we document how to install that. | 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 [[linux-in-windows|install Linux in Windows]]. | + | First, you need to ssh into the CMAL100 device |
< | < | ||
- | user@yourmachine: | + | user@yourmachine: |
</ | </ | ||
Line 37: | Line 50: | ||
< | < | ||
- | cap@CMAL-aaed: | + | cap@CMAL-aaed: |
- | F_%R).zip | + | </ |
+ | |||
+ | Before installing anything upgrade the system. | ||
+ | |||
+ | < | ||
+ | cap@CMAL-aaed:~$ sudo apt-get update | ||
+ | cap@CMAL-aaed: | ||
</ | </ | ||
Line 44: | Line 63: | ||
< | < | ||
- | cap@CMAL-aaed: | + | cap@CMAL-aaed: |
- | cap@CMAL-aaed: | + | cap@CMAL-aaed: |
</ | </ | ||
Line 59: | Line 78: | ||
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. | 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 '' | + | First, get Nginx to listen on port 88 instead of port 80. That way to access what was normally running on the device at '' |
+ | |||
+ | This could be | ||
+ | |||
+ | < | ||
+ | cap@CMAL-aaed: | ||
+ | </ | ||
+ | |||
+ | Or it could be | ||
< | < | ||
- | cap@CMAL-aaed: | + | cap@CMAL-aaed: |
</ | </ | ||
- | And as shown below find the number | + | The one with port 80 replace it with 88 (2 places). Do *NOT* change anything else or things will break. to save press '' |
You can then restart the Nginx web server. | You can then restart the Nginx web server. | ||
Line 107: | Line 134: | ||
Now install the database server MySQL. You will need to enter the password. Use the same as the device cap password so you don't forget. | Now install the database server MySQL. You will need to enter the password. Use the same as the device cap password so you don't forget. | ||
+ | |||
+ | <note important> | ||
< | < | ||
cap@CMAL-aaed: | cap@CMAL-aaed: | ||
+ | </ | ||
+ | |||
+ | Make sure the mysql server is enabled and started. | ||
+ | |||
+ | < | ||
+ | sudo systemctl enable mysql.service | ||
+ | sudo systemctl start mysql.service | ||
</ | </ | ||
Line 118: | Line 154: | ||
</ | </ | ||
- | With all the above completed you should be able to start installing the SIS. Back on the computer where you access the WiFI of the CMAL100 device in your browser point it to '' | + | Optionally check the above setting was changed. |
+ | |||
+ | < | ||
+ | mysql -u root -p -e " | ||
+ | </ | ||
+ | |||
+ | With all the above completed you should be able to start installing the SIS. Back on the computer where you access the WiFI of the CMAL100 device in your browser point it to '' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Make sure you have all dependencies met. Click '' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Enter the MySQL Server details (i.e. the password put previously). Click '' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Enter the database name. Click '' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Enter the school details. Click '' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Enter the first admin user as follows. | ||
+ | {{ : | ||
+ | You should see the following. Click on '' | ||
+ | {{ : | ||
+ | Login with your admin user. | ||
+ | {{ : | ||
deploying_sis_on_intel_content_access_point_cmal100.1587613182.txt.gz · Last modified: 2021/02/02 02:10 (external edit)