Using Subversion to Seamlessly Update & Merge Web Sites and Web Applications استخدام التخريب لتحديث & بسلاسه دمج المواقع على شبكة الانترنت والتطبيقات الشبكيه
I wanted a seamless procedure to update web sites and web applications without compromising security. اردت سلسه اجراءات لتحديث المواقع على شبكة الانترنت والتطبيقات الشبكيه دون تعريض الأمن الدوليين. The development server is under a firewall and so is the production server. وضع خادم تحت جدار ناري وكذلك انتاج الخادم. Also the changes should be merged bi-directionally. أيضا التغييرات التي ينبغي ان تدمج بين الطائفتين بشكل اتجاهي. I had few options like subversion or unison. كان لي الا القليل من الخيارات مثل التخريب أو انسجام. I chose subversion because of greater familiarity and also because all of our source code is maintained in Subversion. اخترت التخريب بسبب زيادة معرفة وأيضا لأن كل ما لدينا من الحفاظ على شفره المصدر في التخريب. Here are the simple steps which you too can use to keep your production and development server in sync. هنا هي الخطوات البسيطة التي انت ايضا يمكن ان تستخدم لابق على الانتاج والتنمية في مركز الخدمة مزامنه.
The requirements are: الشروط هي :
1. Subversion should be installed on both the machines التخريب ويجب تركيب الالات على حد سواء
2. You should be able to allow certain IP addresses in your development server machine هل ينبغي أن يكون قادرا على السماح للبعض عناوين بروتوكول الإنترنت الخاص بك في التنمية خادم الإله
3. Apache running on development server and configured to allow access to Subversion repository.* اباتشي يعمل على خدمة التنمية وتهيئتها لاتاحة الوصول الى مستودع التخريب *.
*My development server runs Apache which is configured to allow access to Subversion repository. * التنمية بلدي خادم اباتشي التي تدير بشكل غير لاتاحة الوصول الى مستودع التخريب. This is simple to setup and so I will not dwell upon it. وهذا هو بسيط والاعداد لذلك لن اتطرق اليها.
The firewall is configured separately for two subnets. جدار الحمايه بشكل منفصل لاثنين من الشبكات الفرعية. The subnet identified as internet is not allowed to access any internal servers. شبكة فرعية حددت شبكة الانترنت لا يسمح للوصول الى أي خدمة الشبكه الداخلية. However I added the IP address of my production server as a trusted host which essentially punched a hole in the firewall to allow my production server to access my development server. واضاف لى الا ان معالجة الملكيه الفكريه من خدمة بلدي الانتاج على النحو الذي استضافه موثوق به اساسا اللكمات ثقب في جدار حمايه الانتاج للسماح بلادي بلادي الخادم للوصول الى خدمة التنمية.
With this simple setup all that is required is to checkout the files on the production server. مع هذا الاعداد البسيط كل ما هو مطلوب هو الخروج الى الملفات على انتاج الخادم. I can make changes to the files from any development machines or even the production machine. واستطيع ان اجراء تغييرات على اي من الملفات تطوير آلات الانتاج أو حتى آلة. After testing the files are committed and then the production server is updated with a single command (svn update). بعد اختبار الملفات ملتزمون وبعد ذلك يتم تحديث خدمة الانتاج مع قيادة واحدة (تحديث SVN).
BTW: If you are unfamiliar with Subversion you may find it easier to understand with my راجع للشغل : اذا كنت غير مألوف التخريب قد تجد انه من الاسهل ان نفهم مع بلادي 5 minutes guide to subversion 5 دقائق دليل التخريب .
The downside of this approach is that subversion creates tons of files for its own use (in .svn directories) which consumes space and may create problems for web hosting palns with low disk space. اما الجانب السلبي من هذا النهج هو ان يخلق فتنة طن من ملفات لاغراضها الخاصة (في. SVN الادله) التي تستهلك الفضاء وايار / مايو لخلق المشاكل لاستضافة المواقع palns مع انخفاض المساحه على القرص الثابت. For an alternative you can try using Unison. بديل يمكنك ان تحاول استخدام انسجام.
Note: The security of the process can be further improved by transferring the data through ssh tunnel only. ملاحظه : توفير الامن للعملية ويمكن زيادة تحسين طريق نقل البيانات من خلال نفق ssh فقط.
Filed under المقدم بمقتضى Headline News أهم الانباء , ، How To كيف , ، Linux لينكس , ، Microsoft مايكروسوفت , ، Open Source Software برامج المصدر المفتوح , ، Tech Note ملاحظه تقنيه , ، Technology التقنيه , ، Web شبكة , ، Web Hosting استضافة المواقع , ، Web Services خدمات الشبكه العالمية | |
| |
RSS 2.0 ار اس اس 2،0 | |
Trackback this Article | هذه المادة |
Email this Article ارسل هذه المادة
You may also like to read ويمكنك ايضا ان تقرأ |




