OpenLiteSpeed Cli php versiyonunu değiştirme

OpenLiteSpeed Cli php versiyonunu değiştirme

sudo update-alternatives --config php
There are 3 choices for the alternative php (providing /usr/bin/php).

  Selection    Path                             Priority   Status
------------------------------------------------------------
* 0            /usr/bin/php.default              100       auto mode
  1            /usr/bin/php.default              100       manual mode
  2            /usr/bin/php8.1                   81        manual mode
  3            /usr/local/lsws/lsphp84/bin/php   84        manual mode

Press <enter> to keep the current choice[*], or type selection number: 3

 

Sitenize Class E / Reserved İp ile ziyaretçi geliyorsa

Siteniz Class E / Reserved ziyaretçi geliyor ve bu nasıl oluştugunuz nereden geldigini benim gibi anlamıyorsanız yapmanız gereken cloudflare üzerinden network alanından “Pseudo IPv4” OFF durumuna çevirmek

Okumaya devam et Sitenize Class E / Reserved İp ile ziyaretçi geliyorsa

Googlebot, Bingbot IP adresleri (Güncel)

Google bot ip adreslilerini aşağıdaki adresi kullanarak googlebot iplerini json formatında görebilirsiniz.

Google Bot
https://developers.google.com/static/search/apis/ipranges/googlebot.json

Bing Bot :
https://www.bing.com/toolbox/bingbot.json

Special-Crawlers (AdsBot + AdSense/Mediapartners):
https://developers.google.com/static/search/apis/ipranges/special-crawlers.json

User-Triggered Fetchers:
https://developers.google.com/static/search/apis/ipranges/user-triggered-fetchers.json

User-Triggered Fetchers (Google IP’li):
https://developers.google.com/static/search/apis/ipranges/user-triggered-fetchers-google.json

Applebot:
https://search.developer.apple.com/applebot.json

GPTBot:
https://openai.com/gptbot.json

OAI-SearchBot:
https://openai.com/searchbot.json

ChatGPT-User:
https://openai.com/chatgpt-user.json

Bilgisayarında Yerel Yapay Zeka Kurulumu (Localhost Yapay Zeka)

Denediğim modeller

  1. Qwen3.5 (122B)
  2. Qwen2.5-Coder (14B)

Buradan bakabilirsiniz : https://ollama.com/search?c=cloud

Windows için PowerShell açıp şunu çalıştır:

irm https://ollama.com/install.ps1 | iex
ollama

Ram iyiyse bunu indrebilirsiniz yine powershell den

ollama pull qwen3.5:122b

Yada buradan modellere göre bakın: https://ollama.com/library/qwen3.5

daha sonra bunu indirin vscode ile entegre etmek için

https://marketplace.visualstudio.com/items?itemName=Continue.continue

Daha sonra alttaki kombinasyonu kullanıp config dosyasını açalım.

Ctrl + Shift + P → Continue: Open Config

ve içine bunu yapıştırın kendi local ai göre

name: Local Config
version: 1.0.0
schema: v1

models:
  - name: Qwen 3.5 122B (Ultra)
    provider: ollama
    model: qwen3.5:122b
    roles:
      - chat
      - edit
      - apply

  - name: Qwen Coder 14B (Coding)
    provider: ollama
    model: qwen2.5-coder:14b
    roles:
      - autocomplete
      - edit

  - name: Nomic Embed
    provider: ollama
    model: nomic-embed-text:latest
    roles:
      - embed

daha sonra vscode içindeki Continue açıp sol altta gözükür modeli seçip kullanmaya başlaya bilirsiniz.

ollama list

Yazarak yüklediginiz modelleri göre bilirsiniz başka modelleri denemek için
https://ollama.com/search buradan bakıp indire bilirsiniz.

openlitespeed litespeed curl_init

PHP Fatal error:  Uncaught Error: Call to undefined function curl_init() in

Eğer yukarıdaki gibi bir hata alıyorsanız sorun default tanımlanan php modülüne gitmesi bunu kaldırıp openlitespeed bakmasını sağlamak gerekiyor.

# Mevcut (çalışmayan) php linkini silelim
sudo rm /usr/bin/php

