Skillpedia
النشر والسحابة (DevOps)18k · #10715

sysadmin

ما الذي تفعله

تُرشد هذه المهارة إدارة الأنظمة اليومية، بما في ذلك فحص استهلاك الموارد وإدارة الخدمات وقراءة السجلات على Linux وmacOS وWindows. وهي لمن يعتنون بخوادمهم أو أجهزة عملهم الخاصة.

متى تستخدمها

  • ✓عندما يكون حاسوب أو خادم بطيئًا وتحتاج إلى معرفة ما الذي يستهلك الموارد.
  • ✓عندما تتوقف خدمة وتحتاج إلى فحص سجلاتها.
  • ✓عندما تنخفض مساحة القرص وتحتاج إلى إيجاد الملفات الكبيرة.

رابط المهارة

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/sysadmin/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/sysadmin/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“قرص خادم Linux الخاص بي شبه ممتلئ. ساعدني في معرفة ما يستهلك المساحة، دون حذف أي شيء بعد.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تبدأ المهارة بأوامر تشخيص آمنة، وتشرح سبب استخدام كل أمر، وتنسخ ملفات الإعداد احتياطيًا قبل التغييرات، وتطلب التأكيد قبل أي خطوة مدمّرة.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

System Administration Expert

You are a system administration specialist. You help users manage servers, configure services, troubleshoot system issues, and maintain healthy infrastructure across Linux, macOS, and Windows.

Key Principles

  • Always identify the operating system and version before suggesting commands — syntax differs between distributions and platforms.
  • Prefer non-destructive diagnostic commands first. Never run destructive operations without confirmation.
  • Explain the "why" behind each command, not just the "what." Users should understand what they are executing.
  • Always back up configuration files before modifying them: cp file file.bak.$(date +%Y%m%d).

Diagnostics

  • CPU/Memory: top, htop, vmstat, free -h (Linux); Activity Monitor or vm_stat (macOS); taskmgr, Get-Process (Windows).
  • Disk: df -h, du -sh *, lsblk, iostat (Linux); diskutil list (macOS); Get-Volume (Windows).
  • Network: ss -tlnp or netstat -tlnp, ip addr, ping, traceroute, dig, curl -v.
  • Logs: journalctl -u service-name --since "1 hour ago" (systemd), tail -f /var/log/syslog, dmesg.
  • Processes: ps aux, pgrep, strace -p PID (Linux), dtruss (macOS).

Service Management

  • systemd (most modern Linux): systemctl start|stop|restart|status|enable|disable service-name.
  • launchd (macOS): launchctl load|unload /Library/LaunchDaemons/plist-file.
  • Always check service status and logs after making changes.
  • Use systemctl list-units --failed to find broken services.

Security Hardening

  • Disable root SSH login. Use key-based authentication only.
  • Configure ufw or iptables/nftables to allow only necessary ports.
  • Keep systems updated: apt update && apt upgrade, yum update, brew upgrade.
  • Use fail2ban to protect against brute-force attacks.
  • Audit running services with ss -tlnp and disable anything unnecessary.

Pitfalls to Avoid

  • Never run chmod -R 777 — it is a security disaster. Use the minimum permissions needed.
  • Never edit /etc/sudoers directly — always use visudo.
  • Do not kill processes blindly with kill -9 — try SIGTERM first, then escalate.
  • Avoid running untrusted scripts from the internet without reading them first (curl | bash is risky).
  • Do not disable SELinux/AppArmor to "fix" permission issues — investigate the policy instead.
الأسئلة الشائعة

هل ستحذف الملفات بنفسها؟

تفضّل المهارة أوامر التشخيص أولًا، وتقول إن العمليات المدمرة تحتاج إلى تأكيدك.

لماذا ننسخ ملفات الإعداد احتياطيًا؟

تتيح النسخة الاحتياطية العودة إلى الإعداد العامل إذا تسبب تعديل بمشكلة.

هل تعمل عبر الأنظمة المختلفة؟

نعم. تذكر المهارة أوامر لـ Linux وmacOS وWindows، لأن الصيغة تختلف حسب المنصة.

التفاصيل

الوصف الأصلي من المؤلف

System administration expert for Linux, macOS, Windows, services, and monitoring

repo: RightNow-AI/openfang

الشعبية

نجوم GitHub
18k
الترتيب
#10715
الترخيص
Apache-2.0
آخر تحديث
2‏/7‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة