Installing RosarioSIS on Kali Linux Latest
RosarioSIS is a free and open-source Student Information System that can be used to manage academic institutions' daily activities. It allows you to manage students, classes, grades, attendance, and many other aspects of an academic institution.
Kali Linux is an operating system based on the Debian distribution. It is widely used for penetration testing, ethical hacking, and network security assessments.
This tutorial will guide you through the process of installing RosarioSIS on Kali Linux Latest using the command-line interface.
Prerequisites
Before proceeding with RosarioSIS installation, make sure that you have the following prerequisites:
- Kali Linux Latest version installed
- Apache2 web server installed and running
- MySQL or MariaDB relational database installed and running
- PHP version 7.0 or higher installed
Step 1: Download RosarioSIS archive
Go to the RosarioSIS download page and download the latest stable release (currently version 7.4.6) in ZIP format.
You can use the wget command to download the archive directly from the terminal:
wget https://www.rosariosis.org/wp-content/uploads/2021/11/rc.rosariosis-7.4.6.zip
Step 2: Extract RosarioSIS archive
After downloading the RosarioSIS archive, navigate to the directory where the archive is downloaded (usually Downloads directory by default on Kali Linux) and extract it using the unzip command:
unzip rc.rosariosis-7.4.6.zip
This command will extract the archive to a new directory named rc.rosariosis-7.4.6.
Step 3: Move RosarioSIS to web server root directory
Now that we have extracted the RosarioSIS archive, we need to copy/move the contents of the rc.rosariosis-7.4.6 directory to our web server's root directory (/var/www/html). To do this, use the following command:
sudo mv rc.rosariosis-7.4.6/* /var/www/html/
This command will move all the files and directories in the rc.rosariosis-7.4.6 directory to the /var/www/html directory.
Step 4: Customize RosarioSIS config file
Navigate to the /var/www/html directory and create a copy of the config.inc.php.sample file with the name config.inc.php:
cd /var/www/html/
sudo cp config.inc.php.sample config.inc.php
Open the config.inc.php file using any text editor (we will use nano here):
sudo nano config.inc.php
In this file, update the database credentials with your MySQL/MariaDB account credentials:
/* MySQL database settings */
$config['db_host'] = 'localhost';
$config['db_user'] = 'root';
$config['db_pass'] = 'your_password';
$config['db_name'] = 'rosariosis';
Where:
- db_host - the database server hostname (usually localhost)
- db_user - the database username (usually root)
- db_pass - the database password
- db_name - the name of the database (create a new database named rosariosis if it doesn't exist)
Save and close the file by pressing CTRL+X, followed by Y and ENTER.
Step 5: Create database for RosarioSIS
Log in to the MySQL/MariaDB server as the root user using the following command:
mysql -u root -p
You will be prompted to enter the MySQL/MariaDB root account password.
Create a new database named rosariosis and grant all privileges to a new user named rosariosis with the password your_password using the following commands:
CREATE DATABASE rosariosis;
GRANT ALL PRIVILEGES ON rosariosis.* TO 'rosariosis'@'localhost' IDENTIFIED BY 'your_password';
FLUSH PRIVILEGES;
exit;
Step 6: Run RosarioSIS installer
Open the web browser and go to the following URL:
http://localhost/install/
You will see the RosarioSIS installation page. Follow the steps shown on the screen to complete the installation.
During the installation, you will be prompted to enter the database credentials that we updated earlier in the config.inc.php file.
After completing the installation, delete the install directory from the web server root directory using the following command:
sudo rm -rf /var/www/html/install/
Step 7: Access RosarioSIS
Open the web browser and go to the following URL to access the RosarioSIS login page:
http://localhost/
You should see the RosarioSIS login screen. Enter the default username and password (admin:admin) to log in to the system.
Congratulations! You have successfully installed RosarioSIS on Kali Linux Latest. You can now start using RosarioSIS to manage your academic institution's daily activities.