0584.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install openSIS Student Information System on Debian/Ubuntu Linux</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="OpenSIS,Student Information System,School Software,Linux,Debian,Ubuntu,Install Guide,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install openSIS Student Information System on Debian/Ubuntu Linux">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="06/21/2022 11:48:23 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Install openSIS Student Information System on Debian/Ubuntu Linux</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is openSIS (Open Student Information System)</h2>
  26. <blockquote><em>openSIS is a commercial grade, secure, scalable &amp; intuitive Student Information System / School Management Software that just works. It is published by OS4ED, a full life cycle software development company headquartered in the USA. -<a href="https://www.opensis.com/" target="_blank">https://www.opensis.com/</a></em></blockquote>
  27. <h2>Installation</h2>
  28. <ol>
  29. <li>Log into the Linux based device</li>
  30. <li>Run the following commands in the terminal
  31. <div class="codeBlock"># update software repositories<br />
  32. sudo apt update<br />
  33. # install available software updates<br />
  34. sudo apt upgrade -y<br />
  35. # install some dependencies<br />
  36. sudo apt install git apt-transport-https ca-certificates curl -y<br />
  37. # install Apache HTTPD and MySQL<br />
  38. sudo apt install apache2 mariadb-server mariadb-client -y<br />
  39. # install PHP components<br />
  40. sudo apt install php7.3 libapache2-mod-php7.3 php7.3-common php7.3-mysql php7.3-ldap php7.3-json php7.3-curl php7.3-zip php7.3-xml php7.3-mbstring -y<br />
  41. # configure the MySQL database<br />
  42. sudo su<br />
  43. mysql_secure_installation</div>
  44. </li>
  45. <li>Press Enter to login as root</li>
  46. <li>Type Y and press Enter to set a root password, type the password twice to confirm</li>
  47. <li>Type Y and press Enter to remove anonymous users</li>
  48. <li>Type Y and press Enter to disallow root login remotely</li>
  49. <li>Type Y and press Enter to remove the test database</li>
  50. <li>Type Y and press Enter to reload privilege tables</li>
  51. <li>Run the following command to login into MySQL:
  52. <div class="codeBlock">mysql -u root -p</div>
  53. </li>
  54. <li>Authenticate with the root password set earlier</li>
  55. <li>Run the following commands to create the openSIS database and database user
  56. <div class="codeBlock">CREATE DATABASE openSIS DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;<br />
  57. GRANT ALL ON openSIS.* TO &#39;openSIS_rw&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;Op3nS!S&#39;;<br />
  58. FLUSH PRIVILEGES;<br />
  59. EXIT;<br />
  60. exit</div>
  61. </li>
  62. <li>Continue with the following commands to download and extract openSIS in the Apache webroot
  63. <div class="codeBlock"># clone from git<br />
  64. sudo git clone https://github.com/OS4ED/openSIS-Classic.git /var/www/html/openSIS<br />
  65. # cd into the new openSIS directory<br />
  66. cd /var/www/html/openSIS<br />
  67. # checkout the latest version<br />
  68. sudo git checkout &quot;$(git tag --sort=v:refname | tail -n1)&quot;<br />
  69. # set permissions on the openSIS directory<br />
  70. sudo chown -R www-data:www-data /var/www/html/openSIS<br />
  71. # edit mysql strict mode<br />
  72. sudo nano /etc/mysql/conf.d/strict_mode.cnf</div>
  73. </li>
  74. <li>Paste the following into strict_mode.cnf
  75. <p>[mysqld]<br />
  76. sql_mode=IGNORE_SPACE,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION</p>
  77. </li>
  78. <li>Press CTRL+O, Enter, CTRL+X to write the changes</li>
  79. <li>Continue with the following commands in the terminal
  80. <div class="codeBlock"># restart mariadb service<br />
  81. sudo systemctl restart mariadb</div>
  82. </li>
  83. <li>Open a web browser and navigate to http://DNSorIP/openSIS</li>
  84. <li>Click the New Installation option</li>
  85. <li>Click the Continue button</li>
  86. <li>Complete the MySQL connection form as follows
  87. <p>Server: localhost<br />
  88. Port: 3306<br />
  89. MySQL Username: openSIS_rw<br />
  90. MySQL Password: Op3nS!S</p>
  91. </li>
  92. <li>Click the Save &amp; Next button</li>
  93. <li>Enter the database name openSIS &gt; Click the Save &amp; Next button</li>
  94. <li>Wait while the database schema is built</li>
  95. <li>Complete the School Information form &gt; Click the Save &amp; Next button</li>
  96. <li>Complete the Site Admin Account form &gt; Click the Save &amp; Next button</li>
  97. <li>Click the Proceed to openSIS Login button</li>
  98. <li>Login using the admin account credentials created earlier</li>
  99. <li>Welcome to openSIS</li>
  100. </ol>
  101. <p>More Info: <a href="https://github.com/OS4ED/openSIS-Classic/wiki/openSIS-Installation-Instructions" target="_blank">https://github.com/OS4ED/openSIS-Classic/wiki/openSIS-Installation-Instructions</a></p>
  102. </div>
  103. </div>
  104. </body>
  105. </html>