Linux Questions1
Linux Questions1
configure Linux server monitoring thorugh SNMP and based on that whenever Disk will go high we can
check the server utilization through Linux command like if we received an alert for disk utilization of root
file system, we can check with du -sh * -- it will help to identify space-consuming files and directories
• Install and configure Linux-based systems and applications-- we can install any application with
help of yum command in redhat system, if we have request to install httpd service installation, we can
install with yum install httpd and then we can configure the service based on the requirement
• Provisioning of volumes, shares, RAID Configuration : I never get a chance to provision th raid
but RAID stands for Redundant Array of Independent Disks. It use to secure the data in the event of a
drive failure. In RIAD we can store the same data in different locations on multiple hard disk drives.
• Vulnerability remediation for Linux machines: We can remediate the vulnerbality on Linux
server by applying the security patches on Linux server.
Command to perform the patching -- yum update --security >> to perform security patches,
To create user account in Linux server we can use : user add <username> and to set the password we
can use command passwd <username>
for example we have read, write, and execute permissions for its owner, and only read permission for all
other users. we can give permission to the file like "chmod 744 <file_name> as
• Monitor system performance and troubleshoot issues: If any server have performace issue it
could be multiple reasons like, first we need to check the server CPU utilization with "top" command we
can see which process/services is taking higher utilization, we can check memory ( free -h) if these are
fine then we can check on network level if there is any issue with connected network.
• Ensure system security by applying updates and patches : we can check the available security
patches by yum check-update -- security and patches can be applied with yum update --security. before
applying the patches we have to take a server backup and also we have to inform to all application POC
and business because after the security update server will reboot
• Create and maintain system documentation: Whenever we are performing any task or activity
we are creating SOP document in Microsoft word for the same and uploading it to share point just to
maintain system documentation.
• Provide technical support to end-users: if any users are reporting any issue first we are taking all
the basic details if it's not mentioned, like server details, user details and exact issue and based on the
issues we are checking the server and troubleshooting the issues
• Automate system administration tasks: to automate the task like if anyone asked to schedule a
weekly reboot of any server we can use cron job to schedule the server reboot.
• Collaborate with other teams to ensure smooth operation of systems: based on the issue we can
connect with different team interanlly, like if we have any issue with network, first we can perform the
initial checkes then we can check with network team to analyze the issue
How we can install OS on server: in AWS, we can navigate to EC2 and there is direct option to launch
instance, then we can add the server name , select the OS and we can add other details like, volume,
instance type (CPU & memory ) key, and then we can select the VPC and subnet and then security group
and we can launch the instance.