How to install applications on your N95 from a local web server Wie installiert man Anwendungen auf dem N95 von einem lokalen Web-Server

by Ken Murray on October 21, 2008 von Ken Murray am 21 Oktober, 2008

Symbian

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. Nach dem Schreiben mehr als ein Dutzend von Tutorien und diese Installieren und Entfernen von so vielen verschiedenen Anwendungen, dachte ich, es hat sich als schneller Weg. WiFi is far faster than Bluetooth and far more convenient than digging for a USB data cable. WiFi ist weit schneller als Bluetooth und weitaus bequemer als das Graben für ein USB-Datenkabel. 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? Ich habe einen Computer mit Linux, ich habe ein drahtloses Netzwerk, und der N95 verbindet via WiFi warum also nicht nur Apache auf meinem Computer und zeigen Sie die N95 in ein Verzeichnis auf dem Computer?

I’m writing this tutorial using Fedora 9, but these instructions should be easily adaptable to just about any Linux distribution. Ich schreibe dieses Tutorial mit Fedora 9, aber diese Hinweise sollten in leicht anpassbar an fast jede Linux-Distribution. Also, you can Außerdem können Sie install Apache in Windows Installation von Apache unter Windows or oder OS X OS X , and follow along with the steps in this tutorial. , Und folgen Sie zusammen mit den Schritten in diesem Tutorial.

  1. These instructions are almost completely command line based. Diese Anweisungen sind fast vollständig Befehlszeile basiert. First, check if you already have Apache installed. Erstens, überprüfen Sie, ob Sie bereits über Apache installiert. There’sa chance you might already have it. Es gibt eine Chance, dass Sie vielleicht schon haben sie. For RedHat, Fedora and other RPM based Linux distributions: Für RedHat, Fedora und andere RPM-basierte Linux-Distributionen:

    [user@radon ~]# rpm -q httpd [user @ Radon ~] # rpm-q httpd
    httpd-2.2.9-1.fc9.i386

    If you don’t, it’s as simple as the following: Wenn Sie dies nicht tun, es ist so einfach wie die folgenden:

    [user@radon ~]# sudo yum install httpd [user @ Radon ~] # sudo yum installieren httpd
    Loaded plugins: changelog, downloadonly, fastestmirror, list-data, merge-conf, Geladenen Plugins: Changelog, downloadonly, fastestmirror, List-Daten, fusionieren-conf,
    : presto, refresh-packagekit : Presto, refresh-packagekit
    Setting up and reading Presto delta metadata Einrichten und Lesen Presto Delta-Metadaten
    No Presto metadata available for atrpms Nr. Presto Metadaten verfügbar für atrpms
    No Presto metadata available for google Nr. Presto Metadaten für Google
    No Presto metadata available for fedora Nr. Presto Metadaten verfügbar für Fedora
    No Presto metadata available for adobe-linux-i386 Nr. Presto Metadaten verfügbar für Adobe-linux-i386
    No Presto metadata available for updates-newkey Nr. Presto Metadaten verfügbar für Updates-newkey
    No Presto metadata available for updates Nr. Presto Metadaten verfügbar für Updates
    Loading mirror speeds from cached hostfile Loading Spiegel Geschwindigkeiten von zwischengespeicherten hostfile
    * fedora: mirror.hmc.edu * Fedora: mirror.hmc.edu
    * updates-newkey: mirror.hmc.edu * Updates-newkey: mirror.hmc.edu
    * updates: mirror.hmc.edu * Aktualisierungen: mirror.hmc.edu
    Finished Abgeschlossene
    Setting up Install Process Einrichten der Installation beheben
    Parsing package install arguments Parsing-Paket installieren Argumente
    Resolving Dependencies Auflösung von Abhängigkeiten
    –> Running transaction check -> Running Transaktion prüfen
    —> Package httpd.i386 0:2.2.9-1.fc9 set to be updated -> Package httpd.i386 0:2.2.9-1. FC9 auf aktualisiert werden
    –> Finished Dependency Resolution -> Beendete der Auflösung von Abhängigkeiten

    Dependencies Resolved Abhängigkeiten Gelöst

    ==================================================
    Package Arch Version Repository Size Package Arch Version Repository Größe
    ==================================================
    httpd i386 2.2.9-1.fc9 updates-newkey 975 k httpd i386 2.2.9-Updates 1.fc9-newkey 975 k

    Transaction Summary Transaction Zusammenfassung
    ==================================================
    Install 1 Package(s) Installieren Sie 1 Package (s)
    Update 0 Package(s) Update 0 Package (s)
    Remove 0 Package(s) Entfernen 0 Package (s)

    Total download size: 975 k Insgesamt Download-Größe: 975 k
    Is this ok [y/N]: y Ist das ok [y / N]: y
    Downloading Packages: Herunterladen der Pakete:
    Downloading DeltaRPMs: Herunterladen DeltaRPMs:
    Rebuilding rpms from deltarpms Wiederaufbau rpms aus deltarpms
    httpd-2.2.9-1.fc9.i386.rpm | 975 kB 00:24 httpd-2.2.9-1.fc9.i386.rpm | 975 kB 00:24
    Running rpm_check_debug Running rpm_check_debug
    Running Transaction Test Running Transaction Test
    Finished Transaction Test Abgeschlossene Transaktion Test
    Transaction Test Succeeded Transaction Test gelungen
    Running Transaction Running Transaction
    Installing : httpd [1/1] Installation: httpd [1 / 1]

    Installed: httpd.i386 0:2.2.9-1.fc9 Installiert: httpd.i386 0:2.2.9-1. FC9
    Complete!

    If your output looks slightly different that the above, don’t worry. Wenn Ihre Ausgabe sieht etwas anders, dass die oben genannten, machen Sie sich keine Sorgen. I have a few extra repositories enabled as well as a few extra yum plugins. Ich habe ein paar Extra-Repositories aktiviert, sowie ein paar zusätzliche yum-Plugins. The important part is the line that says: Installed: httpd.i386 0:2.2.9-1.fc9 . Der wichtige Teil ist die Zeile, die sagt: Erstellt: httpd.i386 0:2.2.9-1. FC9.

  2. Start Apache: Starten Sie Apache:

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

  3. Now test that it works. Jetzt testen, ob es funktioniert. Open a browser and visit http://127.0.0.1/ You should see something similar to the following: Öffnen Sie einen Browser und besuchen Sie http://127.0.0.1/ Sie sollten etwas sehen, die der folgenden ähnelt:

  4. click to enlarge klicken um zu vergrößern

  5. Lets find out the IP Address of the computer. Hier können Sie die IP-Adresse des Computers. We’ll need this when we connect from the phone. Wir brauchen diese, wenn wir eine Verbindung vom Telefon.

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

    Note the second line of the output where it says inet addr . Notieren Sie sich die zweite Zeile der Ausgabe, wenn sie sagt inet addr. Our IP Address is 192.168.20.4. Unsere IP-Adresse ist 192.168.20.4.

    On your phone, choose Menu -> Web . Auf Ihrem Telefon, wählen Sie Menü -> Internet. Make sure you choose the correct Access Point, the name of your wireless network. Stellen Sie sicher, dass Sie den richtigen Access Point, den Namen Ihres drahtlosen Netzwerks. Now, choose Options -> Go To Web Address and enter the IP Address you discovered above. Nun, wählen Sie Optionen -> Web-Adresse öffnen und geben Sie die IP-Adresse, die Sie entdeckt oben. You should see the Apache Test Page on your phone’s browser. Sie sollten sehen, die Apache Testseite im Webbrowser Ihres Handys auf.



  6. The default installation of Apache on Fedora 9 expects you to put your web pages in /var/www/html . Die Standard-Installation von Apache auf Fedora 9 erwartet Sie auf, Ihre Web-Seiten in / var / www / html. I decided to create a separate directory at /home/shared and make that accessible via the web. Ich habe mich entschieden, ein eigenes Verzeichnis in / home / shared und stellen diese über das 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. Die folgenden Befehle erstellen Sie das Verzeichnis, und ändern Sie dann ihre Eigenverantwortung zu meinem Benutzernamen, erstellen Sie dann einen symbolischen Link auf das neue Verzeichnis unter dem Standard-Web-Root.

    [user@radon ~]$ sudo mkdir /home/shared [user @ Radon ~] $ sudo mkdir / home / shared
    [user@radon ~]$ sudo chown user: /home/shared [user @ Radon ~] $ sudo chown Benutzer: / home / shared
    [user@radon ~]$ sudo ln -s /home/shared/ /var/www/html/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: Jetzt besuchen http://127.0.0.1/shared/ in Ihrem Browser und Sie sollten ein leeres Verzeichnis, die der folgenden ähnelt:


  7. click to enlarge klicken um zu vergrößern

  8. Now visit http://192.168.20.4/shared on your phone, substituting the IP Address of your computer. Jetzt besuchen http://192.168.20.4/shared auf Ihrem Handy, ersetzen die IP-Adresse Ihres Computers.
  9. Ok, now that the phone can see your shared directory, copy some installation files into it and choose Options -> Navigations Options -> Reload . Ok, jetzt, dass das Telefon sehen können Ihre freigegebenen Verzeichnis, kopieren Sie einige Installations-Dateien in sie und wählen Sie "Optionen -> Navigations-Optionen -> Neu laden.

  10. Simple click on one of the files and you are prompted to install it. Einfachen Klick auf eine der Dateien und Sie aufgefordert werden, um es zu installieren. I find this way a whole lot faster than installing applications via USB or Bluetooth. Ich finde diese Art eine ganze Reihe schneller als die Installation von Applikationen via USB oder 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. Wenn Sie die Zahlung auf die oben genannten Screenshots, werden Sie feststellen, dass die Installations-Dateien Ich verwende in diesem Beispiel sind eigentlich die Apache-Installation Dateien. Yes, you can run Apache on your N95. Ja, können Sie Apache auf Ihrem N95. Watch for my upcoming tutorial on how to run Apache on the N95. Sieh das für meine kommenden Tutorial, wie man läuft Apache auf der N95.
