BACKUP GENERATION POLICY

To prevent data loss and ensure that the system can always be restored quickly, we have chosen to implement an automated backup system. The best option is to create a daily backup of the system and send it to an external server. Why did we choose this option? With this policy, we ensure that, no … Read more

PREPARATION OF THE OPERATING SYSTEM RECOVERY SYSTEM

sudo apt install clonezilla 2. Modify the Script to Send the Backup to the Server !/bin/bash Define local directory and image name BACKUP_DIR=”/mnt/backup/clonezilla”DATE=$(date +%Y-%m-%d)IMAGE_NAME=”backup-$DATE” Create the system image automatically sudo clonezilla-auto -o2 -icds -r -j2 -q2 -z1p -scr -sfsck -p true -s /dev/sda -d $BACKUP_DIR/$IMAGE_NAME Send the backup to the server using rsync SERVER_USER=”USERNAME”SERVER_IP=”SERVER_IP”SERVER_DIR=”/home/user/backups” rsync … Read more

CHOICE OF AN OPERATING SYSTEM RECOVERY SYSTEM

The best solution is to create a complete system backup (system image) and use restore points. This allows us to recover the system quickly without having to reinstall everything from scratch. Why did we choose this option? Using a combination of system images and restore points ensures that if the computer fails, we can recover … Read more

SERVICE TESTS

Log Server Configuration (Server 2) To configure the log server, we will edit the rsyslog configuration file with the following command:sudo nano /etc/rsyslog.conf Make sure the following lines are active:module(load=”imudp”)input(type=”imudp” port=”514″)module(load=”imtcp”)input(type=”imtcp” port=”514″) After that, restart the rsyslog service:sudo systemctl restart rsyslog Configuration on Client Machines On the other machines, in order to send logs to … Read more

CONFIGURATION OF ALL NETWORK MACHINES

Log Server Configuration (Server 2) To configure the log server, we will edit the rsyslog configuration file with the following command:sudo nano /etc/rsyslog.conf Make sure the following lines are active:module(load=”imudp”)input(type=”imudp” port=”514″)module(load=”imtcp”)input(type=”imtcp” port=”514″) After that, restart the rsyslog service:sudo systemctl restart rsyslog Configuration on Client Machines On the other machines, in order to send logs to … Read more

INSTALLATION AND CONFIGURATION OF THE LOG SERVER

On the server that will receive all the logs (in our case, Server 2), edit the file: sudo nano /etc/rsyslog.conf Make sure the following lines are enabled, and then restart the service: module(load=”imudp”)input(type=”imudp” port=”514″)module(load=”imtcp”)input(type=”imtcp” port=”514″) Restart the service with: sudo systemctl restart rsyslog At this point, on the other machines, in order to send logs … Read more

PROJECT LOG POLICY

Logging System to be Used (Tool) The logging system we will use is syslog. What is Syslog? Syslog is a standard for logging messages. It allows for the separation of the software that generates the messages, the system that stores them, and the software that informs and analyzes them. Each message is tagged with an … Read more

SAMBA SERVICE TESTS

Now, I will perform different tests between servers and clients to verify that the Samba service is working correctly. The Samba server is installed on server 1: Now, I will do the same from server 2: Now, from a client:

CHOICE OF THE SERVICE USED

SAMBA Previous knowledge: Throughout the course, we have worked with Samba, making it the server we are most familiar with. This eases configuration, management, and troubleshooting. Open-source and free: Samba is free software, reducing costs and allowing customization to meet specific system needs. Integration with Unix/Linux systems: It works perfectly in Linux environments, enabling smooth … Read more