Πώς να εγκαταστήσει τις εφαρμογές N95 σας από έναν τοπικό κεντρικό υπολογιστή δικτύου

από Γνώση Murray [[on]] 21 Οκτωβρίου 2008

Symbian

Μετά από να γράψω μια περισσότερο από δωδεκάδα από αυτά τα σεμινάρια και να εγκαταστήσω και να αφαιρέσω τόσες πολλές διαφορετικές εφαρμογές, σκέφτηκα, πρέπει να υπάρξει ένας γρηγορότερος τρόπος. Το WiFi είναι πολύ γρηγορότερο από Bluetooth και πολύ καταλληλότερο από σκάβοντας για ένα καλώδιο στοιχείων USB. Έχω έναν υπολογιστή που τρέχει Linux, έχω ένα ασύρματο δίκτυο, και N95 συνδέει μέσω WiFi έτσι γιατί όχι μόνο τρεγμένος Apache στον υπολογιστή μου και δείχνει N95 σε έναν κατάλογο στον υπολογιστή;

Γράφω αυτήν την διδακτική χρησιμοποίηση Fedora 9, αλλά αυτές οι οδηγίες πρέπει να είναι εύκολα προσαρμόσιμες ακριβώς για οποιαδήποτε διανομή Linux. Επίσης, μπορείτε εγκαταστήστε Apache στα παράθυρα ή OS Χ, και ακολουθήστε μαζί με τα βήματα σε αυτό το σεμινάριο.

  1. Αυτές οι οδηγίες είναι σχεδόν εντελώς γραμμή εντολής που βασίζεται. Κατ' αρχάς, έλεγχος εάν ήδη εγκαθιστάτε Apache. Υπάρχει μια πιθανότητα που δύναμη την έχετε ήδη. Για RedHat, Fedora και άλλες βασισμένες στην περιστροφή/λεπτό διανομές Linux:

    [user@radon ~] # περιστροφή/λεπτό - q httpd
    httpd-2.2.9-1.fc9.i386

    Εάν όχι, είναι τόσο απλό όσο και ακόλουθο:

    [user@radon ~] # το sudo yum εγκαθιστά httpd
    Φορτωμένος plugins: changelog, downloadonly, fastestmirror, κατάλογος-στοιχεία, συγχώνευση-conf-συγχώνευση,
    : presto, αναζωογονήστε -αναζωογονώ-packagekit
    Του δέλτα μεταδεδομένα καθιέρωσης και ανάγνωσης Presto
    Κανένα Presto μεταδεδομένο διαθέσιμο για τα atrpms
    Κανένα Presto μεταδεδομένο διαθέσιμο για το google
    Κανένα Presto μεταδεδομένο διαθέσιμο για το fedora
    Κανένα Presto μεταδεδομένο διαθέσιμο για πλίθα-linux-i386
    Κανένα Presto μεταδεδομένο διαθέσιμο για το αναπροσαρμογή-newkey
    Κανένα Presto μεταδεδομένο διαθέσιμο για τις αναπροσαρμογές
    Ταχύτητες καθρεφτών φόρτωσης από εναποθηκευμένο hostfile
    * fedora: mirror.hmc.edu
    * αναπροσαρμογή-newkey: mirror.hmc.edu
    * αναπροσαρμογές: mirror.hmc.edu
    Τελειωμένος
    Η καθιέρωση εγκαθιστά τη διαδικασία
    Η συσκευασία ανάλυσης εγκαθιστά τα επιχειρήματα
    Επίλυση των εξαρτήσεων
    - > Τρέχοντας έλεγχος συναλλαγής
    - > Συσκευασία httpd.i386 0:2.2.9-1.fc9 που τίθεται ως στόχος να ενημερωθεί
    - > Τελειωμένο ψήφισμα εξάρτησης

    Εξαρτήσεις που επιλύονται

    ==================================================
    Συσκευασία Αψίδα Έκδοση Αποθήκη Μέγεθος
    ==================================================
    httpd i386 2.2.9-1.fc9 αναπροσαρμογή-newkey 975 Κ

    Περίληψη συναλλαγής
    ==================================================
    Εγκαταστήστε 1 συσκευασία
    Αναπροσαρμογή Συσκευασία 0
    Αφαιρέστε Συσκευασία 0

    Το σύνολο μεταφορτώνει το μέγεθος: 975 Κ
    Είναι αυτό εντάξει [y/N]: Υ
    Μεταφόρτωση των συσκευασιών:
    Μεταφόρτωση DeltaRPMs:
    Επανοικοδόμηση rpms από τα deltarpms
    httpd-2.2.9-1.fc9.i386.rpm | 975 KB 00:24
    Τρέξιμο rpm_check_debug
    Τρέχοντας δοκιμή συναλλαγής
    Τελειωμένη δοκιμή συναλλαγής
    Δοκιμή συναλλαγής που πετυχαίνουν
    Τρέχοντας συναλλαγή
    Εγκατάσταση : httpd [1/1]

    Εγκατεστημένος: httpd.i386 0:2.2.9-1.fc9
    Πλήρης!

    Εάν η παραγωγή σας φαίνεται ελαφρώς διαφορετική που τα ανωτέρω, δεν ανησυχούν. Έχω μερικές πρόσθετες αποθήκες που επιτρέπονται καθώς επίσης και μερικές το πρόσθετο yum plugins. Το σημαντικό μέρος είναι η γραμμή που λέει: Εγκατεστημένος: httpd.i386 0:2.2.9-1.fc9.

  2. Έναρξη Apache:

    [user@radon ~] $ sudo /sbin/service httpd start
    Starting httpd: [ OK ]

  3. Now test that it works. Open a browser and visit http://127.0.0.1/ You should see something similar to the following:

  4. click to enlarge

  5. Lets find out the IP Address of the computer. We’ll need this when we connect from the phone.

    [user@radon ~]$ /sbin/ifconfig wlan0
    wlan0 Link encap:Ethernet HWaddr AA:BB:CC:DD:EE:FF
    inet addr:192.168.20.2 Bcast:192.168.20.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:206616 errors:0 dropped:0 overruns:0 frame:0
    TX packets:161635 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:251797632 (240.1 MiB) TX bytes:24504623 (23.3 MiB)

    Note the second line of the output where it says inet addr. Our IP Address is 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.



  6. The default installation of Apache on Fedora 9 expects you to put your web pages in /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
    [user@radon ~]$ sudo chown user: /home/shared
    [user@radon ~]$ sudo ln -s /home/shared/ /var/www/html/shared

    Now visit http://127.0.0.1/shared/ in your browser and you should see an empty directory similar to the following:


  7. click to enlarge

  8. Now visit http://192.168.20.4/shared on your phone, substituting the IP Address of your computer.
  9. Ok, now that the phone can see your shared directory, copy some installation files into it and choose Options -> Navigations Options -> Reload.

  10. 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.
  11. 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. Watch for my upcoming tutorial on how to run Apache on the N95.
Related Posts:
  • How to upload a website built with iWeb to a non .mac/MobileMe account
  • How to SSH to your remote server without entering a password every time
  • How to set the date on your Linux machine
  • How to setup Virtual Hosts in Apache
  • How to set Thunderbird to leave mail on the server
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Just enter your email address below:

    You can always opt out of this email subscription at any time.


    Bookmark and Share

    { 0 comments… add one now }

    Leave a Comment

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>