Related Posts: Verwandte Einträge:
  • How to upload a website built with iWeb to a non .mac/MobileMe account Wie zum Hochladen einer Website, die mit iWeb auf eine nicht .mac / MobileMe Konto
  • How to set Thunderbird to leave mail on the server Wie richtet man Thunderbird zu verlassen Mail auf dem Server
  • How to install and setup Jinzora (streaming media server) in OS X Wie zu installieren und Setup Jinzora (Streaming Media-Server) in OS X
  • The differences between XP and Vista folder locations Die Unterschiede zwischen XP und Vista Ordner Standorte
  • How to share a keyboard and mouse with multiple computers Wie gibt man eine Tastatur und Maus mit mehreren Computern
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Holen Sie sich Einfache Hilfe Tutorials wie diese ein in Ihrem E-Mail-Posteingang jeden Tag - gratis! Just enter your email address below: Geben Sie einfach Ihre E-Mail-Adresse unten ein:

    You can always opt out of this email subscription at any time. Sie können immer Opt-out in dieser E-Mail-Abonnement zu jeder Zeit.


    Bookmark and Share Lesezeichen und Aktie

    { 0 comments… (0 Kommentare ... add one now Add jetzt ein } )

    Leave a Comment Schreibe einen Kommentar

    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> Sie können diese HTML-Tags und Attribute: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>