3 Assignment - Linux
3 Assignment - Linux
● Create a custom systemd service unit file for a specific application or task.
● Set up automatic login for a specific user at system startup.
● Configure the system to run a script or command at boot time using systemd.
Message Logging (syslog/rsyslog):
● Configure syslog/rsyslog to log messages to a remote server.
●
● Filter and redirect specific log messages to separate log files.
●
●
●
●
●
●
● Set up log rotation to manage log file sizes and ensure proper log file
maintenance.
●
System Tuning:
● Optimize network settings for better performance, such as adjusting TCP/IP stack
parameters.
● Adjust file system parameters for improved disk I/O performance, such as
adjusting the disk scheduler or file system mount options.
● Configure kernel parameters to optimize memory usage, process scheduling, or
other system behaviors.
● Monitor system performance using tools like top, vmstat, or sar, and make
appropriate tuning adjustments based on the observed metrics.
● Implement security-related tuning, such as hardening the system against various
types of attacks or vulnerabilities.
Network Tuning:
● Adjust network buffer sizes to optimize network performance.
● Configure TCP/IP stack parameters, such as TCP window size or congestion
control algorithms, to improve network throughput and latency.
● Implement Quality of Service (QoS) policies to prioritize network traffic for
critical applications or services.
Here I used Fdisk tool for partition creation. Command «p» means to print disk description. Then goes
«n» command which creates partition. After I was asked which partition type will be used where p meant
primary and L logical. Also number of partition I used default 3 number.
Format Partitions:
Here I added partition to the desktop
Mount Partitions:
Finally, mount the formatted partitions to directories in the file system.
Here is creation of mount point «mkdir /mount/example» and mounting partition