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
- 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
- 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
- Extract the downloaded zip file:
$ unzip rosariosis.zip
Step 2: Create a database for RosarioSIS
- Login to MySQL as root user:
$ mysql -u root -p
- Create a new database for RosarioSIS:
mysql> CREATE DATABASE rosariosis_db;
- 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
- Copy the extracted RosarioSIS directory
rosariosisto/var/www/html/directory:
$ sudo mv rosariosis /var/www/html/
- Change ownership of rosariosis directory to the Apache web server user:
$ sudo chown -R www-data:www-data /var/www/html/rosariosis
- 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>
- Enable the new virtual host:
$ sudo a2ensite rosariosis.conf
- Restart Apache web server:
$ sudo systemctl restart apache2
Step 4: Install RosarioSIS
Open your web browser and navigate to
http://your-domain.com/. Click on the "Install RosarioSIS" button to start the installation process.Follow the on-screen instructions and enter the database details you created in step 2.
Click on the "Install" button to finish the installation process.
Once the installation is complete, you can login to RosarioSIS from the login page using the default credentials:
username: adminandpassword: rosalogin.
Congratulations! You have successfully installed RosarioSIS on your MXLinux system.