Basic Linux administration
software upgrades, managing hardware, installing new applications, maintaining the system’s performance, and and monitoring security are the activities that an administrator executes. tasks performed using the YaST Tool when using SUSE. These functionalities available in Ubuntu and Fedora distributions.
Monitoring System Performance
To effectively monitor our computer’s performance, aspects should be checked:
CPU and Memory Usage
To see the processes that are consuming CPU resources and memory allocation, use command. This command displays the CPU load and used memory averages, IDs, of CPU , percentage of the memory used. command results are refreshed every 5 seconds. To exit command output display, press Q.
To get a snapshot of the system status at the time the command was use uptime. This command prints the load average for the last one, five, and fifteen minutes.
Hard disk space
Monitor the space that enough space for the system to perform tasks logging and backups. Use the df -h command to validate the . In the monitoring, set specific thresholds at which we, administrator will take an action. , once the used percentage reaches threshold, like 80%, do a file cleanup to disk space. If the CPU reaches the allowed threshold, investigate which processes are the resources and do action (e.g. a process , kill a process, etc.). killing processes in windows using the Task Manager.
Linux automatically creates multiple user accounts upon installation, we are one using your computer. The system uses these accounts for running programs. Different accounts safeguard the system,
including files and directories, from unauthorized access. Users assigned to groups for easier facilitation. To add, modify, or delete a user or group account, either use the GUI or via the . As a beginner, be good for us out both so see which one best method for us.
Managing Users and Groups Via GUI
Open YaST if we are using SUSE or the equivalent Settings Menu in our distribution. Click on and Users or any similar User Management category. Click on the Add user button information the user’s full name, preferred username, and password. explore and configure additional information login attempt limit, password settings, and user groups. Once done, click on the OK button to continue creating the user account. We can also modify or delete an account using the GUI. Perform account modifications on the OK button to proceed with the changes. To create, modify, or delete , select Groups users. The photo below shows the YaST screen for adding group. Provide information on the OK button creating the group.