RosarioSIS is a free and open-source Student Information System. It can manage student records, attendance, grades, and course scheduling. In this tutorial, we will explain how to install RosarioSIS on Elementary OS Latest.
Before proceeding with this tutorial, make sure you have the following prerequisites:
The first step is always to update the system packages. To do this, open the terminal and run the following command:
sudo apt update && sudo apt upgrade
This command will update the system packages to ensure that you have the latest security patches.
RosarioSIS requires a web server and PHP. We'll install Apache and PHP with the following command:
sudo apt install apache2 php php-mysql php-curl php-gd php-intl php-json php-mbstring php-xml php-zip
This command will install Apache and all the required PHP extensions.
RosarioSIS requires a database to store student records. We'll use MariaDB as our database server. To install MariaDB, run the following command:
sudo apt install mariadb-server
This command will install the MariaDB database server.
After installing MariaDB, log in to the database server using the following command:
sudo mysql -u root -p
You will be asked for the password you set during installation.
Once you're logged in, create a database for RosarioSIS with the following command:
CREATE DATABASE rosariosis;
Next, create a user and grant all privileges to the database with the following commands:
CREATE USER 'rosariosis'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON rosariosis.* TO 'rosariosis'@'localhost';
In the above commands, replace password
with a strong password of your choice.
Finally, flush the privileges and exit from the MySQL shell with the following commands:
FLUSH PRIVILEGES;
EXIT;
Now that we have all the prerequisites installed, we can download and install RosarioSIS.
Download the latest version of RosarioSIS from the official website with the following command:
wget https://www.rosariosis.org/downloads/rosariosis-latest.zip
Unzip the downloaded file to the Apache web root directory with the following command:
sudo unzip rosariosis-latest.zip -d /var/www/html/
Change the ownership of the directory to the Apache user with the following command:
sudo chown -R www-data:www-data /var/www/html/rosariosis
Now that RosarioSIS is installed, we need to configure it to use the database we created earlier.
Open the config.php
file located in the rosariosis
directory with the following command:
sudo nano /var/www/html/rosariosis/include/config.php
In the file, find the following lines:
$sisdbhost = "localhost";
$sisdbport = 3306;
$sisdbuser = "root";
$sisdbpass = "";
$sisdbname = "rosariosis";
Replace the values with the following:
$sisdbhost = "localhost";
$sisdbport = 3306;
$sisdbuser = "rosariosis";
$sisdbpass = "password";
$sisdbname = "rosariosis";
In the above values, replace password
with the password you set for the rosariosis
user.
Save and exit the file.
Finally, we can access RosarioSIS from a web browser.
Open a web browser and navigate to http://localhost/rosariosis/
. If you're accessing the server remotely, replace localhost
with the server's IP address.
You should see the RosarioSIS login page. Log in with the default username and password:
admin
rosario
That's it! You've successfully installed RosarioSIS on your Elementary OS Latest system.
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!