First, you need to make sure that your Ubuntu Server is up to date. To do this, open the terminal and type in the following command:
sudo apt update && sudo apt upgrade
Next, install the required packages for RosarioSIS. Type in the following command:
sudo apt install apache2 mysql-server php php-mysql php-gd php-xml php-bcmath php-imap libapache2-mod-php
Now, we need to configure the MySQL database. Type in the following command to access the MySQL shell:
sudo mysql -u root -p
Create a new database by typing in the following command:
CREATE DATABASE rosariosis;
Next, create a new user and grant privileges to the new database:
CREATE USER 'rosariosis'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON rosariosis.* TO 'rosariosis'@'localhost';
FLUSH PRIVILEGES;
Replace "password" with your preferred password.
Download the latest version of RosarioSIS from the official website:
wget https://www.rosariosis.org/download/file/rosariosis_8.9.1.zip
Unzip the downloaded file:
unzip rosariosis_8.9.1.zip
Copy the unzipped files to the Apache web root directory:
sudo cp -r rosariosis /var/www/html/
Change the ownership of the files:
sudo chown -R www-data:www-data /var/www/html/rosariosis
Create a new virtual host file for RosarioSIS:
sudo nano /etc/apache2/sites-available/rosariosis.conf
Add the following content to the file:
<VirtualHost *:80>
ServerName your-domain.com
DocumentRoot /var/www/html/rosariosis
<Directory /var/www/html/rosariosis>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/rosariosis_error.log
CustomLog ${APACHE_LOG_DIR}/rosariosis_access.log combined
</VirtualHost>
Replace "your-domain.com" with your domain name or IP address.
Enable the virtual host:
sudo a2ensite rosariosis.conf
Restart Apache:
sudo systemctl restart apache2
Open your web browser and go to http://your-domain.com/rosariosis/install. Follow the on-screen instructions to finish the installation.
You have successfully installed RosarioSIS on Ubuntu Server Latest. You can now use RosarioSIS to manage your school or educational institution.
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!