{"id":38851,"date":"2026-02-09T03:40:48","date_gmt":"2026-02-09T00:40:48","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/?p=38851"},"modified":"2026-02-09T03:40:48","modified_gmt":"2026-02-09T00:40:48","slug":"openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/","title":{"rendered":"OpenLiteSpeed Web Sunucusunu CentOS 7&#8217;ye Kurulumu: Kapsaml\u0131 Bir Rehber"},"content":{"rendered":"<p><body><\/p>\n<h2>OpenLiteSpeed Web Sunucusunu CentOS 7&#8217;ye Kurulumu: Kapsaml\u0131 Bir Rehber<\/h2>\n<p>OpenLiteSpeed (OLS), LiteSpeed Technologies taraf\u0131ndan geli\u015ftirilen, y\u00fcksek performansl\u0131 ve a\u00e7\u0131k kaynakl\u0131 bir web sunucusudur. Apache ve Nginx gibi pop\u00fcler alternatiflere k\u0131yasla daha h\u0131zl\u0131 statik ve dinamik i\u00e7erik sunumu, d\u00fc\u015f\u00fck kaynak t\u00fcketimi ve geli\u015fmi\u015f \u00f6nbellekleme yetenekleri ile \u00f6ne \u00e7\u0131kar. \u00d6zellikle WordPress, Joomla, Magento gibi i\u00e7erik y\u00f6netim sistemleri (CMS) kullanan ve y\u00fcksek trafikli web siteleri i\u00e7in ideal bir \u00e7\u00f6z\u00fcmd\u00fcr. Bu kapsaml\u0131 rehberde, OpenLiteSpeed web sunucusunu CentOS 7 i\u015fletim sistemine ad\u0131m ad\u0131m nas\u0131l kuraca\u011f\u0131n\u0131z\u0131 ve temel yap\u0131land\u0131rmalar\u0131n\u0131 nas\u0131l yapaca\u011f\u0131n\u0131z\u0131 \u00f6\u011freneceksiniz.<\/p>\n<h3>Giri\u015f: Neden OpenLiteSpeed?<\/h3>\n<p>Web sunucusu se\u00e7imi, bir web sitesinin performans\u0131, g\u00fcvenli\u011fi ve \u00f6l\u00e7eklenebilirli\u011fi a\u00e7\u0131s\u0131ndan kritik \u00f6neme sahiptir. OpenLiteSpeed, modern web uygulamalar\u0131n\u0131n ihtiya\u00e7lar\u0131n\u0131 kar\u015f\u0131lamak \u00fczere tasarlanm\u0131\u015ft\u0131r ve bir\u00e7ok avantaj sunar:<\/p>\n<p>*   <strong>Y\u00fcksek Performans:<\/strong> OLS, olay tabanl\u0131 mimarisi sayesinde binlerce e\u015fzamanl\u0131 ba\u011flant\u0131y\u0131 d\u00fc\u015f\u00fck kaynak t\u00fcketimiyle i\u015fleyebilir. Bu, \u00f6zellikle y\u00fcksek trafikli sitelerde sayfa y\u00fckleme s\u00fcrelerini \u00f6nemli \u00f6l\u00e7\u00fcde iyile\u015ftirir.<br \/>\n*   <strong>LiteSpeed Cache (LSCache):<\/strong> WordPress, Joomla, Magento gibi pop\u00fcler CMS&#8217;ler i\u00e7in \u00f6zel olarak tasarlanm\u0131\u015f g\u00fc\u00e7l\u00fc bir \u00f6nbellekleme mekanizmas\u0131 sunar. Bu, dinamik i\u00e7eri\u011fin bile statik dosyalar kadar h\u0131zl\u0131 sunulmas\u0131n\u0131 sa\u011flar.<br \/>\n*   <strong>Mod_Rewrite Uyumlulu\u011fu:<\/strong> Apache&#8217;nin <code>.htaccess<\/code> dosyalar\u0131yla neredeyse tamamen uyumludur, bu da mevcut Apache yap\u0131land\u0131rmalar\u0131n\u0131 OLS&#8217;ye ta\u015f\u0131may\u0131 kolayla\u015ft\u0131r\u0131r.<br \/>\n*   <strong>Geli\u015fmi\u015f \u00d6zellikler:<\/strong> HTTP\/3 (QUIC), HTTP\/2, WebSocket ve PHP i\u00e7in LSAPI deste\u011fi gibi modern web teknolojilerini destekler.<br \/>\n*   <strong>Kullan\u0131m Kolayl\u0131\u011f\u0131:<\/strong> Sezgisel bir web tabanl\u0131 y\u00f6netim paneli (WebAdmin Console) arac\u0131l\u0131\u011f\u0131yla kolayca yap\u0131land\u0131r\u0131labilir.<br \/>\n*   <strong>D\u00fc\u015f\u00fck Kaynak T\u00fcketimi:<\/strong> Apache&#8217;ye k\u0131yasla daha az CPU ve RAM kullan\u0131r, bu da sunucu maliyetlerini d\u00fc\u015f\u00fcrmeye yard\u0131mc\u0131 olabilir.<\/p>\n<p>Bu rehber, Linux sunucu y\u00f6netimi konusunda temel bilgilere sahip olan ve CentOS 7 \u00fczerinde OpenLiteSpeed kurmak isteyen kullan\u0131c\u0131lara y\u00f6neliktir.<\/p>\n<h3>\u00d6n Gereksinimler<\/h3>\n<p>Kuruluma ba\u015flamadan \u00f6nce a\u015fa\u011f\u0131daki \u00f6n gereksinimlerin kar\u015f\u0131land\u0131\u011f\u0131ndan emin olun:<\/p>\n<p>*   <strong>CentOS 7 Sunucusu:<\/strong> Minimum 1GB RAM ve 1 CPU \u00e7ekirde\u011fi \u00f6nerilir.<br \/>\n*   <strong>Root veya Sudo Ayr\u0131cal\u0131klar\u0131:<\/strong> Kurulum ve yap\u0131land\u0131rma i\u015flemleri i\u00e7in root kullan\u0131c\u0131s\u0131 olarak veya sudo ayr\u0131cal\u0131klar\u0131na sahip bir kullan\u0131c\u0131 ile oturum a\u00e7m\u0131\u015f olman\u0131z gerekir.<br \/>\n*   <strong>G\u00fcncel Sistem:<\/strong> Kuruluma ba\u015flamadan \u00f6nce sisteminizin g\u00fcncel olmas\u0131 \u00f6nemlidir.<br \/>\n*   <strong>\u0130nternet Ba\u011flant\u0131s\u0131:<\/strong> Sunucu, paketleri indirebilmek i\u00e7in internete eri\u015febilmelidir.<\/p>\n<h3>Sistem G\u00fcncellemesi ve Temel Paketlerin Kurulumu<\/h3>\n<p>\u0130lk ad\u0131m olarak, sunucunuzdaki paket listesini g\u00fcncelleyelim ve gerekli temel ara\u00e7lar\u0131 kural\u0131m.<\/p>\n<h4>Sistem Paketlerini G\u00fcncelleme<\/h4>\n<p>SSH ile sunucunuza ba\u011flan\u0131n ve a\u015fa\u011f\u0131daki komutu \u00e7al\u0131\u015ft\u0131r\u0131n:<\/p>\n<pre><code class=\"language-bash\">sudo yum update -y<\/code><\/pre>\n<p>Bu komut, sistemdeki t\u00fcm kurulu paketleri en son s\u00fcr\u00fcmlerine g\u00fcncelleyecektir. \u0130\u015flem tamamland\u0131ktan sonra, baz\u0131 \u00e7ekirdek g\u00fcncellemeleri i\u00e7in sunucuyu yeniden ba\u015flatmak faydal\u0131 olabilir, ancak \u00e7o\u011fu zaman zorunlu de\u011fildir.<\/p>\n<h4>EPEL Deposunu ve Gerekli Yard\u0131mc\u0131 Programlar\u0131 Kurma<\/h4>\n<p>EPEL (Extra Packages for Enterprise Linux) deposu, CentOS i\u00e7in ek yaz\u0131l\u0131mlar sa\u011flayan pop\u00fcler bir depodur. OpenLiteSpeed kurulumu i\u00e7in do\u011frudan gerekli olmasa da, ileride PHP mod\u00fclleri veya Certbot gibi ara\u00e7lar\u0131 kurmak i\u00e7in faydal\u0131 olacakt\u0131r.<\/p>\n<pre><code class=\"language-bash\">sudo yum install epel-release -y\nsudo yum install wget curl nano screen -y<\/code><\/pre>\n<p>*   <code>epel-release<\/code>: EPEL deposunu sisteme ekler.<br \/>\n*   <code>wget<\/code>: Dosyalar\u0131 komut sat\u0131r\u0131ndan indirmek i\u00e7in kullan\u0131l\u0131r.<br \/>\n*   <code>curl<\/code>: Web istekleri yapmak ve veri transfer etmek i\u00e7in kullan\u0131l\u0131r.<br \/>\n*   <code>nano<\/code>: Basit bir metin d\u00fczenleyicidir. Vi\/Vim kullanmakta rahatsan\u0131z onu da kullanabilirsiniz.<br \/>\n*   <code>screen<\/code>: SSH oturumunuzun ba\u011flant\u0131s\u0131 kopsa bile \u00e7al\u0131\u015fan s\u00fcre\u00e7lerinizi arka planda tutman\u0131z\u0131 sa\u011flar.<\/p>\n<h3>OpenLiteSpeed Kurulum Y\u00f6ntemleri<\/h3>\n<p>OpenLiteSpeed&#8217;i CentOS 7&#8217;ye kurman\u0131n birka\u00e7 yolu vard\u0131r: kaynak koddan derlemek veya LiteSpeed Technologies taraf\u0131ndan sa\u011flanan RPM deposunu kullanmak. En kolay ve \u00f6nerilen y\u00f6ntem, resmi RPM deposunu kullanmakt\u0131r, \u00e7\u00fcnk\u00fc bu y\u00f6ntem otomatik g\u00fcncellemeler ve ba\u011f\u0131ml\u0131l\u0131k y\u00f6netimi sa\u011flar.<\/p>\n<h4>OpenLiteSpeed RPM Deposunu Ekleme<\/h4>\n<p>LiteSpeed Technologies, OpenLiteSpeed i\u00e7in \u00f6zel bir RPM deposu sunar. Bu depoyu eklemek, <code>yum<\/code> paket y\u00f6neticisi arac\u0131l\u0131\u011f\u0131yla OpenLiteSpeed&#8217;i kolayca kurman\u0131z\u0131 sa\u011flar.<\/p>\n<pre><code class=\"language-bash\">sudo rpm -Uvh http:\/\/rpms.litespeedtech.com\/centos\/litespeed-repo-lp-1.1-1.el7.noarch.rpm<\/code><\/pre>\n<p>Bu komut, LiteSpeed deposu yap\u0131land\u0131rma dosyas\u0131n\u0131 <code>\/etc\/yum.repos.d\/<\/code> dizinine ekleyecektir. Deposunun ba\u015far\u0131yla eklendi\u011fini kontrol etmek i\u00e7in a\u015fa\u011f\u0131daki komutu kullanabilirsiniz:<\/p>\n<pre><code class=\"language-bash\">cat \/etc\/yum.repos.d\/litespeed.repo<\/code><\/pre>\n<p>\u00c7\u0131kt\u0131, LiteSpeed deposunun yap\u0131land\u0131rmas\u0131n\u0131 g\u00f6stermelidir.<\/p>\n<h4>OpenLiteSpeed Kurulumu<\/h4>\n<p>Depo eklendikten sonra, OpenLiteSpeed&#8217;i <code>yum<\/code> komutu ile kurabilirsiniz:<\/p>\n<pre><code class=\"language-bash\">sudo yum install openlitespeed -y<\/code><\/pre>\n<p>Bu komut, OpenLiteSpeed paketini ve gerekli t\u00fcm ba\u011f\u0131ml\u0131l\u0131klar\u0131n\u0131 indirecek ve kuracakt\u0131r. Kurulum tamamland\u0131\u011f\u0131nda, OpenLiteSpeed varsay\u0131lan olarak <code>\/usr\/local\/lsws<\/code> dizinine kurulur.<\/p>\n<h3>Y\u00f6netici \u015eifresi Belirleme<\/h3>\n<p>OpenLiteSpeed, web tabanl\u0131 bir y\u00f6netim paneli (WebAdmin Console) ile gelir. Bu panele eri\u015fmek i\u00e7in bir y\u00f6netici kullan\u0131c\u0131 ad\u0131 ve \u015fifresi belirlemeniz gerekir. Varsay\u0131lan kullan\u0131c\u0131 ad\u0131 <code>admin<\/code>&#8216;dir.<\/p>\n<pre><code class=\"language-bash\">sudo \/usr\/local\/lsws\/admin\/misc\/admpass.sh<\/code><\/pre>\n<p>Bu komutu \u00e7al\u0131\u015ft\u0131rd\u0131\u011f\u0131n\u0131zda, sizden bir kullan\u0131c\u0131 ad\u0131 (bo\u015f b\u0131rak\u0131rsan\u0131z <code>admin<\/code> olur) ve ard\u0131ndan iki kez \u015fifre girmenizi isteyecektir. G\u00fc\u00e7l\u00fc bir \u015fifre belirledi\u011finizden emin olun.<\/p>\n<pre><code class=\"language-\">Please specify a username for the new administrator.\n[admin]: \nPlease specify a password for the new administrator.\n[123456]: \nPlease retry password:<\/code><\/pre>\n<p>\u015eifre ba\u015far\u0131yla ayarland\u0131ktan sonra, y\u00f6netim paneline eri\u015fmeye haz\u0131r olacaks\u0131n\u0131z.<\/p>\n<h3>G\u00fcvenlik Duvar\u0131 Ayarlar\u0131<\/h3>\n<p>CentOS 7, varsay\u0131lan olarak <code>firewalld<\/code> g\u00fcvenlik duvar\u0131 hizmetini kullan\u0131r. OpenLiteSpeed&#8217;in d\u00fczg\u00fcn \u00e7al\u0131\u015fabilmesi ve y\u00f6netim paneline eri\u015filebilmesi i\u00e7in gerekli portlar\u0131 g\u00fcvenlik duvar\u0131nda a\u00e7man\u0131z gerekir.<\/p>\n<p>*   <strong>80\/tcp:<\/strong> Standart HTTP trafi\u011fi i\u00e7in.<br \/>\n*   <strong>443\/tcp:<\/strong> Standart HTTPS\/SSL trafi\u011fi i\u00e7in (daha sonra SSL kurarken gerekli olacak).<br \/>\n*   <strong>8088\/tcp:<\/strong> OpenLiteSpeed&#8217;in varsay\u0131lan web sunucusu portu (ilk kurulumda test etmek i\u00e7in).<br \/>\n*   <strong>7080\/tcp:<\/strong> OpenLiteSpeed WebAdmin Console portu.<\/p>\n<p>A\u015fa\u011f\u0131daki komutlar\u0131 s\u0131ras\u0131yla \u00e7al\u0131\u015ft\u0131rarak bu portlar\u0131 g\u00fcvenlik duvar\u0131na ekleyin:<\/p>\n<pre><code class=\"language-bash\">sudo firewall-cmd --zone=public --add-port=80\/tcp --permanent\nsudo firewall-cmd --zone=public --add-port=443\/tcp --permanent\nsudo firewall-cmd --zone=public --add-port=8088\/tcp --permanent\nsudo firewall-cmd --zone=public --add-port=7080\/tcp --permanent\nsudo firewall-cmd --reload<\/code><\/pre>\n<p>*   <code>--zone=public<\/code>: Genel a\u011f aray\u00fczleri i\u00e7in kurallar\u0131 tan\u0131mlar.<br \/>\n*   <code>--add-port<\/code>: Belirtilen portu ekler.<br \/>\n*   <code>--permanent<\/code>: Kural\u0131n kal\u0131c\u0131 olmas\u0131n\u0131 sa\u011flar (yeniden ba\u015flatmadan sonra da ge\u00e7erli olur).<br \/>\n*   <code>--reload<\/code>: G\u00fcvenlik duvar\u0131n\u0131 yeniden y\u00fckleyerek yeni kurallar\u0131n etkinle\u015fmesini sa\u011flar.<\/p>\n<h3>OpenLiteSpeed Servisini Y\u00f6netme<\/h3>\n<p>OpenLiteSpeed, bir <code>systemd<\/code> servisi olarak \u00e7al\u0131\u015f\u0131r. Servisi ba\u015flatmak, durdurmak, yeniden ba\u015flatmak veya durumunu kontrol etmek i\u00e7in <code>systemctl<\/code> komutunu kullanabilirsiniz.<\/p>\n<h4>OpenLiteSpeed&#8217;i Ba\u015flatma<\/h4>\n<pre><code class=\"language-bash\">sudo systemctl start lsws<\/code><\/pre>\n<h4>OpenLiteSpeed&#8217;i Otomatik Ba\u015flatmaya Ayarlama<\/h4>\n<p>Sunucu yeniden ba\u015flat\u0131ld\u0131\u011f\u0131nda OpenLiteSpeed&#8217;in otomatik olarak ba\u015flamas\u0131 i\u00e7in:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl enable lsws<\/code><\/pre>\n<h4>OpenLiteSpeed Durumunu Kontrol Etme<\/h4>\n<pre><code class=\"language-bash\">sudo systemctl status lsws<\/code><\/pre>\n<p>\u00c7\u0131kt\u0131da <code>Active: active (running)<\/code> ifadesini g\u00f6rmeniz gerekir.<\/p>\n<h4>OpenLiteSpeed&#8217;i Durdurma<\/h4>\n<pre><code class=\"language-bash\">sudo systemctl stop lsws<\/code><\/pre>\n<h4>OpenLiteSpeed&#8217;i Yeniden Ba\u015flatma<\/h4>\n<p>Yap\u0131land\u0131rma de\u011fi\u015fikliklerinden sonra servisi yeniden ba\u015flatmak i\u00e7in:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl restart lsws<\/code><\/pre>\n<h3>OpenLiteSpeed Web Y\u00f6netim Aray\u00fcz\u00fcne Eri\u015fim<\/h3>\n<p>\u015eimdi OpenLiteSpeed&#8217;in web tabanl\u0131 y\u00f6netim paneline eri\u015febilirsiniz. Web taray\u0131c\u0131n\u0131z\u0131 a\u00e7\u0131n ve sunucunuzun IP adresini ve 7080 portunu kullanarak a\u015fa\u011f\u0131daki adrese gidin:<\/p>\n<p><code>http:\/\/SUNUCU_IP_ADRESINIZ:7080<\/code><\/p>\n<p>\u00d6rne\u011fin, sunucunuzun IP adresi <code>192.168.1.100<\/code> ise, <code>http:\/\/192.168.1.100:7080<\/code> adresine gidin.<\/p>\n<p>Kar\u015f\u0131n\u0131za bir giri\u015f ekran\u0131 gelecektir. Daha \u00f6nce <code>admpass.sh<\/code> beti\u011fi ile belirledi\u011finiz kullan\u0131c\u0131 ad\u0131 (<code>admin<\/code>) ve \u015fifre ile giri\u015f yap\u0131n.<\/p>\n<p>Giri\u015f yapt\u0131ktan sonra, OpenLiteSpeed WebAdmin Console aray\u00fcz\u00fcn\u00fc g\u00f6receksiniz. Buradan sunucu ayarlar\u0131n\u0131, sanal ana bilgisayarlar\u0131 (Virtual Hosts), dinleyicileri (Listeners), PHP i\u015flemcilerini ve di\u011fer bir\u00e7ok ayar\u0131 y\u00f6netebilirsiniz.<\/p>\n<p>Varsay\u0131lan olarak, OpenLiteSpeed bir &#8220;Example&#8221; sanal ana bilgisayar\u0131n\u0131 8088 portunda dinler. Taray\u0131c\u0131n\u0131zda <code>http:\/\/SUNUCU_IP_ADRESINIZ:8088<\/code> adresine giderek varsay\u0131lan ho\u015f geldiniz sayfas\u0131n\u0131 g\u00f6rebilirsiniz.<\/p>\n<h3>\u0130lk Sanal Ana Bilgisayar (Virtual Host) Olu\u015fturma ve Yap\u0131land\u0131rma<\/h3>\n<p>Kendi web sitenizi bar\u0131nd\u0131rmak i\u00e7in yeni bir sanal ana bilgisayar olu\u015fturman\u0131z veya mevcut olan\u0131 d\u00fczenlemeniz gerekir. Bu b\u00f6l\u00fcmde, <code>example.com<\/code> ad\u0131nda yeni bir web sitesi i\u00e7in sanal ana bilgisayar olu\u015fturma ad\u0131mlar\u0131n\u0131 ele alaca\u011f\u0131z.<\/p>\n<h4>A. Dizin Yap\u0131s\u0131 Olu\u015fturma<\/h4>\n<p>Web sitenizin dosyalar\u0131n\u0131 bar\u0131nd\u0131racak dizinleri olu\u015ftural\u0131m. OpenLiteSpeed, varsay\u0131lan olarak <code>nobody<\/code> kullan\u0131c\u0131s\u0131 alt\u0131nda \u00e7al\u0131\u015f\u0131r, bu y\u00fczden dizinlerin bu kullan\u0131c\u0131ya ait olmas\u0131 veya bu kullan\u0131c\u0131 taraf\u0131ndan yaz\u0131labilir olmas\u0131 gerekir.<\/p>\n<pre><code class=\"language-bash\">sudo mkdir -p \/home\/www\/example.com\/public_html\nsudo chown -R nobody:nobody \/home\/www\/example.com\nsudo chmod -R 755 \/home\/www\/example.com<\/code><\/pre>\n<p>*   <code>\/home\/www\/example.com\/public_html<\/code>: Web sitenizin k\u00f6k dizini (document root).<br \/>\n*   <code>chown -R nobody:nobody<\/code>: Dizinlerin sahipli\u011fini <code>nobody<\/code> kullan\u0131c\u0131s\u0131na ve grubuna atar.<br \/>\n*   <code>chmod -R 755<\/code>: Dizinlere ve dosyalara okuma ve \u00e7al\u0131\u015ft\u0131rma izinleri verir.<\/p>\n<p>Basit bir <code>index.html<\/code> dosyas\u0131 olu\u015ftural\u0131m:<\/p>\n<pre><code class=\"language-bash\">sudo nano \/home\/www\/example.com\/public_html\/index.html<\/code><\/pre>\n<p>Dosyaya a\u015fa\u011f\u0131daki i\u00e7eri\u011fi ekleyin ve kaydedin (Ctrl+X, Y, Enter):<\/p>\n<pre><code class=\"language-html\"><!DOCTYPE html>\n<html>\n<head>\n    <title>OpenLiteSpeed Test Sayfas\u0131<\/title>\n<\/head>\n<body>\n    \n    <p>Bu, example.com i\u00e7in test sayfan\u0131zd\u0131r.<\/p>\n<\/body>\n<\/html><\/code><\/pre>\n<h4>B. Y\u00f6netim Aray\u00fcz\u00fcnden Sanal Ana Bilgisayar Ekleme<\/h4>\n<p>1.  WebAdmin Console&#8217;a giri\u015f yap\u0131n (<code>http:\/\/SUNUCU_IP_ADRESINIZ:7080<\/code>).<br \/>\n2.  Sol men\u00fcden <strong>Virtual Hosts<\/strong>&#8216;a t\u0131klay\u0131n.<br \/>\n3.  Sa\u011f \u00fcstteki <strong>Add<\/strong> butonuna t\u0131klay\u0131n.<br \/>\n4.  A\u015fa\u011f\u0131daki bilgileri girin:<br \/>\n    *   <strong>Virtual Host Name:<\/strong> <code>example.com<\/code> (Benzersiz bir isim verin)<br \/>\n    *   <strong>Virtual Host Root:<\/strong> <code>\/home\/www\/example.com<\/code> (Olu\u015fturdu\u011fumuz k\u00f6k dizin)<br \/>\n    *   <strong>Document Root:<\/strong> <code>public_html\/<\/code> (Virtual Host Root&#8217;a g\u00f6re g\u00f6receli yol)<br \/>\n    *   <strong>Enable Script Handler:<\/strong> Yes<br \/>\n    *   <strong>Enable Rewrite:<\/strong> Yes (Apache .htaccess uyumlulu\u011fu i\u00e7in)<br \/>\n5.  <strong>Save<\/strong> butonuna t\u0131klay\u0131n.<\/p>\n<p>Yeni sanal ana bilgisayar\u0131n\u0131z listede g\u00f6r\u00fcnecektir. \u015eimdi onu d\u00fczenlememiz gerekiyor. <strong>View\/Edit<\/strong> ikonuna t\u0131klay\u0131n.<\/p>\n<p>*   <strong>General<\/strong> sekmesinde, ihtiyac\u0131n\u0131za g\u00f6re ayarlar\u0131 g\u00f6zden ge\u00e7irebilirsiniz.<br \/>\n*   <strong>Rewrite<\/strong> sekmesinde, <strong>Rewrite Control<\/strong>&#8216;\u00fc <code>Yes<\/code> olarak ayarlay\u0131n ve <strong>Rewrite Rules<\/strong>&#8216;a Apache <code>.htaccess<\/code> kurallar\u0131n\u0131z\u0131 ekleyebilirsiniz.<br \/>\n*   <strong>Context<\/strong> sekmesinde, web sitenizin farkl\u0131 i\u00e7erik t\u00fcrlerini nas\u0131l i\u015fleyece\u011fini tan\u0131mlars\u0131n\u0131z. PHP i\u00e7in daha sonra bu b\u00f6l\u00fcm\u00fc kullanaca\u011f\u0131z.<\/p>\n<h4>C. Listener Yap\u0131land\u0131rmas\u0131<\/h4>\n<p>Sanal ana bilgisayar\u0131m\u0131z\u0131 bir dinleyiciye (listener) ba\u011flamam\u0131z gerekiyor, b\u00f6ylece OpenLiteSpeed gelen istekleri do\u011fru sanal ana bilgisayara y\u00f6nlendirebilir. Varsay\u0131lan olarak 8088 portunda bir dinleyici vard\u0131r. Biz 80 portunu (HTTP) kullanaca\u011f\u0131z.<\/p>\n<p>1.  Sol men\u00fcden <strong>Listeners<\/strong>&#8216;a t\u0131klay\u0131n.<br \/>\n2.  Var olan <strong>Default<\/strong> dinleyiciyi d\u00fczenleyebilir veya yeni bir tane ekleyebilirsiniz. Genellikle 80 portu i\u00e7in yeni bir dinleyici eklemek daha iyidir. <strong>Add<\/strong> butonuna t\u0131klay\u0131n.<br \/>\n3.  A\u015fa\u011f\u0131daki bilgileri girin:<br \/>\n    *   <strong>Listener Name:<\/strong> <code>HTTP_80<\/code><br \/>\n    *   <strong>IP Address:<\/strong> <code>ANY<\/code><br \/>\n    *   <strong>Port:<\/strong> <code>80<\/code><br \/>\n    *   <strong>Secure:<\/strong> <code>No<\/code> (\u015fimdilik HTTP i\u00e7in)<br \/>\n4.  <strong>Save<\/strong> butonuna t\u0131klay\u0131n.<br \/>\n5.  Yeni olu\u015fturdu\u011funuz <code>HTTP_80<\/code> dinleyicisinin <strong>View\/Edit<\/strong> ikonuna t\u0131klay\u0131n.<br \/>\n6.  <strong>Virtual Host Mappings<\/strong> sekmesine gidin.<br \/>\n7.  <strong>Add<\/strong> butonuna t\u0131klay\u0131n.<br \/>\n    *   <strong>Virtual Host:<\/strong> <code>example.com<\/code> (olu\u015fturdu\u011funuz sanal ana bilgisayar\u0131 se\u00e7in)<br \/>\n    *   <strong>Domains:<\/strong> <code>example.com, www.example.com<\/code> (Alan adlar\u0131n\u0131z\u0131 virg\u00fclle ay\u0131rarak girin)<br \/>\n8.  <strong>Save<\/strong> butonuna t\u0131klay\u0131n.<\/p>\n<p>T\u00fcm bu de\u011fi\u015fikliklerden sonra, WebAdmin Console&#8217;un sa\u011f \u00fcst k\u00f6\u015fesinde beliren <strong>Graceful Restart<\/strong> butonuna t\u0131klayarak OpenLiteSpeed&#8217;i yeniden ba\u015flat\u0131n.<\/p>\n<p>\u015eimdi taray\u0131c\u0131n\u0131zda <code>http:\/\/example.com<\/code> (veya DNS&#8217;iniz hen\u00fcz ayarl\u0131 de\u011filse <code>http:\/\/SUNUCU_IP_ADRESINIZ<\/code> adresine giderek) test sayfan\u0131z\u0131 g\u00f6rmelisiniz.<\/p>\n<h3>PHP Kurulumu ve Entegrasyonu<\/h3>\n<p>OpenLiteSpeed, PHP&#8217;yi kendi y\u00fcksek performansl\u0131 LSAPI (LiteSpeed SAPI) ile entegre eder. Bu, PHP&#8217;nin do\u011frudan OpenLiteSpeed ile ileti\u015fim kurmas\u0131n\u0131 sa\u011flayarak FastCGI&#8217;ye g\u00f6re daha iyi performans sunar.<\/p>\n<h4>A. PHP S\u00fcr\u00fcm\u00fcn\u00fc Kurma<\/h4>\n<p>OpenLiteSpeed deposu, \u00e7e\u015fitli PHP s\u00fcr\u00fcmlerini <code>lsphp<\/code> \u00f6nekiyle sunar. \u00d6rne\u011fin, PHP 7.3, 7.4, 8.0, 8.1, 8.2 veya 8.3 kurabilirsiniz. Bu \u00f6rnekte PHP 7.3&#8217;\u00fc kullanaca\u011f\u0131z.<\/p>\n<pre><code class=\"language-bash\">sudo yum install lsphp73 lsphp73-mysqlnd lsphp73-gd lsphp73-mbstring -y<\/code><\/pre>\n<p>\u0130htiyac\u0131n\u0131z olan di\u011fer PHP mod\u00fcllerini de (\u00f6rne\u011fin <code>lsphp73-opcache<\/code>, <code>lsphp73-xml<\/code> vb.) kurabilirsiniz. Kurulumdan sonra PHP&#8217;nin y\u00fcr\u00fct\u00fclebilir dosyas\u0131 <code>\/usr\/local\/lsws\/lsphp73\/bin\/lsphp<\/code> konumunda olacakt\u0131r.<\/p>\n<h4>B. Y\u00f6netim Aray\u00fcz\u00fcnden PHP \u0130\u015flemcisini Yap\u0131land\u0131rma<\/h4>\n<p>1.  WebAdmin Console&#8217;a giri\u015f yap\u0131n.<br \/>\n2.  Sol men\u00fcden <strong>Server Configuration<\/strong> -> <strong>External App<\/strong>&#8216;e t\u0131klay\u0131n.<br \/>\n3.  <strong>Add<\/strong> butonuna t\u0131klay\u0131n.<br \/>\n4.  <strong>Type<\/strong> olarak <code>LiteSpeed SAPI App<\/code> se\u00e7in ve <strong>Next<\/strong>&#8216;e t\u0131klay\u0131n.<br \/>\n5.  A\u015fa\u011f\u0131daki bilgileri girin:<br \/>\n    *   <strong>Name:<\/strong> <code>lsphp73<\/code> (veya kulland\u0131\u011f\u0131n\u0131z PHP s\u00fcr\u00fcm\u00fcne g\u00f6re bir isim)<br \/>\n    *   <strong>Address:<\/strong> <code>uds:\/\/tmp\/lshttpd\/lsphp.sock<\/code> (Unix domain soketi kullanmak en performansl\u0131 y\u00f6ntemdir)<br \/>\n    *   <strong>Max Connections:<\/strong> <code>10<\/code> (veya sunucunuzun kaynaklar\u0131na g\u00f6re ayarlay\u0131n)<br \/>\n    *   <strong>Environment:<\/strong> (Bo\u015f b\u0131rak\u0131labilir veya ek PHP ortam de\u011fi\u015fkenleri eklenebilir)<br \/>\n    *   <strong>Command:<\/strong> <code>$SERVER_ROOT\/lsphp73\/bin\/lsphp<\/code> (PHP y\u00fcr\u00fct\u00fclebilir dosyas\u0131n\u0131n yolu)<br \/>\n    *   <strong>Back Log:<\/strong> <code>100<\/code><br \/>\n    *   <strong>Instances:<\/strong> <code>1<\/code><br \/>\n    *   <strong>Priority:<\/strong> <code>0<\/code><br \/>\n    *   <strong>Connection Timeout:<\/strong> <code>300<\/code><br \/>\n    *   <strong>Auto Start:<\/strong> <code>Yes<\/code><br \/>\n    *   <strong>Stop By Server:<\/strong> <code>Yes<\/code><br \/>\n    *   <strong>Max Idle Time:<\/strong> <code>300<\/code><br \/>\n    *   <strong>PHP_LSAPI_MAX_REQUESTS:<\/strong> <code>500<\/code><br \/>\n    *   <strong>PHP_LSAPI_CHILDREN:<\/strong> <code>35<\/code><br \/>\n6.  <strong>Save<\/strong> butonuna t\u0131klay\u0131n.<\/p>\n<h4>C. Sanal Ana Bilgisayar\u0131 PHP ile \u0130li\u015fkilendirme<\/h4>\n<p>\u015eimdi olu\u015fturdu\u011fumuz PHP i\u015flemcisini <code>example.com<\/code> sanal ana bilgisayar\u0131m\u0131zla ili\u015fkilendirmemiz gerekiyor.<\/p>\n<p>1.  Sol men\u00fcden <strong>Virtual Hosts<\/strong>&#8216;a t\u0131klay\u0131n.<br \/>\n2.  <code>example.com<\/code> sanal ana bilgisayar\u0131n\u0131n <strong>View\/Edit<\/strong> ikonuna t\u0131klay\u0131n.<br \/>\n3.  <strong>General<\/strong> sekmesinde, <strong>Script Handler<\/strong> b\u00f6l\u00fcm\u00fcne gidin.<br \/>\n4.  <strong>Add<\/strong> butonuna t\u0131klay\u0131n.<br \/>\n    *   <strong>Suffixes:<\/strong> <code>php<\/code><br \/>\n    *   <strong>Handler Type:<\/strong> <code>LiteSpeed SAPI<\/code><br \/>\n    *   <strong>Handler Name:<\/strong> <code>lsphp73<\/code> (Olu\u015fturdu\u011funuz PHP i\u015flemcisinin ad\u0131n\u0131 se\u00e7in)<br \/>\n5.  <strong>Save<\/strong> butonuna t\u0131klay\u0131n.<br \/>\n6.  Ard\u0131ndan <strong>Context<\/strong> sekmesine gidin.<br \/>\n7.  <strong>Add<\/strong> butonuna t\u0131klay\u0131n.<br \/>\n    *   <strong>Type:<\/strong> <code>CGI<\/code> (veya <code>Servlet<\/code> e\u011fer Java uygulamas\u0131 ise)<br \/>\n    *   <strong>URI:<\/strong> <code>\/.php<\/code><br \/>\n    *   <strong>Handler:<\/strong> <code>lsphp73<\/code> (Olu\u015fturdu\u011funuz PHP i\u015flemcisinin ad\u0131n\u0131 se\u00e7in)<br \/>\n8.  <strong>Save<\/strong> butonuna t\u0131klay\u0131n.<\/p>\n<p>T\u00fcm bu de\u011fi\u015fikliklerden sonra, WebAdmin Console&#8217;un sa\u011f \u00fcst k\u00f6\u015fesinde beliren <strong>Graceful Restart<\/strong> butonuna t\u0131klayarak OpenLiteSpeed&#8217;i yeniden ba\u015flat\u0131n.<\/p>\n<p>PHP&#8217;nin \u00e7al\u0131\u015ft\u0131\u011f\u0131n\u0131 test etmek i\u00e7in <code>example.com<\/code> web sitenizin <code>public_html<\/code> dizininde bir <code>info.php<\/code> dosyas\u0131 olu\u015ftural\u0131m:<\/p>\n<pre><code class=\"language-bash\">sudo nano \/home\/www\/example.com\/public_html\/info.php<\/code><\/pre>\n<p>Dosyaya a\u015fa\u011f\u0131daki i\u00e7eri\u011fi ekleyin ve kaydedin:<\/p>\n<pre><code class=\"language-php\"><?php\nphpinfo();\n?><\/code><\/pre>\n<p>Taray\u0131c\u0131n\u0131zda <code>http:\/\/example.com\/info.php<\/code> adresine giderek PHP bilgi sayfas\u0131n\u0131 g\u00f6rmelisiniz. Bu, PHP&#8217;nin OpenLiteSpeed ile ba\u015far\u0131yla entegre edildi\u011fini g\u00f6sterir.<\/p>\n<h3>SSL\/TLS Kurulumu (Let&#8217;s Encrypt ile)<\/h3>\n<p>Modern web siteleri i\u00e7in SSL\/TLS (HTTPS) olmazsa olmazd\u0131r. Let&#8217;s Encrypt, \u00fccretsiz SSL sertifikalar\u0131 sa\u011flayan pop\u00fcler bir sertifika yetkilisidir. Certbot arac\u0131n\u0131 kullanarak Let&#8217;s Encrypt sertifikalar\u0131n\u0131 kolayca alabilir ve OpenLiteSpeed&#8217;e entegre edebilirsiniz.<\/p>\n<h4>Certbot Kurulumu<\/h4>\n<p>Certbot, EPEL deposunda bulunur. Daha \u00f6nce EPEL deposunu kurmu\u015ftuk.<\/p>\n<pre><code class=\"language-bash\">sudo yum install certbot -y<\/code><\/pre>\n<h4>Sertifika Alma<\/h4>\n<p>Certbot&#8217;u webroot eklentisi ile kullanarak sertifika alaca\u011f\u0131z. Bu y\u00f6ntem, web sunucusunun \u00e7al\u0131\u015f\u0131r durumda olmas\u0131n\u0131 gerektirir ve Certbot, domain sahipli\u011fini do\u011frulamak i\u00e7in web sitenizin k\u00f6k dizinine ge\u00e7ici bir dosya yerle\u015ftirir.<\/p>\n<pre><code class=\"language-bash\">sudo certbot certonly --webroot -w \/home\/www\/example.com\/public_html -d example.com -d www.example.com<\/code><\/pre>\n<p>*   <code>--webroot<\/code>: Webroot eklentisini kullan\u0131r.<br \/>\n*   <code>-w \/home\/www\/example.com\/public_html<\/code>: Web sitenizin k\u00f6k dizinini belirtir.<br \/>\n*   <code>-d example.com -d www.example.com<\/code>: Sertifika almak istedi\u011finiz alan adlar\u0131n\u0131 belirtir. Birden fazla alan ad\u0131 i\u00e7in <code>-d<\/code> parametresini tekrar kullan\u0131n.<\/p>\n<p>Sertifika alma i\u015flemi s\u0131ras\u0131nda sizden e-posta adresi, hizmet ko\u015fullar\u0131n\u0131 kabul etmeniz ve e-posta listenize kaydolup kaydolmama se\u00e7enekleri istenecektir. \u0130\u015flem ba\u015far\u0131yla tamamland\u0131\u011f\u0131nda, sertifikalar\u0131n\u0131z <code>\/etc\/letsencrypt\/live\/example.com\/<\/code> dizininde saklanacakt\u0131r.<\/p>\n<p>*   <code>privkey.pem<\/code>: \u00d6zel anahtar\u0131n\u0131z.<br \/>\n*   <code>fullchain.pem<\/code>: Sertifika ve ara sertifikalar\u0131 i\u00e7eren dosya.<br \/>\n*   <code>chain.pem<\/code>: Yaln\u0131zca ara sertifikalar\u0131 i\u00e7eren dosya.<br \/>\n*   <code>cert.pem<\/code>: Yaln\u0131zca alan ad\u0131 sertifikas\u0131n\u0131 i\u00e7eren dosya.<\/p>\n<h4>A. OLS Y\u00f6netim Aray\u00fcz\u00fcnden SSL Yap\u0131land\u0131rmas\u0131<\/h4>\n<p>1.  WebAdmin Console&#8217;a giri\u015f yap\u0131n.<br \/>\n2.  Sol men\u00fcden <strong>Listeners<\/strong>&#8216;a t\u0131klay\u0131n.<br \/>\n3.  <strong>Add<\/strong> butonuna t\u0131klayarak yeni bir dinleyici olu\u015fturun (veya mevcut 80 port dinleyicisini d\u00fczenleyin, ancak HTTPS i\u00e7in ayr\u0131 bir dinleyici \u00f6nerilir).<br \/>\n4.  A\u015fa\u011f\u0131daki bilgileri girin:<br \/>\n    *   <strong>Listener Name:<\/strong> <code>HTTPS_443<\/code><br \/>\n    *   <strong>IP Address:<\/strong> <code>ANY<\/code><br \/>\n    *   <strong>Port:<\/strong> <code>443<\/code><br \/>\n    *   <strong>Secure:<\/strong> <code>Yes<\/code><br \/>\n5.  <strong>Save<\/strong> butonuna t\u0131klay\u0131n.<br \/>\n6.  Yeni olu\u015fturdu\u011funuz <code>HTTPS_443<\/code> dinleyicisinin <strong>View\/Edit<\/strong> ikonuna t\u0131klay\u0131n.<br \/>\n7.  <strong>SSL<\/strong> sekmesine gidin.<br \/>\n8.  A\u015fa\u011f\u0131daki yollar\u0131 girin:<br \/>\n    *   <strong>Private Key File:<\/strong> <code>\/etc\/letsencrypt\/live\/example.com\/privkey.pem<\/code><br \/>\n    *   <strong>Certificate File:<\/strong> <code>\/etc\/letsencrypt\/live\/example.com\/fullchain.pem<\/code><br \/>\n    *   <strong>Chain Certificate File:<\/strong> <code>\/etc\/letsencrypt\/live\/example.com\/chain.pem<\/code> (Baz\u0131 durumlarda <code>fullchain.pem<\/code> yeterli olabilir, ancak uyumluluk i\u00e7in <code>chain.pem<\/code> eklemek faydal\u0131d\u0131r.)<br \/>\n9.  <strong>Save<\/strong> butonuna t\u0131klay\u0131n.<br \/>\n10. <strong>Virtual Host Mappings<\/strong> sekmesine gidin.<br \/>\n11. <strong>Add<\/strong> butonuna t\u0131klay\u0131n.<br \/>\n    *   <strong>Virtual Host:<\/strong> <code>example.com<\/code><br \/>\n    *   <strong>Domains:<\/strong> <code>example.com, www.example.com<\/code><br \/>\n12. <strong>Save<\/strong> butonuna t\u0131klay\u0131n.<\/p>\n<h4>B. G\u00fcvenlik Duvar\u0131 Ayar\u0131<\/h4>\n<p>Daha \u00f6nce 443 portunu g\u00fcvenlik duvar\u0131na eklemi\u015ftik. E\u011fer eklemediyseniz, \u015fimdi ekleyin:<\/p>\n<pre><code class=\"language-bash\">sudo firewall-cmd --zone=public --add-port=443\/tcp --permanent\nsudo firewall-cmd --reload<\/code><\/pre>\n<p>T\u00fcm bu de\u011fi\u015fikliklerden sonra, WebAdmin Console&#8217;un sa\u011f \u00fcst k\u00f6\u015fesinde beliren <strong>Graceful Restart<\/strong> butonuna t\u0131klayarak OpenLiteSpeed&#8217;i yeniden ba\u015flat\u0131n.<\/p>\n<p>\u015eimdi taray\u0131c\u0131n\u0131zda <code>https:\/\/example.com<\/code> adresine giderek web sitenizin g\u00fcvenli bir ba\u011flant\u0131 \u00fczerinden \u00e7al\u0131\u015ft\u0131\u011f\u0131n\u0131 kontrol edebilirsiniz.<\/p>\n<h4>C. Otomatik Yenileme<\/h4>\n<p>Let&#8217;s Encrypt sertifikalar\u0131 90 g\u00fcn ge\u00e7erlidir. Bu nedenle, bunlar\u0131 otomatik olarak yenilemek i\u00e7in bir <code>cron<\/code> i\u015fi ayarlaman\u0131z \u00f6nemlidir.<\/p>\n<pre><code class=\"language-bash\">sudo crontab -e<\/code><\/pre>\n<p>A\u00e7\u0131lan dosyaya a\u015fa\u011f\u0131daki sat\u0131r\u0131 ekleyin ve kaydedin:<\/p>\n<pre><code class=\"language-cron\">0 0,12 <em> <\/em> <em> python -c 'import random; import time; time.sleep(random.random() <\/em> 3600)' && certbot renew --quiet && systemctl reload lsws<\/code><\/pre>\n<p>Bu <code>cron<\/code> i\u015fi, her g\u00fcn gece yar\u0131s\u0131 ve \u00f6\u011flen olmak \u00fczere iki kez \u00e7al\u0131\u015f\u0131r. <code>random<\/code> ve <code>time.sleep<\/code> komutlar\u0131, Let&#8217;s Encrypt sunucular\u0131na ayn\u0131 anda yap\u0131lan istekleri da\u011f\u0131tmak i\u00e7in kullan\u0131l\u0131r. <code>certbot renew --quiet<\/code> komutu, yaln\u0131zca s\u00fcresi dolmak \u00fczere olan sertifikalar\u0131 sessizce yeniler. Yenileme ba\u015far\u0131l\u0131 olursa, OpenLiteSpeed servisi yeniden y\u00fcklenerek yeni sertifikalar\u0131n etkinle\u015fmesi sa\u011flan\u0131r.<\/p>\n<h3>Temel Optimizasyonlar ve \u0130pu\u00e7lar\u0131<\/h3>\n<p>OpenLiteSpeed&#8217;in performans potansiyelini tam olarak kullanmak i\u00e7in baz\u0131 ek optimizasyonlar yapabilirsiniz:<\/p>\n<p>*   <strong>LSCache Kurulumu:<\/strong> E\u011fer WordPress, Joomla, Magento gibi bir CMS kullan\u0131yorsan\u0131z, LSCache eklentisini kurman\u0131z performans\u0131 b\u00fcy\u00fck \u00f6l\u00e7\u00fcde art\u0131racakt\u0131r. Eklentiyi ilgili CMS&#8217;in eklenti deposundan indirip kurabilirsiniz. LSCache, sunucu d\u00fczeyinde \u00f6nbellekleme yaparak dinamik sayfalar\u0131 statik hale getirir.<br \/>\n*   <strong>Gzip S\u0131k\u0131\u015ft\u0131rma:<\/strong> WebAdmin Console&#8217;dan <strong>Server Configuration<\/strong> -> <strong>Tuning<\/strong> -> <strong>Gzip Compression<\/strong> b\u00f6l\u00fcm\u00fcne giderek Gzip s\u0131k\u0131\u015ft\u0131rmay\u0131 etkinle\u015ftirin. Bu, web sayfalar\u0131n\u0131z\u0131n boyutunu k\u00fc\u00e7\u00fclterek daha h\u0131zl\u0131 y\u00fcklenmesini sa\u011flar.<br \/>\n*   <strong>Browser \u00d6nbellekleme:<\/strong> Statik dosyalar i\u00e7in (resimler, CSS, JS) taray\u0131c\u0131 \u00f6nbelleklemesini etkinle\u015ftirmek, tekrar eden ziyaret\u00e7iler i\u00e7in y\u00fckleme s\u00fcrelerini k\u0131salt\u0131r. Bunu <code>Virtual Host<\/code> -> <code>Context<\/code> b\u00f6l\u00fcm\u00fcnde <code>Static<\/code> tipinde bir Context ekleyerek ve <code>Expires Header<\/code> ayar\u0131n\u0131 yap\u0131land\u0131rarak yapabilirsiniz.<br \/>\n*   <strong>HTTP\/2 ve HTTP\/3 (QUIC):<\/strong> OpenLiteSpeed, modern HTTP\/2 ve HTTP\/3 protokollerini destekler. SSL etkinle\u015ftirildi\u011finde HTTP\/2 genellikle otomatik olarak aktif olur. HTTP\/3 i\u00e7in ise ek yap\u0131land\u0131rmalar gerekebilir.<br \/>\n*   <strong>Mod_Rewrite Kurallar\u0131:<\/strong> Apache <code>.htaccess<\/code> dosyalar\u0131ndaki <code>RewriteRule<\/code> kurallar\u0131n\u0131z\u0131 OpenLiteSpeed&#8217;in kendi rewrite motoruyla kullanabilirsiniz. <code>Virtual Hosts<\/code> -> <code>example.com<\/code> -> <code>Rewrite<\/code> sekmesinde <code>Rewrite Control<\/code>&#8216;\u00fc <code>Yes<\/code> olarak ayarlay\u0131n ve kurallar\u0131n\u0131z\u0131 <code>Rewrite Rules<\/code> alan\u0131na yap\u0131\u015ft\u0131r\u0131n.<br \/>\n*   <strong>PHP Ayarlar\u0131:<\/strong> <code>php.ini<\/code> dosyas\u0131n\u0131 (<code>\/usr\/local\/lsws\/lsphp73\/etc\/php\/7.3\/litespeed\/php.ini<\/code> gibi bir konumda bulunur) d\u00fczenleyerek <code>memory_limit<\/code>, <code>upload_max_filesize<\/code>, <code>max_execution_time<\/code> gibi de\u011ferleri web sitenizin ihtiya\u00e7lar\u0131na g\u00f6re optimize edebilirsiniz.<\/p>\n<h3>Sorun Giderme<\/h3>\n<p>Kurulum veya yap\u0131land\u0131rma s\u0131ras\u0131nda sorunlarla kar\u015f\u0131la\u015f\u0131rsan\u0131z, a\u015fa\u011f\u0131daki ad\u0131mlar\u0131 izleyebilirsiniz:<\/p>\n<p>*   <strong>Log Dosyalar\u0131n\u0131 Kontrol Edin:<\/strong> OpenLiteSpeed&#8217;in ana log dosyalar\u0131 <code>\/usr\/local\/lsws\/logs\/<\/code> dizininde bulunur. \u00d6zellikle <code>error.log<\/code> ve <code>access.log<\/code> dosyalar\u0131n\u0131 kontrol ederek hatalar\u0131n nedenini anlayabilirsiniz.<br \/>\n*   <strong>Servis Durumunu Kontrol Edin:<\/strong> <code>sudo systemctl status lsws<\/code> komutu ile OpenLiteSpeed servisinin \u00e7al\u0131\u015f\u0131p \u00e7al\u0131\u015fmad\u0131\u011f\u0131n\u0131 kontrol edin.<br \/>\n*   <strong>Port Kontrol\u00fc:<\/strong> <code>sudo netstat -tulnp | grep 80<\/code> (veya 443, 7080, 8088) komutu ile OpenLiteSpeed&#8217;in ilgili portlarda dinleyip dinlemedi\u011fini kontrol edin.<br \/>\n*   <strong>G\u00fcvenlik Duvar\u0131 Kontrol\u00fc:<\/strong> <code>sudo firewall-cmd --list-all<\/code> komutu ile g\u00fcvenlik duvar\u0131 kurallar\u0131n\u0131z\u0131 kontrol edin ve gerekli portlar\u0131n a\u00e7\u0131k oldu\u011fundan emin olun.<br \/>\n*   <strong>SELinux:<\/strong> CentOS&#8217;ta SELinux, baz\u0131 durumlarda web sunucular\u0131n\u0131n dosyalara veya portlara eri\u015fimini engelleyebilir. E\u011fer yukar\u0131daki ad\u0131mlar i\u015fe yaramazsa, ge\u00e7ici olarak SELinux&#8217;u devre d\u0131\u015f\u0131 b\u0131rakmay\u0131 deneyebilirsiniz: <code>sudo setenforce 0<\/code>. E\u011fer sorun \u00e7\u00f6z\u00fcl\u00fcrse, SELinux politikalar\u0131n\u0131 do\u011fru \u015fekilde yap\u0131land\u0131rman\u0131z veya kal\u0131c\u0131 olarak devre d\u0131\u015f\u0131 b\u0131rakman\u0131z gerekebilir (<code>\/etc\/selinux\/config<\/code> dosyas\u0131nda <code>SELINUX=enforcing<\/code> de\u011ferini <code>SELINUX=disabled<\/code> olarak de\u011fi\u015ftirin ve sunucuyu yeniden ba\u015flat\u0131n). Ancak g\u00fcvenlik nedeniyle SELinux&#8217;u devre d\u0131\u015f\u0131 b\u0131rakmak yerine politikalar\u0131 d\u00fczenlemek daha iyidir.<\/p>\n<h3>Sonu\u00e7<\/h3>\n<p>Bu rehberde, OpenLiteSpeed web sunucusunu CentOS 7 \u00fczerine kurmaktan, temel PHP entegrasyonuna ve Let&#8217;s Encrypt ile SSL yap\u0131land\u0131rmas\u0131na kadar kapsaml\u0131 ad\u0131mlar\u0131 ele ald\u0131k. OpenLiteSpeed, y\u00fcksek performans, d\u00fc\u015f\u00fck kaynak t\u00fcketimi ve kullan\u0131c\u0131 dostu y\u00f6netim paneli ile web siteleriniz i\u00e7in g\u00fc\u00e7l\u00fc bir temel olu\u015fturur. Do\u011fru yap\u0131land\u0131rma ve optimizasyonlarla, web sitelerinizin h\u0131z\u0131n\u0131 ve kullan\u0131c\u0131 deneyimini \u00f6nemli \u00f6l\u00e7\u00fcde art\u0131rabilirsiniz. Art\u0131k web projelerinizi OpenLiteSpeed&#8217;in g\u00fcc\u00fcyle yay\u0131nlamaya haz\u0131rs\u0131n\u0131z. Daha fazla bilgi ve geli\u015fmi\u015f yap\u0131land\u0131rmalar i\u00e7in OpenLiteSpeed&#8217;in resmi dok\u00fcmantasyonunu incelemeniz \u00f6nerilir.<\/body><\/p>\n","protected":false},"excerpt":{"rendered":"OpenLiteSpeed Web Sunucusunu CentOS 7&#8217;ye Kurulumu: Kapsaml\u0131 Bir Rehber\nOpenLiteSpeed (OLS), LiteSpeed Technologies taraf\u0131ndan geli\u015ftirilen, y\u00fckse","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[241],"tags":[],"class_list":{"0":"post-38851","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-linux","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>OpenLiteSpeed Web Sunucusunu CentOS 7&#039;ye Kurulumu: Kapsaml\u0131 Bir Rehber - Kodlar\u0131n Gizemli D\u00fcnyas\u0131<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OpenLiteSpeed Web Sunucusunu CentOS 7&#039;ye Kurulumu: Kapsaml\u0131 Bir Rehber\" \/>\n<meta property=\"og:description\" content=\"OpenLiteSpeed Web Sunucusunu CentOS 7&#039;ye Kurulumu: Kapsaml\u0131 Bir Rehber OpenLiteSpeed (OLS), LiteSpeed Technologies taraf\u0131ndan geli\u015ftirilen, y\u00fckse\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-09T00:40:48+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"18 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"OpenLiteSpeed Web Sunucusunu CentOS 7&#8217;ye Kurulumu: Kapsaml\u0131 Bir Rehber\",\"datePublished\":\"2026-02-09T00:40:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/\"},\"wordCount\":3145,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"articleSection\":[\"Linux\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/#respond\"]}],\"copyrightYear\":\"2026\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/\",\"name\":\"OpenLiteSpeed Web Sunucusunu CentOS 7'ye Kurulumu: Kapsaml\u0131 Bir Rehber - Kodlar\u0131n Gizemli D\u00fcnyas\u0131\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2026-02-09T00:40:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenLiteSpeed Web Sunucusunu CentOS 7&#8217;ye Kurulumu: Kapsaml\u0131 Bir Rehber\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"OpenLiteSpeed Web Sunucusunu CentOS 7'ye Kurulumu: Kapsaml\u0131 Bir Rehber - Kodlar\u0131n Gizemli D\u00fcnyas\u0131","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/","og_locale":"tr_TR","og_type":"article","og_title":"OpenLiteSpeed Web Sunucusunu CentOS 7'ye Kurulumu: Kapsaml\u0131 Bir Rehber","og_description":"OpenLiteSpeed Web Sunucusunu CentOS 7'ye Kurulumu: Kapsaml\u0131 Bir Rehber OpenLiteSpeed (OLS), LiteSpeed Technologies taraf\u0131ndan geli\u015ftirilen, y\u00fckse","og_url":"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2026-02-09T00:40:48+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"18 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"OpenLiteSpeed Web Sunucusunu CentOS 7&#8217;ye Kurulumu: Kapsaml\u0131 Bir Rehber","datePublished":"2026-02-09T00:40:48+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/"},"wordCount":3145,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"articleSection":["Linux"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/#respond"]}],"copyrightYear":"2026","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/","url":"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/","name":"OpenLiteSpeed Web Sunucusunu CentOS 7'ye Kurulumu: Kapsaml\u0131 Bir Rehber - Kodlar\u0131n Gizemli D\u00fcnyas\u0131","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2026-02-09T00:40:48+00:00","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/openlitespeed-web-sunucusunu-centos-7ye-kurulumu-kapsamli-bir-rehber\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"OpenLiteSpeed Web Sunucusunu CentOS 7&#8217;ye Kurulumu: Kapsaml\u0131 Bir Rehber"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/38851","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=38851"}],"version-history":[{"count":1,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/38851\/revisions"}],"predecessor-version":[{"id":38852,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/38851\/revisions\/38852"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=38851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=38851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=38851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}