{"id":602,"date":"2025-09-10T15:57:26","date_gmt":"2025-09-10T12:57:26","guid":{"rendered":"https:\/\/destek.narhost.com\/?p=602"},"modified":"2026-09-11T19:23:51","modified_gmt":"2026-09-11T16:23:51","slug":"almalinux-apache2-php-7-1-ve-mariadb-10-kurulumu","status":"publish","type":"post","link":"https:\/\/narhost.com\/destek\/almalinux-apache2-php-7-1-ve-mariadb-10-kurulumu\/","title":{"rendered":"Almalinux Apache2, PHP 7.1 ve MariaDB 10 Kurulumu"},"content":{"rendered":"<p>Sunucu y\u00f6netiminde g\u00fcvenli ve kararl\u0131 yaz\u0131l\u0131m s\u00fcr\u00fcmleri b\u00fcy\u00fck \u00f6nem ta\u015f\u0131r. <strong>Narhost<\/strong> olarak PHP 7.1, Apache (Httpd) ve MariaDB 10 kurulumlar\u0131n\u0131 manuel olarak ger\u00e7ekle\u015ftirmek isteyen kullan\u0131c\u0131lar\u0131m\u0131z i\u00e7in ad\u0131m ad\u0131m kurulum rehberini haz\u0131rlad\u0131k.<\/p>\n<hr \/>\n<h3>\u2705 1. PHP 7.1 Kurulumu<\/h3>\n<p>PHP 7.1 kurulumu i\u00e7in \u00f6ncelikle gerekli havuzlar\u0131 (repository) etkinle\u015ftirmeniz gerekiyor:<\/p>\n<pre><code>yum install yum-utils -y\r\nyum install http:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm -y\r\nyum-config-manager --enable remi-php71\r\n<\/code><\/pre>\n<p>Ard\u0131ndan PHP ve yayg\u0131n kullan\u0131lan mod\u00fclleri y\u00fckleyebilirsiniz:<\/p>\n<pre><code>yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysql -y\r\n<\/code><\/pre>\n<p>\u2705 Kurulum sonras\u0131 PHP s\u00fcr\u00fcm\u00fcn\u00fc kontrol etmek i\u00e7in:<\/p>\n<pre><code>php -v\r\n<\/code><\/pre>\n<hr \/>\n<h3>\u2705 2. Apache (Httpd) Web Sunucusu Kurulumu<\/h3>\n<p>PHP kurulumu sonras\u0131 web sunucusu olarak Apache\u2019yi aktif hale getirmek i\u00e7in a\u015fa\u011f\u0131daki ad\u0131mlar\u0131 izleyebilirsiniz:<\/p>\n<pre><code>yum install httpd -y\r\nsystemctl enable httpd\r\nsystemctl start httpd\r\n<\/code><\/pre>\n<p>Apache\u2019nin ba\u015far\u0131yla \u00e7al\u0131\u015ft\u0131\u011f\u0131n\u0131 do\u011frulamak i\u00e7in:<\/p>\n<pre><code>systemctl status httpd\r\n<\/code><\/pre>\n<hr \/>\n<h3>\u2705 3. MariaDB 10.1 Kurulumu<\/h3>\n<p>MySQL yerine a\u00e7\u0131k kaynak kodlu MariaDB tercih eden kullan\u0131c\u0131lar\u0131m\u0131z i\u00e7in MariaDB 10.1 kurulumu \u015fu \u015fekilde yap\u0131l\u0131r:<\/p>\n<h4>MariaDB Repository Tan\u0131mlama:<\/h4>\n<pre><code>cat &gt; \/etc\/yum.repos.d\/MariaDB.repo &lt;&lt;EOF\r\n[mariadb]\r\nname = MariaDB\r\nbaseurl = http:\/\/yum.mariadb.org\/10.1\/centos7-amd64\r\ngpgkey=https:\/\/yum.mariadb.org\/RPM-GPG-KEY-MariaDB\r\ngpgcheck=1\r\nEOF\r\n<\/code><\/pre>\n<h4>MariaDB Sunucu ve \u0130stemci Kurulumu:<\/h4>\n<pre><code>yum install MariaDB-server MariaDB-client -y\r\n<\/code><\/pre>\n<h4>Servisi Ba\u015flatma ve Otomatik Ba\u015flang\u0131ca Alma:<\/h4>\n<pre><code>systemctl enable mariadb\r\nsystemctl start mariadb\r\nsystemctl status mariadb\r\n<\/code><\/pre>\n<p>\u2705 Kurulum sonras\u0131 g\u00fcvenlik ayarlar\u0131n\u0131 yap\u0131land\u0131rmak i\u00e7in:<\/p>\n<pre><code>mysql_secure_installation<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Sunucu y\u00f6netiminde g\u00fcvenli ve kararl\u0131 yaz\u0131l\u0131m s\u00fcr\u00fcmleri b\u00fcy\u00fck \u00f6nem ta\u015f\u0131r. Narhost olarak PHP 7.1, Apache (Httpd) ve MariaDB 10 kurulumlar\u0131n\u0131 manuel olarak ger\u00e7ekle\u015ftirmek isteyen kullan\u0131c\u0131lar\u0131m\u0131z i\u00e7in ad\u0131m ad\u0131m kurulum rehberini haz\u0131rlad\u0131k.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[49],"class_list":["post-602","post","type-post","status-publish","format-standard","hentry","category-vps-server","tag-centos"],"meta_box":[],"_links":{"self":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/602","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=602"}],"version-history":[{"count":3,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/602\/revisions"}],"predecessor-version":[{"id":1424,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/602\/revisions\/1424"}],"wp:attachment":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/media?parent=602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/categories?post=602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/tags?post=602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}