How to install RosarioSIS on MXLinux

RosarioSIS is a free and open-source Student Information System that helps educational institutions manage student records and other related functions. In this tutorial, we will guide you on how to install RosarioSIS on MXLinux latest version.

Prerequisites

  1. A Virtual Private Server (VPS) or a local computer running MXLinux and Apache web server, PHP 5.6 or later and MySQL (or MariaDB) server installed and configured.

Step 1: Download RosarioSIS

  1. Open a terminal on your MXLinux system and type the following command to download the latest version of RosarioSIS:
$ curl -LJO https://github.com/francoisjacquet/rosariosis/releases/latest/download/rosariosis.zip
  1. Extract the downloaded zip file:
$ unzip rosariosis.zip

Step 2: Create a database for RosarioSIS

  1. Login to MySQL as root user:
$ mysql -u root -p
  1. Create a new database for RosarioSIS:
mysql> CREATE DATABASE rosariosis_db;
  1. Create a new user and grant all privileges on the database:
mysql> CREATE USER 'rosariosis_user'@'localhost' IDENTIFIED BY 'your_password_here';
mysql> GRANT ALL PRIVILEGES ON rosariosis_db.* TO 'rosariosis_user'@'localhost';
mysql> FLUSH PRIVILEGES;
mysql> exit;

Step 3: Configure Apache web server

  1. Copy the extracted RosarioSIS directory rosariosis to /var/www/html/ directory:
$ sudo mv rosariosis /var/www/html/
  1. Change ownership of rosariosis directory to the Apache web server user:
$ sudo chown -R www-data:www-data /var/www/html/rosariosis
  1. Create a new virtual host for RosarioSIS:
$ sudo nano /etc/apache2/sites-available/rosariosis.conf

Paste the following configuration:

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html/rosariosis
        ServerName your-domain.com
        <Directory /var/www/html/rosariosis>
                Options FollowSymLinks
                AllowOverride All
                Require all granted
        </Directory>
        ErrorLog ${APACHE_LOG_DIR}/rosariosis_error.log
        CustomLog ${APACHE_LOG_DIR}/rosariosis_access.log combined
</VirtualHost>
  1. Enable the new virtual host:
$ sudo a2ensite rosariosis.conf
  1. Restart Apache web server:
$ sudo systemctl restart apache2

Step 4: Install RosarioSIS

  1. Open your web browser and navigate to http://your-domain.com/. Click on the "Install RosarioSIS" button to start the installation process.

  2. Follow the on-screen instructions and enter the database details you created in step 2.

  3. Click on the "Install" button to finish the installation process.

  4. Once the installation is complete, you can login to RosarioSIS from the login page using the default credentials: username: admin and password: rosalogin.

Congratulations! You have successfully installed RosarioSIS on your MXLinux 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!