{"id":1124,"date":"2018-12-28T12:47:15","date_gmt":"2018-12-28T09:17:15","guid":{"rendered":"http:\/\/linuxmotto.ir\/blog\/?p=1124"},"modified":"2021-12-20T11:17:26","modified_gmt":"2021-12-20T07:47:26","slug":"%da%86%da%a9-%d9%84%db%8c%d8%b3%d8%aa-%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d8%b3%d8%b1%d9%88%d8%b1","status":"publish","type":"post","link":"https:\/\/linuxmotto.io\/blog\/?p=1124","title":{"rendered":"\u0686\u06a9 \u0644\u06cc\u0633\u062a \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0633\u0631\u0648\u0631"},"content":{"rendered":"<p>\u062f\u0631 \u067e\u06cc \u062a\u0644\u0627\u0634 \u0647\u0627\u06cc \u0627\u06cc\u0646 \u0645\u062f\u062a \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u062f\u0633\u062a\u0647 \u0628\u0646\u062f\u06cc \u0647\u0627 \u0642\u0627\u0628\u0644 \u0631\u062c\u0648\u0639\u060c \u062f\u0633\u062a\u0647\u200c\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0645 \u0628\u0647 \u0646\u0627\u0645 checklist.\u00a0 \u0686\u06a9 \u0644\u06cc\u0633\u062a\u06cc \u06a9\u0647 \u0627\u0644\u0627\u0646 \u0645\u0637\u0627\u0644\u0639\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0628\u0631\u0627\u06cc \u0645\u0633\u062a\u0646\u062f \u06a9\u0631\u062f\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0645\u0639\u0645\u0648\u0644\u0627 \u0631\u0648\u06cc \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u0646\u06cc\u0627\u0632\u0645 \u0645\u06cc \u0634\u0648\u0646\u062f. \u0634\u0627\u06cc\u062f \u0628\u0627\u0639\u062b \u0628\u0634\u0647 \u0686\u0646\u062f \u0646\u0641\u0631 \u062f\u06cc\u06af\u0647 \u0647\u0645 \u0628\u0627 \u06cc\u0647 \u0633\u0631\u06cc \u0627\u0628\u0632\u0627\u0631 \u062c\u062f\u06cc\u062f \u0622\u0634\u0646\u0627 \u0628\u0634\u0648\u0646\u062f. \u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0647 \u0647\u0627 \u0647\u0645 \u0645\u0627\u0646\u0646\u062f \u0628\u0631\u06af\u0632\u06cc\u062f\u0647 \u0647\u0627 \u062f\u0631 \u0646\u0648\u0627\u0631 \u06af\u0648\u0634\u0647 \u0633\u0627\u06cc\u062a \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u0646\u062f \u0648 \u0627\u0644\u0628\u062a\u0647 \u0647\u0631 \u0627\u0632 \u06af\u0627\u0647\u06cc \u0645\u0645\u06a9\u0646\u0647 \u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u062a\u062c\u0631\u0628\u0647 \u062c\u062f\u06cc\u062f \u0628\u0647 \u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u06af\u0631\u062f\u0646\u062f.<\/p>\n<p><strong>\u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u06a9\u0645\u06a9\u06cc<\/strong><\/p>\n<pre class=\"lang:default decode:true\"><\/pre>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">apt-get install vim screen tmux dns\u00a0dnsutils whois<\/pre>\n<\/div>\n<pre class=\"lang:default decode:true\"><\/pre>\n<p><strong>\u0633\u0631\u0648\u06cc\u0633 \u0647\u0627\u06cc \u067e\u0627\u06cc\u0647<\/strong><\/p>\n<p>\u0645\u06cc \u062a\u0648\u0646\u06cc\u062f \u0628\u0647 \u062c\u0627\u06cc ntp\u200c\u0627\u0632 systemd-timesyncd \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true\"><\/pre>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">apt-get install postfix ntp<\/pre>\n<\/div>\n<pre class=\"lang:default decode:true\"><\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc Host Monitoring<\/strong><\/p>\n<p>\u0647\u0631 \u06a9\u062f\u0627\u0645 \u0627\u0632 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0642\u0628\u0644 \u0627\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u062f\u0627\u0631\u0646\u062f. \u0645\u0646 \u0633\u0639\u06cc \u0645\u06cc \u06a9\u0646\u0645 \u0628\u0631\u0627\u06cc \u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u0627\u06cc\u0646\u0647\u0627 \u06cc\u06a9 \u0646\u0645\u0648\u0646\u0647 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u062f\u0631 <a href=\"http:\/\/linuxmotto.ir\/wiki\/\">\u0648\u06cc\u06a9\u06cc<\/a> \u0628\u0632\u0627\u0631\u0645. \u0644\u0637\u0641\u0627 \u0628\u0631\u0627\u06cc \u0646\u0645\u0648\u0646\u0647 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0628\u0647 <a href=\"http:\/\/linuxmotto.ir\/wiki\/\">\u0648\u06cc\u06a9\u06cc<\/a> \u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f. \u062a\u0646\u0647\u0627 sysstat \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<br \/>\n\u062a\u0646\u0647\u0627 \u06a9\u0627\u0641\u06cc\u0633\u062a \u062f\u0631 \u0641\u0627\u06cc\u0644 etc\/default\/sysstat\/ \u06af\u0632\u06cc\u0646\u0647 &#8220;ENABLED=&#8221;true \u0631\u0627 \u0627\u0635\u0644\u0627\u062d \u06a9\u0646\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true\"><\/pre>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">apt-get install sysstat collectd snmp snmpd smartmontools<\/pre>\n<\/div>\n<pre class=\"lang:default decode:true\"><\/pre>\n<p><strong>\u0627\u0645\u0646\u06cc\u062a<\/strong><\/p>\n<p>\u062a\u063a\u06cc\u06cc\u0631 \u067e\u0648\u0631\u062a ssh ( \u0648 \u067e\u06cc\u0631\u0648\u00a0 \u0622\u0646 \u062a\u063a\u06cc\u06cc\u0631 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc fail2ban\u00a0 \u0645\u062a\u0646\u0627\u0633\u0628 \u0628\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u0633\u06cc\u0631\u0648\u06cc\u0633 ssh) \u06cc\u06a9\u06cc \u0627\u0632 \u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u200c\u0647\u0627\u06cc \u0627\u0645\u0646\u06cc\u062a\u06cc \u0627\u0633\u062a.<\/p>\n<pre class=\"lang:default decode:true\"><\/pre>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">apt-get install fail2ban debian-goodies<\/pre>\n<\/div>\n<pre class=\"lang:default decode:true\"><\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u067e\u0633\u062a \u0627\u0644\u06a9\u062a\u0631\u0648\u0646\u06cc\u06a9<\/strong><\/p>\n<p>\u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0633\u0631\u0648\u06cc\u0633 \u0647\u0627 \u0628\u0631\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 \u062e\u0637\u0627 \u0647\u0627 \u0648 \u067e\u06cc\u063a\u0627\u0645 \u0647\u0627\u06cc \u062e\u0648\u062f \u0627\u0632 \u0633\u0631\u0648\u06cc\u0633 eMail \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u0646\u062f. \u062e\u0648\u062f \u0645\u0646 \u0647\u0645 \u0628\u0631\u0627\u06cc \u0647\u0645\u0647 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0647\u0627\u0645 \u0628\u062e\u0634 \u0627\u0631\u0633\u0627\u0644 email \u067e\u06cc\u0634 \u0628\u06cc\u0646\u06cc \u0645\u06cc \u06a9\u0646\u0645. \u0628\u0631\u0627\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u0645 \u06cc\u0647 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0628\u0631\u0627\u06cc Postfix \u0628\u0647 <a href=\"http:\/\/linuxmotto.ir\/wiki\/\">\u0648\u06cc\u06a9\u06cc<\/a> \u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true\"><\/pre>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;powershell&quot;,&quot;mime&quot;:&quot;application\/x-powershell&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">apt-get install mutt postfix mailutils<\/pre>\n<\/div>\n<pre class=\"lang:default decode:true\"><\/pre>\n<p><strong>\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc sysctl<\/strong><\/p>\n<p>\u0627\u06cc\u0646 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 \u0641\u0627\u06cc\u0644 etc\/sysctl.conf\/ \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f \u062a\u0627 \u062f\u0631 \u0647\u0631 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0633\u0631\u0648\u0631 \u0645\u062c\u062f\u062f \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0634\u0648\u0646\u062f.<\/p>\n<pre class=\"lang:default decode:true\"><\/pre>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;powershell&quot;,&quot;mime&quot;:&quot;application\/x-powershell&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">net.ipv4.conf.default.rp_filter=1 net.ipv4.conf.all.rp_filter=1 net.ipv4.tcp_syncookies=1 net.ipv4.conf.all.accept_redirects = 0 net.ipv4.conf.all.accept_source_route = 0 fs.protected_hardlinks=1 fs.protected_symlinks=1<\/pre>\n<\/div>\n<pre class=\"lang:default decode:true\"><\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Power Management (\u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0641\u06cc\u0632\u06cc\u06a9\u06cc)<\/strong><\/p>\n<pre class=\"lang:default decode:true \"><\/pre>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">apt-get install powertop cpufrequtils<\/pre>\n<\/div>\n<pre class=\"lang:default decode:true \"><\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u06cc\u0627 \u0647\u0645\u0627\u0646 Tuning<\/strong><\/p>\n<pre class=\"lang:default decode:true \"><\/pre>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">apt-get install sysfsutils numactl irqbalance<\/pre>\n<\/div>\n<pre class=\"lang:default decode:true \"><\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u062f\u0631 \u067e\u06cc \u062a\u0644\u0627\u0634 \u0647\u0627\u06cc \u0627\u06cc\u0646 \u0645\u062f\u062a \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u062f\u0633\u062a\u0647 \u0628\u0646\u062f\u06cc \u0647\u0627 \u0642\u0627\u0628\u0644 \u0631\u062c\u0648\u0639\u060c \u062f\u0633\u062a\u0647\u200c\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0645 \u0628\u0647 \u0646\u0627\u0645 checklist.\u00a0 \u0686\u06a9 \u0644\u06cc\u0633\u062a\u06cc \u06a9\u0647 \u0627\u0644\u0627\u0646 \u0645\u0637\u0627\u0644\u0639\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0628\u0631\u0627\u06cc \u0645\u0633\u062a\u0646\u062f \u06a9\u0631\u062f\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0645\u0639\u0645\u0648\u0644\u0627 \u0631\u0648\u06cc \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u0646\u06cc\u0627\u0632\u0645 \u0645\u06cc \u0634\u0648\u0646\u062f. \u0634\u0627\u06cc\u062f \u0628\u0627\u0639\u062b \u0628\u0634\u0647 \u0686\u0646\u062f \u0646\u0641\u0631 \u062f\u06cc\u06af\u0647 \u0647\u0645 \u0628\u0627 \u06cc\u0647 \u0633\u0631\u06cc \u0627\u0628\u0632\u0627\u0631 \u062c\u062f\u06cc\u062f \u0622\u0634\u0646\u0627 \u0628\u0634\u0648\u0646\u062f. \u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0647 \u0647\u0627 \u0647\u0645 \u0645\u0627\u0646\u0646\u062f \u0628\u0631\u06af\u0632\u06cc\u062f\u0647 \u0647\u0627 \u062f\u0631 \u0646\u0648\u0627\u0631 \u06af\u0648\u0634\u0647 \u0633\u0627\u06cc\u062a \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u0646\u062f \u0648 \u0627\u0644\u0628\u062a\u0647 \u0647\u0631 \u0627\u0632 \u06af\u0627\u0647\u06cc \u0645\u0645\u06a9\u0646\u0647 \u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u062a\u062c\u0631\u0628\u0647 \u062c\u062f\u06cc\u062f \u0628\u0647 \u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u06af\u0631\u062f\u0646\u062f. \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u06a9\u0645\u06a9\u06cc apt-get install vim screen tmux dns\u00a0dnsutils whois \u0633\u0631\u0648\u06cc\u0633 \u0647\u0627\u06cc \u067e\u0627\u06cc\u0647 \u0645\u06cc \u062a\u0648\u0646\u06cc\u062f \u0628\u0647 \u062c\u0627\u06cc ntp\u200c\u0627\u0632 systemd-timesyncd \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. apt-get install postfix ntp &nbsp; \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc Host Monitoring [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,465],"tags":[468,469,219,467],"class_list":["post-1124","post","type-post","status-publish","format-standard","hentry","category-administration","category-checklist","tag-checklist","tag-new-server","tag-server","tag-467"],"_links":{"self":[{"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1124"}],"version-history":[{"count":12,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1124\/revisions"}],"predecessor-version":[{"id":1325,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1124\/revisions\/1325"}],"wp:attachment":[{"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}