Pardus 2013 Apache, Mysql, PHP5 ve PHPMyadmin Kurulumu ~ AyQo Blog
  • Ücretsiz Mobil Chat ScriptiÜcretsiz chat sitesi açabileceğiniz bir script yazmak istedim.
  • LOL İtibar Puanı KasmaDünyanın en çok oynanan ve takip edilen oyunu LOL konusunda söylemek istediğim birkaç şey var.
  • Online Anti-Virüs Tarama ve Koruma SiteleriFirmalar arası rekabet sonucu ortaya çıkan çevrim içi veya Online tarama sisteminizi korumaya yardımcı olabilecek düzeyde.
  • Çoklu Skype Açma Programsız (Resimli Anlatım)Windows live'dan kalan bir alışkanlıktır Messanger'de çoklu oturum açmak.
  • PHP Youtube Bot YapımıPHP ile Youtube'dan video bilgilerini çekme işlemini çok basit kodlarla anlatacağım.
1 2 3 4 5

27 Mart 2013

Yazan AyQo
Pardus'da Apache, Mysql server, PHP5 ve PHPMyadmin'i çok kolay bir yöntemle kurabilirsiniz. Yapmanız gereken root terminal'e girmek ve kodu girmek.



Depodaki paketler otomatik olarak başlatılmaya ayarladır ve birbirleri ile uyumludur.Bu sistem ile web sitenizi kendi yerel makinenizde deneme amaçlı barındırabilir ve bilgisayarınızı basit bir web sunucusuna dönüştürebilirsiniz.KurulumAşağıdaki komut ile kurulumu tamamlayabilirsiniz.

sudo apt-get install apache2 mysql-server php5 phpmyadmin

Kurulum Sonrası http://localhost yazdığınızda aşağıdaki yazı geliyorsa sunucunuz çalışıyordur.

It works!This is the default web page for this server.The web server software is running but no content has been added, yet.

Dosyalar Nereye AtılacakYerel makinenizde çalıştırmak istediğiniz dosyaları /var/www dizinine göndermeniz gerekiyor. Bu dizin şifre korumalıdır. Bu nedenle aşağıdaki şekilde bu dizine girebilirsiniz ve çalıştırmak istediğiniz dosyaları bu dizine gönderebilirsiniz.

Apache ve Mysql Server'ı Başlatma ve Durdurma

Mysql Başlatma;

sudo /etc/init.d/mysql start

Mysql Durdurma;

sudo /etc/init.d/mysql stop

Apache Başlatma;

sudo /etc/init.d/apache2 start

Apache Durdurma;

sudo /etc/init.d/apache2 stop

PHPMyadmin İle Veritabanı Yönetimi http://localhost/phpmyadmin İle veritabanlarınızı yönetebilirsiniz.

Not : Kullanıcı adı root'dur şifre ise kurulum sırasında belirliyorsunuz.

10 yorum:

  1. localhost yazınca çalışıyor. Ama localhost/phpmyadmin yazınca aşağıdaki hatayı veriyor. Neden olabilir?

    Not Found
    The requested URL /phpmyadmin was not found on this server.
    Apache/2.2.22 (Debian) Server at localhost Port 80

    YanıtlaSil
    Yanıtlar
    1. sudo dpkg-reconfigure -plow phpmyadmin komutunu çalıştırın. Gerekli ayarlamaları yapın.

      Sil
    2. Eğer yukarıdaki komutta işe yarmazsa bu komutu çalıştırın.

      sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
      sudo /etc/init.d/apache2 reload

      Sil
    3. Gene olmuyor ise www klasörüne ve share içinde veya dışındaki klasörlere okuma yazma izni verin. root dolphini açarak

      Sil
    4. Aklıma geldikçe yazıyorum. :)
      sudo dpkg-reconfigure phpmyadmin

      ilk bunu dene hatta.

      Sil
  2. Aynı hata bende de oluştu.
    sudo dpkg-reconfigure phpmyadmin komutunu denedim,aynı hata devam ediyor.

    YanıtlaSil
    Yanıtlar
    1. Bütün şeyleri deneyin ve gerekli izinleri verin root dolphinden.

      Sil
  3. phpMysql de içe aktarma sırasında " Gönderilen dosya açılamaz çünkü sunucu /tmp dizinine (geçici dosyalar için) erişmeden open_basedir etkinleştirildi."hata mesajı veriyor ve içe aktarma yapmıyor. Sorunu nasıl gideririm?

    YanıtlaSil
    Yanıtlar
    1. php.ini veya apache yapılandırma dosyalarında(vhost.conf ve vhost_ssl.conf) "php_admin_value open_basedir" tırnak işareti içindekini arayın bu değeri none yapın(php_admin_value open_basedir none).

      Sil
  4. aşağıdaki hatayı veriyor

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    apache2 : Depends: apache2-mpm-worker (= 2.2.22-13+deb7u3) but it is not going to be installed or
    apache2-mpm-prefork (= 2.2.22-13+deb7u3) but it is not going to be installed or
    apache2-mpm-event (= 2.2.22-13+deb7u3) but it is not going to be installed or
    apache2-mpm-itk (= 2.2.22-13+deb7u3) but it is not going to be installed
    Depends: apache2.2-common (= 2.2.22-13+deb7u3) but it is not going to be installed
    fglrx-driver : Depends: libfglrx (= 1:12-6+point-1) but 1:12-6+point-3 is to be installed
    Breaks: libgl1-fglrx-glx (> 1:12-6+point-1) but 1:12-6+point-3 is to be installed
    Breaks: libgl1-fglrx-glx:i386 (> 1:12-6+point-1) but 1:12-6+point-3 is to be installed
    mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
    php5 : Depends: libapache2-mod-php5 (>= 5.4.4-14+deb7u12) but it is not going to be installed or
    libapache2-mod-php5filter (>= 5.4.4-14+deb7u12) but it is not going to be installed or
    php5-cgi (>= 5.4.4-14+deb7u12) but it is not going to be installed or
    php5-fpm (>= 5.4.4-14+deb7u12) but it is not going to be installed
    Depends: php5-common (>= 5.4.4-14+deb7u12) but it is not going to be installed
    phpmyadmin : Depends: php5-mysql but it is not going to be installed or
    php5-mysqli but it is not installable or
    php5-mysqlnd but it is not going to be installed
    Depends: php5-mcrypt but it is not going to be installed
    Depends: dbconfig-common but it is not going to be installed
    xserver-xorg-video-nvidia : Depends: libgl1-nvidia-glx (= 304.117-1) but 304.64-4 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

    YanıtlaSil