After writing more than a dozen of these tutorials and installing and removing so many different applications, I thought to myself, there has got to be a faster way. بعد كتابة أكثر من عشرة من هذه البرامج التعليمية وتركيب وإزالة الكثير من تطبيقات مختلفة ، وقلت لنفسي ، هناك يجب أن يكون أسرع وسيلة. WiFi is far faster than Bluetooth and far more convenient than digging for a USB data cable. واي فاي الآن هو أسرع من البلوتوث والآن أكثر ملاءمة من حفر لكابل بيانات USB. I have a computer running Linux, I have a wireless network, and the N95 connects via WiFi so why not just run Apache on my computer and point the N95 at a directory on the computer? لقد الحاسوب تشغيل لينكس ، لدي شبكة لاسلكية ، ويربط عن طريق واي فاي N95 فلماذا لا مجرد ادارة اباتشي على جهاز الكمبيوتر الخاص بي والنقطة N95 في دليل على الكمبيوتر؟
I’m writing this tutorial using Fedora 9, but these instructions should be easily adaptable to just about any Linux distribution. أنا كتابة هذا البرنامج التعليمي باستخدام فيدورا 9 ، ولكن ينبغي أن تكون هذه التعليمات للتكيف بسهولة مع عادل عن أي توزيع لينكس. Also, you can أيضا ، يمكنك install Apache in Windows تركيب أباتشي في ويندوز or أو OS X نظام التشغيل العاشر , and follow along with the steps in this tutorial. ، ومتابعة جنبا إلى جنب مع خطوات في هذا البرنامج التعليمي.
- These instructions are almost completely command line based. هذه التعليمات هي تماما تقريبا سطر الأوامر القائمة. First, check if you already have Apache installed. أولا ، معرفة ما إذا كان لديك بالفعل تركيب اباتشي. There’sa chance you might already have it. هل هناك فرصة ربما لديها بالفعل. For RedHat, Fedora and other RPM based Linux distributions: لRedHat ، فيدورا وغيرها من لفة في الدقيقة القائمة على توزيعات لينكس :
[user@radon ~]# rpm -q httpd [مستخدم @ الرادون ~] # ف دورة في الدقيقة - httpd
httpd-2.2.9-1.fc9.i386 httpd - 2.2.9 - 1.fc9.i386If you don’t, it’s as simple as the following: إذا كنت لا ، انه امر بسيط جدا ما يلي :
[user@radon ~]# sudo yum install httpd [مستخدم @ الرادون ~] # sudo yum تركيب httpd
Loaded plugins: changelog, downloadonly, fastestmirror, list-data, merge-conf, تحميل المحمول : سجل التغيير ، downloadonly ، fastestmirror ، قائمة بين البيانات ، ودمج بين أسيوط ،
: presto, refresh-packagekit : مقطع موسيقي ، تجديد - packagekit
Setting up and reading Presto delta metadata إنشاء وقراءة المعزوفة دلتا الفوقية
No Presto metadata available for atrpms لا المعزوفة الفوقية المتاحة لatrpms
No Presto metadata available for google لا المعزوفة الفوقية المتاحة ل: البريد الإلكتروني
No Presto metadata available for fedora لا المعزوفة الفوقية المتاحة لفيدورا
No Presto metadata available for adobe-linux-i386 لا المعزوفة الفوقية المتاحة للالطوب اللبن بين لينكس i386
No Presto metadata available for updates-newkey لا المعزوفة الفوقية المتاحة للتحديثات - newkey
No Presto metadata available for updates لا المعزوفة الفوقية المتاحة للتحديثات
Loading mirror speeds from cached hostfile تحميل مرآة بسرعة من الذاكرة المخبئية hostfile
* fedora: mirror.hmc.edu * فيدورا : mirror.hmc.edu
* updates-newkey: mirror.hmc.edu * التحديثات - newkey : mirror.hmc.edu
* updates: mirror.hmc.edu * التحديثات : mirror.hmc.edu
Finished منتهى
Setting up Install Process إنشاء عملية تركيب
Parsing package install arguments تحليل تركيب مجموعة الحجج
Resolving Dependencies حل التبعيات
–> Running transaction check --> الجري فحص المعاملات
—> Package httpd.i386 0:2.2.9-1.fc9 set to be updated --> باقة httpd.i386 0:2.2.9-1. fc9 مجموعة إلى تحديث
–> Finished Dependency Resolution --> انتهى الإعالة القرارDependencies Resolved التبعيات وتصميما
==================================================
Package Arch Version Repository Size مجموعة القوس النسخة مستودع الحجم
==================================================
httpd i386 2.2.9-1.fc9 updates-newkey 975 k httpd i386 2.2.9 - 1.fc9 التحديثات - newkey 975 كTransaction Summary ملخص المعاملات
==================================================
Install 1 Package(s) تثبيت حزمة 1 (ق)
Update 0 Package(s) تحديث 0 باقة (ق)
Remove 0 Package(s) 0 إزالة حزمة (ق)Total download size: 975 k إجمالي حجم التحميل : 975 ك
Is this ok [y/N]: y هل هذا موافق [نعم / لا] : ذ
Downloading Packages: تحميل الاحزمة :
Downloading DeltaRPMs: تحميل DeltaRPMs :
Rebuilding rpms from deltarpms إعادة بناء rpms من deltarpms
httpd-2.2.9-1.fc9.i386.rpm | 975 kB 00:24 httpd - 2.2.9 - 1.fc9.i386.rpm | 975 كيلوبايت 00:24
Running rpm_check_debug إدارة rpm_check_debug
Running Transaction Test اختبار تشغيل المعاملات
Finished Transaction Test الانتهاء من اختبار المعاملات
Transaction Test Succeeded نجحت تجارب المعاملات
Running Transaction إدارة المعاملات
Installing : httpd [1/1] تركيب : httpd [1 / 1]Installed: httpd.i386 0:2.2.9-1.fc9 تركيب : httpd.i386 0:2.2.9-1. fc9
Complete! كاملة!If your output looks slightly different that the above, don’t worry. إذا كان الناتج تبدو مختلفة قليلا أن ما ورد أعلاه ، لا تقلق. I have a few extra repositories enabled as well as a few extra yum plugins. لقد قليلة اضافية للمستودعات وكذلك مكنت قليلة اضافية yum المحمول. The important part is the line that says: Installed: httpd.i386 0:2.2.9-1.fc9 . الجزء الهام هو الخط الذي يقول : تم تثبيته : httpd.i386 0:2.2.9-1. fc9.
- Start Apache: بداية اباتشي :
[user@radon ~]$ sudo /sbin/service httpd start [مستخدم @ الرادون ~] $ sudo / sbin / httpd بدء الخدمة
Starting httpd: [ OK ] وابتداء من httpd : [؟] - Now test that it works. الآن اختبار أنها تعمل. Open a browser and visit http://127.0.0.1/ You should see something similar to the following: فتح المتصفح وزيارة http://127.0.0.1/ يجب أن نرى شيئا من هذا القبيل إلى ما يلي :
- Lets find out the IP Address of the computer. دعونا معرفة العنوان الملكية الفكرية من جهاز الكمبيوتر. We’ll need this when we connect from the phone. سنقوم نحن في حاجة الى ذلك عندما ربط من الهاتف.
[user@radon ~]$ /sbin/ifconfig wlan0 [مستخدم @ الرادون ~] $ / sbin / ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr AA:BB:CC:DD:EE:FF wlan0 لينك encap : إيثرنت HWaddr ألف ألف : باء : تغير المناخ : دال : هاء : فرنك فرنسي
inet addr:192.168.20.2 Bcast:192.168.20.255 Mask:255.255.255.0 inet addr : 192.168.20.2 Bcast : 192.168.20.255 قناع : 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ارتفاع تلفزيون RUNNING يو المضيف : 1500 مترى : 1
RX packets:206616 errors:0 dropped:0 overruns:0 frame:0 آر إكس عبوات : 206616 الأخطاء : 0 انخفضت : 0 التجاوزات : 0 الإطار : 0
TX packets:161635 errors:0 dropped:0 overruns:0 carrier:0 تكساس علب : 161635 الأخطاء : 0 انخفضت : 0 التجاوزات : 0 الناقل : 0
collisions:0 txqueuelen:1000 اصطدام : 0 txqueuelen : 1000
RX bytes:251797632 (240.1 MiB) TX bytes:24504623 (23.3 MiB) آر إكس بايت : 251797632 (240.1 MiB (تكساس بايت : 24504623 (23.3 MiB)Note the second line of the output where it says inet addr . ملاحظة السطر الثاني من الانتاج حيث تقول inet addr. Our IP Address is 192.168.20.4. العنوان الملكية الفكرية لنا هو 192.168.20.4.
On your phone, choose Menu -> Web . على هاتفك ، اختر قائمة --> على الشبكة العالمية. Make sure you choose the correct Access Point, the name of your wireless network. تأكد من اختيار الصحيح نقطة الوصول ، اسم الشبكة اللاسلكية الخاصة بك. Now, choose Options -> Go To Web Address and enter the IP Address you discovered above. الآن ، اختر خيارات --> إذهب إلى العنوان على الشبكة العالمية ودخول الملكية الفكرية هل اكتشفت العنوان أعلاه. You should see the Apache Test Page on your phone’s browser. يجب أن ترى اباتشي تجارب الصفحة على هاتفك متصفح.
- The default installation of Apache on Fedora 9 expects you to put your web pages in /var/www/html . الافتراضية تركيب اباتشي على فيدورا 9 وتنتظر منك ان تضع صفحات موقعك في / فار / على شبكة الاتصالات العالمية / هتمل. I decided to create a separate directory at /home/shared and make that accessible via the web. أنا قررت إنشاء منفصلة في دليل / الوطن / أن المشتركة وجعل الحصول عليه عن طريق الإنترنت. The following commands create the directory, then change its ownership to my user name, then create a symbolic link to the new directory below the default web root. الأوامر التالية إنشاء الدليل ، ثم تغيير ملكيتها إلى بلدي اسم المستخدم ، ثم إنشاء ارتباط رمزي إلى دليل جديد على الشبكة العالمية دون تقصير الجذر.
[user@radon ~]$ sudo mkdir /home/shared [مستخدم @ الرادون ~] $ sudo mkdir / الوطن / المشتركة
[user@radon ~]$ sudo chown user: /home/shared [مستخدم @ الرادون ~] $ sudo chown المستخدم : / الوطن / المشتركة
[user@radon ~]$ sudo ln -s /home/shared/ /var/www/html/shared [مستخدم @ الرادون ~] $ sudo من قانون الجنسية بين ق / الوطن / المشتركة / / فار / على شبكة الاتصالات العالمية / هتمل / المشتركةNow visit http://127.0.0.1/shared/ in your browser and you should see an empty directory similar to the following: زيارة http://127.0.0.1/shared/ الآن في المتصفح الخاص بك ويجب عليك انظر فارغة دليل مماثلة إلى ما يلي :
- Now visit http://192.168.20.4/shared on your phone, substituting the IP Address of your computer. زيارة http://192.168.20.4/shared الآن على هاتفك ، والاستعاضة عن الملكية الفكرية العنوان من جهاز الكمبيوتر الخاص بك.
- Ok, now that the phone can see your shared directory, copy some installation files into it and choose Options -> Navigations Options -> Reload . طيب ، الآن يمكن أن الهاتف الخاص بك انظر دليل المشتركة ، نسخة تركيب بعض الملفات إلى أنها واختيار الخيارات --> الملاحة خيارات --> تحديث.
- Simple click on one of the files and you are prompted to install it. بسيطة اضغط على احد الملفات ومطالبتك لتثبيت ذلك. I find this way a whole lot faster than installing applications via USB or Bluetooth. أجد هذا الطريق بأسره الكثير أسرع من تركيب التطبيقات عن طريق USB أو بلوتوث.
- If you are paying attention to the above screenshots, you will notice that the installation files I am using in this example are actually the Apache installation files. إذا كنت إيلاء الاهتمام لقطات الشاشة أعلاه ، ستلاحظ أن تركيب الملفات باستخدام أنا في هذا المثال هي فعلا أباتشي تركيب الملفات. Yes, you can run Apache on your N95. نعم ، يمكنك تشغيل اباتشي على حسابك N95. Watch for my upcoming tutorial on how to run Apache on the N95. مشاهدة الدورة التعليمية لبلدي المقبلة على كيفية ادارة اباتشي على N95.

click to enlarge اضغط هنا لتكبير الصورة






click to enlarge اضغط هنا لتكبير الصورة






![[سبورل]](/images/sharing/stumbleupon.png)




















{ 0 comments… (0 التعليقات... add one now إضافة واحد الآن } )
Leave a Comment ترك التعليق