{"id":8812,"date":"2024-07-11T15:31:14","date_gmt":"2024-07-11T12:31:14","guid":{"rendered":"https:\/\/www.inetmar.com\/blog\/?p=8812"},"modified":"2024-12-06T15:43:49","modified_gmt":"2024-12-06T12:43:49","slug":"failed-to-set-locale-defaulting-to-c-utf-8-hatasi-cozumu","status":"publish","type":"post","link":"https:\/\/www.inetmar.com\/blog\/failed-to-set-locale-defaulting-to-c-utf-8-hatasi-cozumu\/","title":{"rendered":"Failed to set locale, defaulting to C.UTF-8 Hatas\u0131 \u00c7\u00f6z\u00fcm\u00fc"},"content":{"rendered":"<p>Linux sunucularda update yada kurulum yaparken s\u0131k\u00e7a kar\u015f\u0131la\u015f\u0131lan <strong>Failed to set locale, defaulting to C.UTF-8 hatas\u0131<\/strong> dil paketlerinden kaynaklanmaktad\u0131r. Sizlerde sunucunuzda bu hatay\u0131 al\u0131yorsan\u0131z a\u015fa\u011f\u0131daki ad\u0131mlar\u0131 izleyerek \u00e7\u00f6z\u00fcmleyebilirsiniz.<\/p>\n<h2><strong>Eksik Paketleri Kurun<\/strong><\/h2>\n<p>\u00d6ncelikle a\u015fa\u011f\u0131daki komut ile sunucuda eksik olan dil\u00a0paketlerini y\u00fckleyin.<\/p>\n<div class=\"dark bg-gray-950 rounded-md border-[0.5px] border-token-border-medium\">\n<div class=\"flex items-center relative text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md\"><span style=\"font-family: Consolas, Monaco, monospace;\"><code class=\"!whitespace-pre hljs language-sh\">dnf install langpacks-en glibc-all-langpacks -y<\/code><\/span><\/div>\n<\/div>\n<h2><strong>Yerel Ayarlar\u0131 G\u00fcncelleyin<\/strong><\/h2>\n<p>Paketi y\u00fckledikten sonra <code class=\"!whitespace-pre hljs language-sh\">nano \/etc\/locale.conf<\/code> komutu ile dosyas\u0131n\u0131 a\u00e7\u0131p yerel ayarlar\u0131 yap\u0131land\u0131r\u0131n.<\/p>\n<p>A\u00e7\u0131lan dosyaya a\u015fa\u011f\u0131daki sat\u0131rlar\u0131 ekleyin, mevcut ise d\u00fczenleyin:<\/p>\n<div class=\"dark bg-gray-950 rounded-md border-[0.5px] border-token-border-medium\">\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-plaintext\">LANG=en_US.UTF-8<br \/>\nLC_ALL=en_US.UTF-8<br \/>\n<\/code><\/div>\n<\/div>\n<h2><strong>Yerel Ayarlar\u0131 Uygulay\u0131n<\/strong><\/h2>\n<p>Yerel ayar dosyas\u0131n\u0131 d\u00fczenledikten sonra de\u011fi\u015fikliklerin kaydedebilmek i\u00e7in <code class=\"!whitespace-pre hljs language-sh\"><span class=\"hljs-built_in\">source<\/span> \/etc\/locale.conf<\/code> komutunu kullan\u0131n ard\u0131ndan sunucunuza <code class=\"!whitespace-pre hljs language-sh\">reboot<\/code> at\u0131p update ve kurulum i\u015fleminizi tekrardan inceleyebilirsiniz.<\/p>\n<p style=\"text-align: center;\">\u0130\u015fletmeniz i\u00e7in etkili bir <a class=\"waffle-rich-text-link\" href=\"https:\/\/www.inetmar.com\/domain\/domain-sorgulama\/\">domain sat\u0131n al\u0131n.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux sunucularda update yada kurulum yaparken s\u0131k\u00e7a kar\u015f\u0131la\u015f\u0131lan Failed to set locale, defaulting to C.UTF-8 hatas\u0131 dil paketlerinden kaynaklanmaktad\u0131r. Sizlerde sunucunuzda bu hatay\u0131 al\u0131yorsan\u0131z a\u015fa\u011f\u0131daki ad\u0131mlar\u0131 izleyerek \u00e7\u00f6z\u00fcmleyebilirsiniz. Eksik Paketleri Kurun \u00d6ncelikle a\u015fa\u011f\u0131daki komut ile&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":8835,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-8812","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts\/8812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/comments?post=8812"}],"version-history":[{"count":11,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts\/8812\/revisions"}],"predecessor-version":[{"id":9706,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts\/8812\/revisions\/9706"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/media\/8835"}],"wp:attachment":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/media?parent=8812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/categories?post=8812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/tags?post=8812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}