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. वाईफ़ाई तक है ब्लूटूथ से अधिक तेजी से और अभी तक एक यूएसबी डाटा केबल के लिए खुदाई से अधिक सुविधाजनक. 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 Fedora, लेकिन इन निर्देशों का आसानी से अनुकूल होना चाहिए बस किसी भी लिनक्स वितरण के बारे में. Also, you can इसके अलावा, आप कर सकते हैं install Apache in Windows विंडोज में Apache स्थापित 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. सबसे पहले, जाँच लें कि आप पहले से ही है Apache स्थापित. There's a chance you might already have it. वहाँ एक मौका आप पहले से ही यह हो सकता है. For RedHat, Fedora and other RPM based Linux distributions: Redhat, Fedora और अन्य RPM के लिए Linux वितरण आधारित:
[user@radon ~]# rpm -q httpd [राडोण उपयोगकर्ता @] # ~ rpm-q 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, लोड plugins: changelog, downloadonly, fastestmirror, सूची डेटा, विलय-conf,
: presto, refresh-packagekit : लीजिए, ताज़ा-packagekit
Setting up and reading Presto delta metadata स्थापना और हाथ की सफ़ाई डेल्टा Metadata पठन
No Presto metadata available for atrpms नहीं, हाथ की सफ़ाई Metadata atrpms के लिए उपलब्ध
No Presto metadata available for google नहीं, हाथ की सफ़ाई Metadata गूगल के लिए उपलब्ध
No Presto metadata available for fedora नहीं, हाथ की सफ़ाई fedora के लिए उपलब्ध Metadata
No Presto metadata available for adobe-linux-i386 नहीं, हाथ की सफ़ाई एडोब के लिए उपलब्ध Metadata-linux-i386
No Presto metadata available for updates-newkey हाथ की सफ़ाई के लिए कोई अद्यतन उपलब्ध है Metadata-newkey
No Presto metadata available for updates नहीं, हाथ की सफ़ाई Metadata अद्यतनों के लिए उपलब्ध
Loading mirror speeds from cached hostfile कैश्ड hostfile दर्पण गति से लोड हो रहा है
* fedora: mirror.hmc.edu Fedora *: 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 kTransaction Summary गतिविधि सारांश
================================================== ==================================================
Install 1 Package(s) स्थापित करें 1 संकुल (S)
Update 0 Package(s) अद्यतन 0 संकुल (S)
Remove 0 Package(s) निकालें 0 संकुल (S)Total download size: 975 k कुल डाउनलोड का आकार: 975 k
Is this ok [y/N]: y क्या यह ठीक है [Y / N]: Y
Downloading Packages: डाउनलोड संकुल:
Downloading DeltaRPMs: डाउनलोड DeltaRPMs:
Rebuilding rpms from deltarpms Deltarpms से RPMs के पुनर्निर्माण
httpd-2.2.9-1.fc9.i386.rpm | 975 kB 00:24 httpd-2.2.9-1.fc9.i386.rpm | 975 00:24 kB
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 plugins. 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: Apache Start:
[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 / wlan0 ifconfig
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 मंत्रिमंडल addr: 192.168.20.2 Bcast: 192.168.20.255 मास्क: 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 प्रसारण चलती बहुस्त्र्पीय MTU उत्तर प्रदेश: 1500 मीट्रिक: 1
RX packets:206616 errors:0 dropped:0 overruns:0 frame:0 RX पैकेट: 206,616 त्रुटियाँ:: 0 गिरा 0 overruns: 0 फ्रेम: 0
TX packets:161635 errors:0 dropped:0 overruns:0 carrier:0 TX पैकेट: 161,635 त्रुटियाँ:: 0 गिरा 0 overruns: 0 वाहक: 0
collisions:0 txqueuelen:1000 collisions: 0 txqueuelen: 1000
RX bytes:251797632 (240.1 MiB) TX bytes:24504623 (23.3 MiB) RX बाइट्स 251797632: (240.1 मेबा) TX बाइट्स 24,504,623: (मेबा 23.3)Note the second line of the output where it says inet addr . उत्पादन की दूसरी पंक्ति नोट इसे मंत्रिमंडल 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 . Apache के डिफ़ॉल्ट 9 Fedora पर स्थापना आप अपने वेब पृष्ठों डाल की उम्मीद / var / www html /. 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 / home / साझा
[user@radon ~]$ sudo chown user: /home/shared [राडोण @ उपयोगकर्ता ~] sudo $ chown उपयोगकर्ता: घर / / साझा
[user@radon ~]$ sudo ln -s /home/shared/ /var/www/html/shared राडोण @ प्रयोक्ता [~] $ sudo LN-घर / s / / साझा / var / www / html / साझा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 . ठीक है, अब है कि फोन अपने साझा निर्देशिका, कुछ अधिष्ठापन प्रतिलिपि देख सकते हैं और फाइलों में यह विकल्प चुनें -> Navigations विकल्प - पुनः लोड करें>.
- 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 पर Apache चलाने के लिए पर मेरी आगामी ट्यूटोरियल के लिए देखें.

click to enlarge बड़ा आकार देखने के लिए क्लिक करें






click to enlarge बड़ा आकार देखने के लिए क्लिक करें




























{ 0 comments… (0 टिप्पणियाँ ... add one now एक अभी जोड़ें } )
Leave a Comment एक टिप्पणी छोड़ दो