{"id":536,"date":"2025-09-10T12:48:41","date_gmt":"2025-09-10T09:48:41","guid":{"rendered":"https:\/\/destek.narhost.com\/?p=536"},"modified":"2025-10-26T14:21:34","modified_gmt":"2025-10-26T11:21:34","slug":"linux-servisini-durdurma-ve-aktif-etme","status":"publish","type":"post","link":"https:\/\/narhost.com\/destek\/linux-servisini-durdurma-ve-aktif-etme\/","title":{"rendered":"Linux Servisini Durdurma ve Aktif Etme"},"content":{"rendered":"<p data-start=\"203\" data-end=\"392\">Linux tabanl\u0131 sunucularda baz\u0131 servisleri durdurmak, ba\u015flatmak veya yeniden ba\u015flatmak gerekebilir. Ayr\u0131ca sistem a\u00e7\u0131l\u0131\u015f\u0131nda hangi servislerin otomatik ba\u015flayaca\u011f\u0131n\u0131 belirlemek de m\u00fcmk\u00fcnd\u00fcr.<\/p>\n<p data-start=\"394\" data-end=\"540\">A\u015fa\u011f\u0131daki \u00f6rneklerde <strong data-start=\"415\" data-end=\"427\">iptables<\/strong>, <strong data-start=\"429\" data-end=\"438\">MySQL<\/strong>, <strong data-start=\"440\" data-end=\"452\">Fail2Ban<\/strong>, <strong data-start=\"454\" data-end=\"465\">Apache2<\/strong>, <strong data-start=\"467\" data-end=\"478\">VestaCP<\/strong>, <strong data-start=\"480\" data-end=\"489\">Nginx<\/strong> gibi yayg\u0131n servislerin y\u00f6netimini g\u00f6rebilirsiniz.<\/p>\n<hr data-start=\"542\" data-end=\"545\" \/>\n<h3 data-start=\"547\" data-end=\"581\">\ud83d\udeab Servisleri Durdurmak (Stop)<\/h3>\n<p data-start=\"583\" data-end=\"643\">A\u015fa\u011f\u0131daki komutlar, ilgili servisleri anl\u0131k olarak durdurur:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\">service iptables stop<br \/>\nservice mysql stop<br \/>\nservice fail2ban stop<br \/>\n<\/code><\/div>\n<\/div>\n<hr data-start=\"721\" data-end=\"724\" \/>\n<h3 data-start=\"726\" data-end=\"761\">\u25b6\ufe0f Servisleri Ba\u015flatmak (Start)<\/h3>\n<p data-start=\"763\" data-end=\"807\">Servisleri yeniden aktif hale getirmek i\u00e7in:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\">service iptables start<br \/>\nservice mysql start<br \/>\nservice fail2ban start<br \/>\n<\/code><\/div>\n<\/div>\n<hr data-start=\"888\" data-end=\"891\" \/>\n<h3 data-start=\"893\" data-end=\"938\">\ud83d\udd04 Servisleri Yeniden Ba\u015flatmak (Restart)<\/h3>\n<p data-start=\"940\" data-end=\"1020\">Konfig\u00fcrasyon de\u011fi\u015fikliklerinden sonra servisleri yeniden ba\u015flatmak gerekebilir:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\">service apache2 restart<br \/>\nservice vesta restart<br \/>\nservice mysql restart<br \/>\n<\/code><\/div>\n<\/div>\n<hr data-start=\"1103\" data-end=\"1106\" \/>\n<h3 data-start=\"1108\" data-end=\"1158\">\ud83e\uddf7 Servislerin Otomatik Ba\u015flamas\u0131n\u0131 Engellemek<\/h3>\n<h4 data-start=\"1160\" data-end=\"1211\">\ud83d\udd39 <code data-start=\"1168\" data-end=\"1179\">chkconfig<\/code> y\u00f6ntemi (RHEL\/CentOS 6 ve alt\u0131)<\/h4>\n<p data-start=\"1213\" data-end=\"1278\">Servislerin sistem a\u00e7\u0131l\u0131\u015f\u0131nda otomatik ba\u015flamas\u0131n\u0131 kapatmak i\u00e7in:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\">chkconfig iptables off<br \/>\nchkconfig mysql off<br \/>\n<\/code><\/div>\n<\/div>\n<h4 data-start=\"1336\" data-end=\"1390\">\ud83d\udd39 <code data-start=\"1344\" data-end=\"1355\">systemctl<\/code> y\u00f6ntemi (CentOS 7+, Ubuntu 16.04+)<\/h4>\n<p data-start=\"1392\" data-end=\"1474\">Sistem a\u00e7\u0131l\u0131\u015f\u0131nda servislerin otomatik olarak ba\u015flamas\u0131n\u0131 <strong data-start=\"1450\" data-end=\"1468\">etkinle\u015ftirmek<\/strong> i\u00e7in:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\">systemctl <span class=\"hljs-built_in\">enable<\/span> mysqld.service<br \/>\nsystemctl <span class=\"hljs-built_in\">enable<\/span> nginx.service<br \/>\n<\/code><\/div>\n<\/div>\n<p data-start=\"1552\" data-end=\"1601\">Otomatik ba\u015flatmay\u0131 <strong data-start=\"1572\" data-end=\"1595\">devre d\u0131\u015f\u0131 b\u0131rakmak<\/strong> i\u00e7in:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\">systemctl <span class=\"hljs-built_in\">disable<\/span> mysqld.service<br \/>\nsystemctl <span class=\"hljs-built_in\">disable<\/span> nginx.service<br \/>\n<\/code><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Linux tabanl\u0131 sunucularda baz\u0131 servisleri durdurmak, ba\u015flatmak veya yeniden ba\u015flatmak gerekebilir. Ayr\u0131ca sistem a\u00e7\u0131l\u0131\u015f\u0131nda hangi servislerin otomatik ba\u015flayaca\u011f\u0131n\u0131 belirlemek de m\u00fcmk\u00fcnd\u00fcr.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,13],"tags":[],"class_list":["post-536","post","type-post","status-publish","format-standard","hentry","category-vds-server","category-vps-server"],"meta_box":[],"_links":{"self":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/comments?post=536"}],"version-history":[{"count":3,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/536\/revisions"}],"predecessor-version":[{"id":746,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/536\/revisions\/746"}],"wp:attachment":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/media?parent=536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/categories?post=536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/tags?post=536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}