# OpenLiteSpeed'in PHP'sini sisteme varsayılan olarak bağlayalım
sudo ln -s /usr/local/lsws/lsphp83/bin/php /usr/bin/php

 

alias php='/usr/local/lsws/lsphp83/bin/php'

 

lsphp83 burası sizin yüklediğiniz openlitespeed php versiyonu olması gerekiyor.

Openlitespeed Read-only file system hatası alıyorsanız

root@ubuntu-8gb-hel1-1:~# service lsws restart
Job for lshttpd.service failed because the control process exited with error code.
See "systemctl status lshttpd.service" and "journalctl -xeu lshttpd.service" for details.

Feb 02 20:07:43 ubuntu-8gb-hel1-1 lswsctrl[1420]: /usr/local/lsws/bin/lswsctrl: 259: cannot create /usr/local/lsws/bin/../logs/lsrestart.log: Read-only file system
Feb 02 20:07:43 ubuntu-8gb-hel1-1 lswsctrl[1420]: /usr/local/lsws/bin/lswsctrl: 260: cannot create /usr/local/lsws/bin/../logs/lsrestart.log: Read-only file system
Feb 02 20:07:43 ubuntu-8gb-hel1-1 lswsctrl[1431]: [ERROR] Failed to write to pid file:/tmp/lshttpd/lshttpd.pid!
Feb 02 20:07:43 ubuntu-8gb-hel1-1 lswsctrl[1420]: [ERROR] Failed to start litespeed!
Feb 02 20:07:45 ubuntu-8gb-hel1-1 lswsctrl[1420]: /usr/local/lsws/bin/lswsctrl: 216: cannot create /usr/local/lsws/bin/../logs/lsrestart.log: Read-only file system
Feb 02 20:07:46 ubuntu-8gb-hel1-1 lswsctrl[1420]: /usr/local/lsws/bin/lswsctrl: 220: cannot create /usr/local/lsws/bin/../logs/lsrestart.log: Read-only file system

Openlitespeed vb. şeylerde Read-only file system hatası alıyorsanı bu hdd zarar görmemesi için yaptıgı bir koruma fakat anlamsız bir şekilde bazen yedek alırkende yapıyor bunu şu komutu yazarak iptal edebilirsiniz.

 

mount -o remount,rw /dev/sda1 /

 

Tek komutla Ubuntu özellikleri listeleme.

echo "=== CPU ===" && lscpu && \
echo -e "\n=== RAM ===" && free -h && \
echo -e "\n=== DISK ===" && lsblk -o NAME,TYPE,SIZE,FSTYPE,MOUNTPOINT && \
echo -e "\n=== IO SCHEDULER ===" && for d in $(lsblk -nd -o NAME); do echo -n "$d: "; cat /sys/block/$d/queue/scheduler; done && \
echo -e "\n=== FILESYSTEM ===" && df -hT && \
echo -e "\n=== NETWORK ===" && ip -brief addr

 

Chrome Geçmişte Tarih Filtreli getirme

Google Hesabı ile (en net yöntem ✅)

Eğer Chrome’da Google hesabınla oturum açıksa, tüm geçmiş burada çok daha düzenli görünür:

👉 https://myactivity.google.com

Buradan:

  1. Sol menüden “Etkinliği filtrele”
  2. Tarih → Özel aralık
  3. 03.01.2026 – 03.01.2026 seç
  4. Chrome / Web & App Activity açık olsun

✔ Saat saat hangi sitelere girdiğini görebilirsin
✔ Silinen Chrome geçmişi bile bazen burada durur

Samsung SSD 990 PRO 4TB Firmware Kitlenmesi

Samsung SSD 990 PRO 4TB Disk kullanıyorum 1 haftada yada 3,4 günde bir PC açık kaldıgında kendiliginden kapatılıp açıldıgı oluyordu bunun sonucunda bir araştırma yaptım Samsung SSD 990 PRO 4TB disklerde firmware Update sorununu oldugunu ve Samsung bunu bildigini ve güncelleme yayınladıgını gördüm sizde bu diski kullanıyor ve pc arada kapanıyorsa Samsung Magician ile güncelleme yapaınız

https://semiconductor.samsung.com/consumer-storage/support/tools/