• 17-09-2017, 20:47:39
    #1
    Merhaba apache uptade ettikten sonra derlemesi için cpanel üzerinden hangi adımları uygulamayıp yapmalıyım, sitelerimizin daha performanslı olması için dikkat etmem gereken ayarlar nelerdir. Yardımcı olabilecek varsa memnun olurum.

    https://prnt.sc/gmacu5
  • 17-09-2017, 21:07:55
    #2
    Default ayar ile başlayıp sitenin gerekli modüllerini teker teker kurabilirsin.
  • 18-09-2017, 22:00:34
    #3
    Merhabalar,

    Benim default olarak kendim ayarladığım bir profil var, modülleri kontrol edersin, gereksizleri silersin
    Ssh üzerinden,

    cat > /etc/cpanel/ea4/profiles/cpanel/cPanel_profile.json <<EOFMARKER1
    {
       "version" : "0.3",
       "desc" : "This profile uses the worker MPM and includes suexec, suphp and mod_security2 to improve the security of your server.",
       "pkgs" : [
          "ea-apache24",
          "ea-apr",
          "ea-apr-util",
          "ea-php70",
          "ea-php71",
          "ea-php56",
          "ea-apache24-mod_mpm_worker",
          "ea-apache24-mod_ssl",
          "ea-apache24-mod_deflate",
          "ea-apache24-mod_expires",
          "ea-apache24-mod_proxy",
          "ea-apache24-mod_headers",
          "ea-apache24-mod_cgid",
          "ea-apache24-mod_suexec",
          "ea-apache24-mod_suphp",
          "ea-apache24-mod_security2",
          "ea-apache24-mod_proxy_fcgi",
          "ea-php70-php-bcmath",
          "ea-php70-php-calendar",
          "ea-php70-php-curl",
          "ea-php70-php-ftp",
          "ea-php70-php-gd",
          "ea-php70-php-imap",
          "ea-php70-php-mcrypt",
    	  "ea-php70-php-mbstring",
          "ea-php70-php-mysqlnd",
          "ea-php70-php-pdo",
          "ea-php70-php-posix",
          "ea-php70-php-sockets",
          "ea-php70-php-xml",
    	  "ea-php70-php-fileinfo",
    	  "ea-php70-php-ioncube",
    	  "ea-php70-php-litespeed",
    	  "ea-php70-php-opcache",
    	  "ea-php70-php-zip",
    	  "ea-php70-php-soap",
          "ea-php71-php-bcmath",
          "ea-php71-php-calendar",
          "ea-php71-php-curl",
          "ea-php71-php-ftp",
          "ea-php71-php-gd",
          "ea-php71-php-imap",
          "ea-php71-php-mcrypt",
    	  "ea-php71-php-mbstring",
          "ea-php71-php-mysqlnd",
          "ea-php71-php-pdo",
          "ea-php71-php-posix",
          "ea-php71-php-sockets",
          "ea-php71-php-xml",
    	  "ea-php71-php-fileinfo",
    	  "ea-php71-php-ioncube",
    	  "ea-php71-php-litespeed",
    	  "ea-php71-php-opcache",
    	  "ea-php71-php-zip",
    	  "ea-php71-php-soap",
          "ea-php56-php-bcmath",
          "ea-php56-php-calendar",
          "ea-php56-php-curl",
          "ea-php56-php-ftp",
          "ea-php56-php-gd",
          "ea-php56-php-imap",
          "ea-php56-php-mcrypt",
    	  "ea-php56-php-mbstring",
    	  "ea-php56-php-fileinfo",
    	  "ea-php56-php-ioncube",
    	  "ea-php56-php-litespeed",
    	  "ea-php56-php-opcache",
    	  "ea-php56-php-zip",
    	  "ea-php56-php-soap",
          "ea-php56-php-mysqlnd",
          "ea-php56-php-pdo",
          "ea-php56-php-posix",
          "ea-php56-php-sockets",
          "ea-php56-php-xml",
          "ea-php56-php-iconv",
          "ea-php71-php-iconv",
          "ea-php70-php-iconv",
          "ea-php71-php-fpm",
          "ea-php56-php-fpm",
          "ea-php70-php-fpm"
       ],
       "name" : "cPanel profile",
       "tags" : [
          "Apache 2.4",
          "PHP 7.1",
          "PHP 5.6",
          "PHP 7.0"
       ]
    }
    
    EOFMARKER1
  • 18-09-2017, 22:46:34
    #4
    huseyincengiz adlı üyeden alıntı: mesajı görüntüle
    Merhabalar,

    Benim default olarak kendim ayarladığım bir profil var, modülleri kontrol edersin, gereksizleri silersin
    Ssh üzerinden,

    cat > /etc/cpanel/ea4/profiles/cpanel/cPanel_profile.json <<EOFMARKER1
    {
       "version" : "0.3",
       "desc" : "This profile uses the worker MPM and includes suexec, suphp and mod_security2 to improve the security of your server.",
       "pkgs" : [
          "ea-apache24",
          "ea-apr",
          "ea-apr-util",
          "ea-php70",
          "ea-php71",
          "ea-php56",
          "ea-apache24-mod_mpm_worker",
          "ea-apache24-mod_ssl",
          "ea-apache24-mod_deflate",
          "ea-apache24-mod_expires",
          "ea-apache24-mod_proxy",
          "ea-apache24-mod_headers",
          "ea-apache24-mod_cgid",
          "ea-apache24-mod_suexec",
          "ea-apache24-mod_suphp",
          "ea-apache24-mod_security2",
          "ea-apache24-mod_proxy_fcgi",
          "ea-php70-php-bcmath",
          "ea-php70-php-calendar",
          "ea-php70-php-curl",
          "ea-php70-php-ftp",
          "ea-php70-php-gd",
          "ea-php70-php-imap",
          "ea-php70-php-mcrypt",
    	  "ea-php70-php-mbstring",
          "ea-php70-php-mysqlnd",
          "ea-php70-php-pdo",
          "ea-php70-php-posix",
          "ea-php70-php-sockets",
          "ea-php70-php-xml",
    	  "ea-php70-php-fileinfo",
    	  "ea-php70-php-ioncube",
    	  "ea-php70-php-litespeed",
    	  "ea-php70-php-opcache",
    	  "ea-php70-php-zip",
    	  "ea-php70-php-soap",
          "ea-php71-php-bcmath",
          "ea-php71-php-calendar",
          "ea-php71-php-curl",
          "ea-php71-php-ftp",
          "ea-php71-php-gd",
          "ea-php71-php-imap",
          "ea-php71-php-mcrypt",
    	  "ea-php71-php-mbstring",
          "ea-php71-php-mysqlnd",
          "ea-php71-php-pdo",
          "ea-php71-php-posix",
          "ea-php71-php-sockets",
          "ea-php71-php-xml",
    	  "ea-php71-php-fileinfo",
    	  "ea-php71-php-ioncube",
    	  "ea-php71-php-litespeed",
    	  "ea-php71-php-opcache",
    	  "ea-php71-php-zip",
    	  "ea-php71-php-soap",
          "ea-php56-php-bcmath",
          "ea-php56-php-calendar",
          "ea-php56-php-curl",
          "ea-php56-php-ftp",
          "ea-php56-php-gd",
          "ea-php56-php-imap",
          "ea-php56-php-mcrypt",
    	  "ea-php56-php-mbstring",
    	  "ea-php56-php-fileinfo",
    	  "ea-php56-php-ioncube",
    	  "ea-php56-php-litespeed",
    	  "ea-php56-php-opcache",
    	  "ea-php56-php-zip",
    	  "ea-php56-php-soap",
          "ea-php56-php-mysqlnd",
          "ea-php56-php-pdo",
          "ea-php56-php-posix",
          "ea-php56-php-sockets",
          "ea-php56-php-xml",
          "ea-php56-php-iconv",
          "ea-php71-php-iconv",
          "ea-php70-php-iconv",
          "ea-php71-php-fpm",
          "ea-php56-php-fpm",
          "ea-php70-php-fpm"
       ],
       "name" : "cPanel profile",
       "tags" : [
          "Apache 2.4",
          "PHP 7.1",
          "PHP 5.6",
          "PHP 7.0"
       ]
    }
    
    EOFMARKER1
    Teşekkür ederim. profili hocam aktif edip, apacheyi derleri. Emeğine sağlık.
  • 18-09-2017, 23:04:47
    #5
    Ne demek hocam , rica ederim
  • 04-04-2018, 10:07:39
    #6
    Kimlik doğrulama veya yönetimden onay bekliyor.
    huseyincengiz adlı üyeden alıntı: mesajı görüntüle
    Ne demek hocam , rica ederim
    SSH üzerinden easyphp4 ü nasıl derleyebiliriz ?
  • 04-04-2018, 11:58:58
    #7
    Hocam selamlar


    /usr/local/bin/ea_install_profile --install /etc/cpanel/ea4/profiles/cpanel/profil.json
    Bu şekilde derleyebilirsin, /etc/cpanel/ea4/profiles/cpanel/profil.json hangi profilde olacaksa onun adını yazmalısın, düzenlemen gerekirse json içine girip gerekli adımları ekleyip silebilirsin


    aytek9922 adlı üyeden alıntı: mesajı görüntüle
    SSH üzerinden easyphp4 ü nasıl derleyebiliriz ?