Network and System Administration · Unit 1
Linux Server Fundamentals and Administration
Exam-focused notes for Linux Server Fundamentals and Administration (Network and System Administration, BIT451): what the TU syllabus asks and how it has actually been tested, with 2 solved past questions from this unit.
Linux Server Fundamentals and Administration in short
A Linux server is a computer that runs the Linux operating system to offer services such as web, mail and file sharing. A system administrator must know how to install it, keep it updated and control who can use it.
What this unit covers
- Linux server features and characteristics
- Linux server installation process
- Online server upgrade procedures
- User and group management
- Privilege management and permissions
- Linux administration commands
Linux server features and characteristics
2082 · 10 marks
What are the salient features of Linux server? Explain the process of online server upgrade.[10]
Show solved answerHide answer
Model Answer: Salient Features of Linux Server and Online Server Upgrade
Salient Features of Linux Server (5 marks)
1. Open Source
- Source code is freely available for modification and distribution
- Community-driven development ensures continuous improvement
- No licensing costs
2. Portability
- Runs on diverse hardware platforms (mainframes, servers, desktops, embedded systems)
- Easy to migrate between different systems
- Consistent behavior across platforms
3. Multi-user and Multitasking
- Multiple users can work simultaneously on the same system
- Multiple processes can run concurrently without interfering with each other
- Efficient resource sharing and management
4. Security
- User authentication and authorization mechanisms
- File permission system (read, write, execute)
- Firewall capabilities and encryption support
- Regular security updates from community
5. Stability and Reliability
- Can run for years without requiring restart
- Robust error handling and recovery mechanisms
- Minimal downtime and high availability
6. Scalability
- Handles increasing workloads efficiently
- Can manage large numbers of users and processes
- Suitable for both small and enterprise-level deployments
Process of Online Server Upgrade (5 marks)
Definition
Online server upgrade refers to updating or patching a Linux server while it remains operational, without causing service interruption to users.
Step-by-Step Process:
Step 1: Planning and Preparation
- Identify required updates (security patches, kernel updates, software upgrades)
- Create backup of critical data and configurations
- Schedule upgrade during low-traffic periods if possible
- Notify users about potential performance impact
Step 2: Update Repository Information
sudo apt update # For Debian/Ubuntu
# or
sudo yum update # For RedHat/CentOS
- Refreshes package lists from repositories
- Identifies available updates
Step 3: Download Updates
- Download new packages without installing immediately
- Verify package integrity and dependencies
- Ensure sufficient disk space available
Step 4: Install Updates
sudo apt upgrade # Non-disruptive updates
# or
sudo apt dist-upgrade # Major version upgrades
- Install updates while system remains running
- Most services continue operating
Step 5: Service Restart (if required)
- Some updates require service restart
- Restart individual services rather than entire system:
sudo systemctl restart service_name
- Minimize downtime by restarting only affected services
Check
- Verify all services are running correctly
- Check system logs for errors
- Test critical applications and functionality
- Monitor system performance
Step 7: Rollback Plan
- Keep previous version available if issues occur
- Document changes made during upgrade
- Have recovery procedure ready
Advantages of Online Upgrade:
- Continuous service availability
- No scheduled downtime
- Improved user experience
- Cost-effective for production environments
Note: The specific commands and procedures may vary depending on the Linux distribution (Ubuntu, CentOS, Fedora, etc.) and the type of upgrade being performed.
User and group management
2082.1 · 10 marks
Explain user, group, and privilege management in Linux system administration using suitable commands.[10]
Make Unit 1 stick
Practice BIT451 with flashcards & quizzes