RosarioSIS is an open-source Student Information System for school management, which offers features like student data management, attendance tracking, gradebook, and scheduling. In this tutorial, we will learn how to install RosarioSIS on Fedora CoreOS Latest.
Before installing RosarioSIS, make sure you have the following prerequisites:
The first step is to install Apache and MariaDB on Fedora CoreOS. Follow the below commands in order to install Apache and MariaDB on your Fedora CoreOS system.
sudo rpm-ostree install httpd mariadb-server
Once you run the above command, the installation will start for Apache and MariaDB, please wait until the installation is complete.
In this step, we will install PHP and the required extensions for RosarioSIS to function. Run the following command to install PHP and its extensions.
sudo rpm-ostree install php php-common php-gd php-mbstring php-mysqlnd php-pdo php-xml php-xmlrpc
The above command will install PHP and the extensions required for RosarioSIS to work.
In this step, we will download the latest version of RosarioSIS from the official website. The latest version can be downloaded from the following link: https://www.rosariosis.org/download/.
cd /var/www/html/
sudo wget https://www.rosariosis.org/inc/download.php?f=rosariosis-latest.zip
Once the download is complete, run the following command to extract RosarioSIS.
sudo unzip rosariosis-latest.zip
Set the appropriate permissions for the extracted files and directories.
sudo chmod -R 755 /var/www/html/rosariosis
sudo chown -R apache:apache /var/www/html/rosariosis
Create a new database and database user for RosarioSIS by running the following commands.
mysql -u root -p
After running this command, you will see a prompt to enter your MySQL root password. Once you enter the password, you will be logged in to the MySQL shell.
MariaDB [(none)]> CREATE DATABASE rosariosisdb;
MariaDB [(none)]> GRANT ALL ON rosariosisdb.* TO 'rosariosisuser'@'localhost' IDENTIFIED BY 'supersecret';
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> EXIT;
In the above commands, we created a database named rosariosisdb and a database user named rosariosisuser with the password supersecret. Ensure that you choose a secure password for your database user.
Create a virtual host file for RosarioSIS under /etc/httpd/conf.d/.
sudo nano /etc/httpd/conf.d/rosariosis.conf
Add the following contents to the file.
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/rosariosis
ServerName your-domain.com
<Directory /var/www/html/rosariosis>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog /var/log/httpd/rosariosis_error.log
CustomLog /var/log/httpd/rosariosis_access.log combined
</VirtualHost>
Save and exit.
Enable and start the Apache and MariaDB services.
sudo systemctl enable --now httpd mariadb
You can now complete the installation process by opening your browser and navigating to your server's IP address or domain name.
You will be taken to the RosarioSIS setup page. Follow the onscreen instructions to complete the setup.
In the setup, you will be prompted to enter the database details we created in Step 6.
Congratulations, you have successfully installed RosarioSIS on Fedora CoreOS Latest.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!