المساعد الشخصي الرقمي

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



linnou
11-02-2013, بتوقيت غرينيتش 01:45 AM
السلام عليكم ورحمة الله وبركاته

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

ننتقل الان لتركيب install اخر اصدار ( 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=<path> 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

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

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




https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى