Operations 17 min read

Essential Linux Ops Toolkit: 10 Must‑Know Skills for Modern Sysadmins

This guide outlines the ten core Linux operations skills every sysadmin should master, covering essential tools such as rsync, network services, scripting languages, text processing, databases, firewalls, monitoring, clustering, backup, and optimization, with practical examples, commands, and resource links.

dbaplus Community
dbaplus Community
dbaplus Community
Essential Linux Ops Toolkit: 10 Must‑Know Skills for Modern Sysadmins

Essential Linux Operations Tools (Beginner)

1. rsync

Synchronize files across multiple servers, commonly used for game server deployments. Example articles (plain URLs):

http://chenhao6.blog.51cto.com/6228054/1322579 – rsync with custom ports and firewall rules

http://chenhao6.blog.51cto.com/6228054/1298375 – inotify + rsync + mutt + msmtp for automatic file updates and email alerts

2. Core Network Services

Master basic services such as FTP, DNS, Samba, mail, LAMP/LNMP stacks, Nginx, Apache and optionally Tomcat. Focus on deep configuration rather than just installation.

3. Scripting Languages

Shell scripting is mandatory for any ops role. Python, Perl (and optionally PHP) are recommended for automation. Example resources (plain URLs):

http://chenhao6.blog.51cto.com/6228054/1230337 – Shell basics to advanced scripts

http://chenhao6.blog.51cto.com/6228054/1232070 – Shell calculator example

4. Text‑Processing Tools

sed, awk and regular expressions are essential for log analysis and content filtering. Tutorial URL: https://coolshell.cn/articles/9104.html

Additional commands to master: sort, tr, cut, paste, uniq, tee.

5. Databases

MySQL is the primary database on Linux. Focus on CRUD operations, query optimization, backup and restore. Detailed guide URL: http://chenhao6.blog.51cto.com/6228054/1225129

6. Firewall

Understand iptables (FILTER and NAT tables) and rule design. Example articles:

http://chenhao6.blog.51cto.com/6228054/1239306 – Host‑based firewall basics

http://chenhao6.blog.51cto.com/6228054/1240714 – SNAT and DNAT configuration

7. Monitoring Tools

Key tools: Cacti, Nagios, Zabbix. Nagios often requires custom scripts for automated alerts. Example implementations:

http://chenhao6.blog.51cto.com/6228054/1323192 – CentOS 6.2 + Nginx + Nagios with SMS/Email alerts

http://chenhao6.blog.51cto.com/6228054/1249302 – Centralized Cacti monitoring

8. Clustering and High Availability

Important concepts: LVS, Nginx clustering, reverse proxy, MySQL master‑slave replication. Reference URLs:

http://chenhao6.blog.51cto.com/6228054/1325247 – MySQL master‑slave sync troubleshooting

http://chenhao6.blog.51cto.com/6228054/1314418 – MySQL performance stress testing

http://chenhao6.blog.51cto.com/6228054/1329106 – Nginx cache configuration and error resolution

9. Data Backup

Understand RAID levels (1+0, 0+1) and use tools such as tar and dump for reliable backups.

Intermediate Insights (Interview Experience)

Beyond basic installation, interviewers expect knowledge of optimization for Nginx, MySQL and Tomcat. Example concepts:

Layer‑7 reverse proxy provides load balancing, enabling horizontal scaling and higher concurrency.

Local caching reduces backend load and improves response time.

Typical troubleshooting steps include analyzing program failures, tracing system calls, and deep performance bottleneck analysis.

Memory inspection command: free -m The line "#‑/+ buffers/cache" shows real used and free memory after accounting for cache.

Optimization Techniques

JVM tuning for Tomcat (example parameters):

-Xms4g
-Xmx4g
-Xss512k
-XX:+AggressiveOpts
-XX:+UseBiasedLocking
-XX:PermSize=64m
-XX:MaxPermSize=300m
-XX:+DisableExplicitGC
-XX:+UseConcMarkSweepGC
-XX:+UseParNewGC
-XX:+CMSParallelRemarkEnabled
-XX:+UseCMSCompactAtFullCollection
-XX:LargePageSizeInBytes=128m
-XX:+UseFastAccessorMethods
-Djava.awt.headless=true

Performance testing showed request throughput improving from ~605 req/s to ~435 req/s after tuning, representing a near three‑fold efficiency gain.

Development Skills

Prioritize Shell and Python. Python offers extensive libraries for configuration management (SaltStack), batch execution (Fabric, SaltStack), monitoring (Nagios plugins), virtualization (python‑libvirt), process management (Supervisor) and cloud platforms (OpenStack). Automating repeatable procedures in code rather than ad‑hoc scripts is essential.

Operational Awareness Topics

Security

Protect accounts and private keys. Store secrets in encrypted containers (e.g., TrueCrypt) and protect SSH keys with passphrases.

Preparation

Understand the principles behind any operation before execution. For complex changes (multiple hosts, SAN storage), draft a detailed operation plan, obtain peer review, and prepare a rollback procedure.

Documentation

Record unique cases, analysis steps and outcomes in a knowledge base for future reference and team sharing.

Monitoring

Integrate monitoring tightly with operations to detect anomalies early. Tools such as Cacti, Nagios and Zabbix should be part of the daily workflow.

Business Awareness

Know the services each host provides and their interdependencies to accelerate fault isolation when incidents occur.

Continuous learning and a systematic mindset are essential for long‑term success in Linux operations.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

AutomationLinuxSysadminScripting
dbaplus Community
Written by

dbaplus Community

Enterprise-level professional community for Database, BigData, and AIOps. Daily original articles, weekly online tech talks, monthly offline salons, and quarterly XCOPS&DAMS conferences—delivered by industry experts.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.