Apache2Buddy Kurulumu - Printable Version +- GHOSTS we knew (http://www.ghostsweknew.de) +-- Forum: My Category (http://www.ghostsweknew.de/forumdisplay.php?fid=1) +--- Forum: My Forum (http://www.ghostsweknew.de/forumdisplay.php?fid=2) +--- Thread: Apache2Buddy Kurulumu (/showthread.php?tid=409) |
Apache2Buddy Kurulumu - Laplace - 05-27-2019 Ache2Buddy scripti, apache server konfigürasyonunuzu inceleyerek İşlem belleği, cpu ve Ram oaranınıza göre öneriler sağlar. Oldukçta kolay bir script olaran Apache2buddy'i tek bir komut ile çalıştırarak önerileri gözden geçirebilrsiniz. 1.Kurulum wget https://raw.githubusercontent.com/richardforth/apache2buddy/master/apache2buddy.pl perl apache2buddy.pl 1 2 wget https://raw.githubusercontent.com/richardforth/apache2buddy/master/apache2buddy.pl perl apache2buddy.pl 2. kurulum curl -sL https://raw.githubusercontent.com/richardforth/apache2buddy/master/apache2buddy.pl | perl 1 curl -sL https://raw.githubusercontent.com/richardforth/apache2buddy/master/apache2buddy.pl | perl 3. Kurulum curl -L http://apache2buddy.pl/ | perl 1 curl -L http://apache2buddy.pl/ | perl Sunucu çıktısı 100 92491 100 92491 0 0 65869 0 0:00:01 0:00:01 --:--:-- 65829 ################################################################## apache2buddy.pl report for xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ################################################################## [ OK ] This script is being run as root. [ -- ] Checking locale; must be in en_US, en_AU, or en_GB to avoid runtime error s. [ OK ] LC_CTYPE=en_US.UTF-8 [ OK ] LC_NUMERIC=C [ OK ] LC_TIME=en_US.UTF-8 [ OK ] LC_COLLATE=en_US.UTF-8 [ OK ] LC_MONETARY=en_US.UTF-8 [ OK ] LC_MESSAGES=en_US.UTF-8 [ OK ] LC_PAPER=en_US.UTF-8 [ OK ] LC_NAME=en_US.UTF-8 [ OK ] LC_ADDRESS=en_US.UTF-8 [ OK ] LC_TELEPHONE=en_US.UTF-8 [ OK ] LC_MEASUREMENT=en_US.UTF-8 [ OK ] LC_IDENTIFICATION=en_US.UTF-8 [ OK ] The utility 'pmap' exists and is available for use: /usr/bin/pmap [ OK ] The utility 'netstat' exists and is available for use: /usr/bin/netstat [ OK ] 'php' exists and is available for use: /usr/local/bin/php [ OK ] The utility 'apachectl' exists and is available for use: /usr/sbin/apache ctl [ OK ] The port (port 80) is a valid port. [ -- ] We are attempting to discover the operating system type and version numbe r ... [ -- ] OS Name: CentOS [ -- ] OS Release: 7.4 [ OK ] Apache2buddy supports this OS Release/Version. [ -- ] Hostname: xxxxxxxxxxxxxx [ -- ] Primary IP: xxxxxxxxxxxxxxxxxxx [ -- ] We are checking the service running on port 80... [ -- ] The process listening on port 80 is /usr/sbin/httpd [ -- ] The process running on port 80 is Apache/2.4.28 (cPanel). [ -- ] Apache has been running 2d 04h 18m 09s. [ -- ] The full path to the Apache config file is: /etc/apache2/conf/httpd.conf [ -- ] Apache is using worker model. [ >> ] Non-standard apache set-up, apache is running as UID: 99 (nobody). Expect ing UID 48 ('apache' or 'www-data'). [ -- ] Apache runs as nobody. [ -- ] pidfile setting is /run/apache2/httpd.pid. [ -- ] Actual pidfile is /run/apache2/httpd.pid. [ -- ] Parent PID: 1276. [ OK ] Memory usage of parent PID is less than 50MB: 21868 Kilobytes. [ -- ] Your server has 7822 MB of PHYSICAL memory. [ -- ] Your ServerLimit setting is 256. [ >> ] ThreadsPerChild directive not found, assuming default values. [ -- ] Your ThreadsPerChild setting is 25. [ -- ] Your ThreadsPerChild setting for worker MPM is 25 [ -- ] Your ServerLimit setting for worker MPM is 256 [ -- ] Your MaxRequestWorkers setting is 150. [ OK ] Current Apache Process Count is 8, including the parent PID. [ -- ] Number of vhosts detected: 215. [ >> ] Current Apache vHost Count is greater than maxrequestworkers. [ -- ] This server is NOT running Plesk. [ -- ] cPanel Version: 11.66.0.29 [ -- ] Your PHP Memory Limit (Per-Process) is 128 MB. [ -- ] MySQL Detected => Using 1304.95 MB of memory. [ -- ] Java Detected => Using 261.15 MB of memory. [ OK ] No large logs files were found in /var/log/apache2. [ OK ] No large logs files were found in /usr/local/apache/logs. [ >> ] It looks like apache was installed from sources. Skipping update checks. [ -- ] httpd is currently using 320.55 MB of memory. [ -- ] The largest apache process is using 259.50 MB of memory [ -- ] The smallest apache process is using 21.36 MB of memory [ -- ] The average apache process is using 221.88 MB of memory linux hosting -------------------------------------------------------------------------------- ### GENERAL FINDINGS & RECOMMENDATIONS ### -------------------------------------------------------------------------------- Apache2buddy.pl report for server: xxxxxxxxxxxxxxxxx Settings considered for this report: Your server's physical RAM: 7822 MB Remaining Memory after other services considered: 6255 MB Apache's MaxRequestWorkers directive: 150 <--------- Current Setting Apache MPM Model: worker Largest Apache process (by memory): 259 MB Apache appears to be running in worker mode. Please check manually for backend processes such as PHP-FPM and pm.max_children. Apache2buddy does not calculate maxclients for worker model. -------------------------------------------------------------------------------- A log file entry has been made in: /var/log/apache2buddy.log for future reference. Last 5 entries: 2017/10/31 16:17:01 Model: "Worker" Memory: "7822 MB" Maxclients: "150" Recommended: "N\A" Smallest: "21.36 MB" Avg: "221.88 MB" Largest: "259.50 MB" linux web hosting 100 92491 100 92491 0 0 65869 0 0:00:01 0:00:01 --:--:-- 65829 ################################################################## apache2buddy.pl report for xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ################################################################## [ OK ] This script is being run as root. [ -- ] Checking locale; must be in en_US, en_AU, or en_GB to avoid runtime error s. [ OK ] LC_CTYPE=en_US.UTF-8 [ OK ] LC_NUMERIC=C [ OK ] LC_TIME=en_US.UTF-8 [ OK ] LC_COLLATE=en_US.UTF-8 [ OK ] LC_MONETARY=en_US.UTF-8 [ OK ] LC_MESSAGES=en_US.UTF-8 [ OK ] LC_PAPER=en_US.UTF-8 [ OK ] LC_NAME=en_US.UTF-8 [ OK ] LC_ADDRESS=en_US.UTF-8 [ OK ] LC_TELEPHONE=en_US.UTF-8 [ OK ] LC_MEASUREMENT=en_US.UTF-8 [ OK ] LC_IDENTIFICATION=en_US.UTF-8 [ OK ] The utility 'pmap' exists and is available for use: /usr/bin/pmap [ OK ] The utility 'netstat' exists and is available for use: /usr/bin/netstat [ OK ] 'php' exists and is available for use: /usr/local/bin/php [ OK ] The utility 'apachectl' exists and is available for use: /usr/sbin/apache ctl [ OK ] The port (port 80) is a valid port. [ -- ] We are attempting to discover the operating system type and version numbe r ... [ -- ] OS Name: CentOS [ -- ] OS Release: 7.4 [ OK ] Apache2buddy supports this OS Release/Version. [ -- ] Hostname: xxxxxxxxxxxxxx [ -- ] Primary IP: xxxxxxxxxxxxxxxxxxx [ -- ] We are checking the service running on port 80... [ -- ] The process listening on port 80 is /usr/sbin/httpd [ -- ] The process running on port 80 is Apache/2.4.28 (cPanel). [ -- ] Apache has been running 2d 04h 18m 09s. [ -- ] The full path to the Apache config file is: /etc/apache2/conf/httpd.conf [ -- ] Apache is using worker model. [ >> ] Non-standard apache set-up, apache is running as UID: 99 (nobody). Expect ing UID 48 ('apache' or 'www-data'). [ -- ] Apache runs as nobody. [ -- ] pidfile setting is /run/apache2/httpd.pid. [ -- ] Actual pidfile is /run/apache2/httpd.pid. [ -- ] Parent PID: 1276. [ OK ] Memory usage of parent PID is less than 50MB: 21868 Kilobytes. [ -- ] Your server has 7822 MB of PHYSICAL memory. [ -- ] Your ServerLimit setting is 256. [ >> ] ThreadsPerChild directive not found, assuming default values. [ -- ] Your ThreadsPerChild setting is 25. [ -- ] Your ThreadsPerChild setting for worker MPM is 25 [ -- ] Your ServerLimit setting for worker MPM is 256 [ -- ] Your MaxRequestWorkers setting is 150. [ OK ] Current Apache Process Count is 8, including the parent PID. [ -- ] Number of vhosts detected: 215. [ >> ] Current Apache vHost Count is greater than maxrequestworkers. [ -- ] This server is NOT running Plesk. [ -- ] cPanel Version: 11.66.0.29 [ -- ] Your PHP Memory Limit (Per-Process) is 128 MB. [ -- ] MySQL Detected => Using 1304.95 MB of memory. [ -- ] Java Detected => Using 261.15 MB of memory. [ OK ] No large logs files were found in /var/log/apache2. [ OK ] No large logs files were found in /usr/local/apache/logs. [ >> ] It looks like apache was installed from sources. Skipping update checks. [ -- ] httpd is currently using 320.55 MB of memory. [ -- ] The largest apache process is using 259.50 MB of memory [ -- ] The smallest apache process is using 21.36 MB of memory [ -- ] The average apache process is using 221.88 MB of memory -------------------------------------------------------------------------------- ### GENERAL FINDINGS & RECOMMENDATIONS ### -------------------------------------------------------------------------------- Apache2buddy.pl report for server: xxxxxxxxxxxxxxxxx Settings considered for this report: Your server's physical RAM: 7822 MB Remaining Memory after other services considered: 6255 MB Apache's MaxRequestWorkers directive: 150 <--------- Current Setting Apache MPM Model: worker Largest Apache process (by memory): 259 MB Apache appears to be running in worker mode. Please check manually for backend processes such as PHP-FPM and pm.max_children. Apache2buddy does not calculate maxclients for worker model. -------------------------------------------------------------------------------- A log file entry has been made in: /var/log/apache2buddy.log for future reference. Last 5 entries: 2017/10/31 16:17:01 Model: "Worker" Memory: "7822 MB" Maxclients: "150" Recommended: "N\A" Smallest: " |