How to Install RosarioSIS on Arch Linux

RosarioSIS is an open-source Student Information System that can be used by schools and education institutions to manage student, teacher, and administrative data. Installing RosarioSIS on Arch Linux is a straightforward process. This guide will walk you through the installation process.

Prerequisites

  1. You must have root access or have to use a sudo user.
  2. Arch Linux must be installed on the system.

Step 1: Install Required Dependencies

Before installing RosarioSIS, you need to install some packages that are required to run it. Open your terminal and run the following command to install Apache, MariaDB, and PHP:

$ sudo pacman -S apache mariadb php php-mysql php-gd php-pear php-curl php-xml php-intl zip unzip curl

Step 2: Create RosarioSIS Database and User

Next, create a new MariaDB database for RosarioSIS, a new user and grant all privileges to the new user on this database. Run the following commands:

$ sudo mysql -u root -p

After entering the MariaDB root password, run the following SQL commands:

CREATE DATABASE rosariosisdb;
CREATE USER 'rosariosisuser'@'localhost' IDENTIFIED BY 'password-here';
GRANT ALL PRIVILEGES ON rosariosisdb.* TO 'rosariosisuser'@'localhost';
FLUSH PRIVILEGES;
EXIT;

rosariosisdb: The name of the new database. rosariosisuser: The name of the new user. password-here: The password of the new user.

Step 3: Download RosarioSIS

Now download the latest version of RosarioSIS from the official website, extract downloaded file into /srv/http/. Open your terminal and run the following command:

$ sudo wget https://www.rosariosis.org/download/latest -P /srv/http/
$ sudo tar -xvf /srv/http/latest -C /srv/http/

Step 4: Configure Apache Web Server and PHP

Next, configure the Apache web server and PHP for RosarioSIS by creating a new virtual host configuration file. Create a new file /etc/httpd/conf/extra/rosariosis.conf and add the following lines:

<VirtualHost *:80>
    ServerAdmin you@your-domain.com
    DocumentRoot "/srv/http/rosariosis/"
    ServerName your-domain.com    
    ErrorLog "/var/log/httpd/rosariosis-error_log"
    CustomLog "/var/log/httpd/rosariosis-access_log" common
    <Directory "/srv/http/rosariosis/">
        AllowOverride All
        Options All
        Require all granted
    </Directory> 
</VirtualHost>

Replace your-domain.com with your actual domain name. Save and exit the file.

Step 5: Start Apache and MariaDB Services

Now start Apache and MariaDB services and enable them to start at boot time.

$ sudo systemctl start httpd
$ sudo systemctl start mariadb
$ sudo systemctl enable httpd
$ sudo systemctl enable mariadb

Step 6: Run RosarioSIS Installation Wizard

Now you can access the RosarioSIS installation page using your favorite web browser at http://your-domain.com. Follow the installation wizard and configure the necessary settings. Provide the MySQL credentials that you created earlier, and select your preferred language.

After the installation process is completed, you can log in to the system using the default username admin and password admin.

That's it! You have successfully installed RosarioSIS on Arch Linux. You can now use it to manage your educational institution more efficiently.

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!