منتديات المجاوشي

منتديات المجاوشي (http://www.vb.mjawshy.net/index.php)
-   Arabic Rss (http://www.vb.mjawshy.net/forumdisplay.php?f=41)
-   -   شرح تسطيب Nginx اشهر برنامج لتسريع تصفح المواقع (http://www.vb.mjawshy.net/showthread.php?t=274678)

RSS 01-03-2012 06:10 PM

شرح تسطيب Nginx اشهر برنامج لتسريع تصفح المواقع
 
السلام عليكم ورحمة الله وبركاته

اليوم سوف نتطرق الى شرح كيفية تركيب nginx وهو من وجهة نظري اروع وافضل من Apache لما يضفية من سرعة وثبات للتصفح وتخفيف للضغط وعملية ليونة لاخراج عمليات التصفح وتقليل اخطاء التصفح و العديد من الاشياء.

ننتقل الان لتركيب اخر اصدار ( 1.1.12 ) يعني حصري, في سيرفور

اول شيئ ، ننفد الامر التالي :

رمز Code:
wget http://nginx.org/download/nginx-1.1.12.tar.gz
تم ننفد الامر التالي لفك الضغط :

رمز Code:
tar -zxvf nginx-1.1.12.tar.gz
تم ننفد الامر التالي لدخول لمسار البرنامج

رمز Code:
cd nginx-1.1.12
ثم

رمز Code:
./configure --prefix=/usr/local/nginx

في حالة ظهور الرسالة التالية

رمز Code:
./configure: error: the HTTP cache module requires md5 functions
from OpenSSL library. You can either disable the module by using
--without-http-cache option, or install the OpenSSL library into the system,
or build the OpenSSL library statically from the source with nginx by using
--with-http_ssl_module --with-openssl= options.
قم بتنقيذ التالي

رمز Code:
yum -y install openssl openssl-devel
ثم

رمز Code:
yum -y install pcre-devel openssl openssl-devel
رمز Code:
./configure --prefix=/usr/local/nginx
رمز Code:
make
رمز Code:
make install
رمز Code:
httpd stop
رمز Code:
chkconfig httpd off
رمز Code:
/usr/local/nginx/sbin/nginx

الآن تم تثبيت nginx إلى الخادم الخاص بك.




لكم ودي وتقديري







أكثر...


الساعة الآن 05:34 PM

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd. منتديات بلاك بيري mjawshy.net
المجاوشي للتقنية المتقدمة