How to install applications on your N95 from a local web server Come installare applicazioni sul vostro N95 da un server web locale

by Ken Murray on October 21, 2008 da Ken Murray il giorno 21 Ottobre, 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. Dopo aver scritto più di una dozzina di queste esercitazioni e l'installazione e la rimozione tante diverse applicazioni, ho pensato a me, si è avuto modo di essere un modo più veloce. WiFi is far faster than Bluetooth and far more convenient than digging for a USB data cable. Wi-Fi è di gran lunga più veloce di Bluetooth e di gran lunga più conveniente di scavo per un cavo dati 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? Ho un computer con Linux, ho una rete wireless, e la N95 si connette tramite Wi-Fi perché non solo eseguire Apache sul mio computer e il punto N95 in una directory sul computer?

I’m writing this tutorial using Fedora 9, but these instructions should be easily adaptable to just about any Linux distribution. Sto scrivendo questo tutorial utilizzando Fedora Core 9, ma queste istruzioni dovrebbero essere facilmente adattabile a quasi qualsiasi distribuzione Linux. Also, you can Inoltre, è possibile install Apache in Windows installare Apache in Windows or o OS X OS X , and follow along with the steps in this tutorial. , E insieme a seguire la procedura descritta in questo tutorial.

  1. These instructions are almost completely command line based. Queste istruzioni sono quasi completamente basata sulla riga di comando. First, check if you already have Apache installed. In primo luogo, verificare se avete già installato Apache. There’sa chance you might already have it. C'è una possibilità che ha già. For RedHat, Fedora and other RPM based Linux distributions: Per RedHat, Fedora Core RPM e altre distribuzioni Linux basate:

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

    If you don’t, it’s as simple as the following: Se non è così semplice come la seguente:

    [user@radon ~]# sudo yum install httpd [utente @ radon ~] # sudo yum installare httpd
    Loaded plugins: changelog, downloadonly, fastestmirror, list-data, merge-conf, Plugin caricato: changelog, downloadonly, fastestmirror, l'elenco dei dati, unione-conf,
    : presto, refresh-packagekit : Presto, refresh-packagekit
    Setting up and reading Presto delta metadata Creazione e lettura Presto delta metadati
    No Presto metadata available for atrpms N. Presto disponibili i metadati per atrpms
    No Presto metadata available for google N. Presto disponibili i metadati per Google
    No Presto metadata available for fedora N. Presto metadati disponibili per Fedora
    No Presto metadata available for adobe-linux-i386 N. Presto disponibili i metadati per adobe-linux-i386
    No Presto metadata available for updates-newkey N. Presto metadati disponibili per gli aggiornamenti-newkey
    No Presto metadata available for updates N. Presto metadati disponibili per gli aggiornamenti
    Loading mirror speeds from cached hostfile Caricamento specchio velocità da cache hostfile
    * fedora: mirror.hmc.edu * Fedora: mirror.hmc.edu
    * updates-newkey: mirror.hmc.edu * Aggiornamenti-newkey: mirror.hmc.edu
    * updates: mirror.hmc.edu * Aggiornamenti: mirror.hmc.edu
    Finished Finito
    Setting up Install Process Impostazione processo di installazione
    Parsing package install arguments Parsing pacchetto installare argomenti
    Resolving Dependencies La soluzione delle dipendenze
    –> Running transaction check -> Esecuzione operazione verificare
    —> Package httpd.i386 0:2.2.9-1.fc9 set to be updated -> Pacchetto httpd.i386 0:2.2.9-1. Fc9 impostato per essere aggiornato
    –> Finished Dependency Resolution -> Finito risoluzione delle dipendenze

    Dependencies Resolved Dipendenze Risolte

    ==================================================
    Package Arch Version Repository Size Pacchetto Arch versione repository dimensioni
    ==================================================
    httpd i386 2.2.9-1.fc9 updates-newkey 975 k i386 httpd-2.2.9-1.fc9 aggiornamenti newkey 975 k

    Transaction Summary Sintesi delle transazioni
    ==================================================
    Install 1 Package(s) Installare 1 Package (s)
    Update 0 Package(s) Aggiornamento 0 Package (s)
    Remove 0 Package(s) Rimuovere 0 Package (s)

    Total download size: 975 k Totale Dimensione download: 975 k
    Is this ok [y/N]: y Questo è ok [y / N]: y
    Downloading Packages: Scaricare i Pacchetti:
    Downloading DeltaRPMs: Scaricare DeltaRPMs:
    Rebuilding rpms from deltarpms Ricostruire gli RPM da 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 Esecuzione di test di transazione
    Finished Transaction Test Finito transazione di prova
    Transaction Test Succeeded Operazione riuscita prova
    Running Transaction Esecuzione di transazioni
    Installing : httpd [1/1] Installazione: httpd [1 / 1]

    Installed: httpd.i386 0:2.2.9-1.fc9 Realizzazione: httpd.i386 0:2.2.9-1. Fc9
    Complete! Completo!

    If your output looks slightly different that the above, don’t worry. Se la vostra uscita sembra leggermente diversa che quanto sopra, non si preoccupi. I have a few extra repositories enabled as well as a few extra yum plugins. Ho qualche repository extra abilitato, nonché una qualche yum plugin. The important part is the line that says: Installed: httpd.i386 0:2.2.9-1.fc9 . La parte importante è la linea che dice: Realizzazione: httpd.i386 0:2.2.9-1. Fc9.

  2. Start Apache: Avvio di Apache:

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

  3. Now test that it works. Ora prova che funziona. Open a browser and visit http://127.0.0.1/ You should see something similar to the following: Aprire un browser e visitare http://127.0.0.1/ si dovrebbe vedere qualcosa di simile al seguente:

  4. click to enlarge clicca per ingrandire

  5. Lets find out the IP Address of the computer. Consente di trovare l'indirizzo IP del computer. We’ll need this when we connect from the phone. Abbiamo bisogno di questo quando abbiamo da collegare il telefono cellulare.

    [user@radon ~]$ /sbin/ifconfig wlan0 [utente @ 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 pacchetti: 206.616 errori: 0 abbandonato: 0 overruns: 0 frame: 0
    TX packets:161635 errors:0 dropped:0 overruns:0 carrier:0 TX pacchetti: 161.635 errori: 0 abbandonato: 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 . Nota la seconda linea di produzione dove si dice inet addr. Our IP Address is 192.168.20.4. Il nostro indirizzo IP è 192.168.20.4.

    On your phone, choose Menu -> Web . Sul tuo cellulare, scegli Menu -> Web. Make sure you choose the correct Access Point, the name of your wireless network. Assicurati di aver scelto il corretto punto di accesso, il nome della vostra rete wireless. Now, choose Options -> Go To Web Address and enter the IP Address you discovered above. Ora, scegliere Opzioni -> Vai a indirizzo Web e digitare l'indirizzo IP è scoperto in precedenza. You should see the Apache Test Page on your phone’s browser. Si dovrebbe vedere la pagina di prova di Apache nel browser del tuo cellulare.



  6. The default installation of Apache on Fedora 9 expects you to put your web pages in /var/www/html . L'installazione predefinita di Apache su Fedora 9 si aspetta a mettere le tue pagine web in / var / www / html. I decided to create a separate directory at /home/shared and make that accessible via the web. Ho deciso di creare una directory in / home / condivisa e che rendono accessibili via 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. I seguenti comandi di creare la directory, quindi modificare la sua proprietà a mio nome utente, quindi creare un link simbolico alla nuova directory sotto la radice Web predefinito.

    [user@radon ~]$ sudo mkdir /home/shared [utente @ radon ~] $ sudo mkdir / home / condiviso
    [user@radon ~]$ sudo chown user: /home/shared [utente @ radon ~] $ sudo chown utente: / home / condiviso
    [user@radon ~]$ sudo ln -s /home/shared/ /var/www/html/shared [utente @ radon ~] $ sudo ln-s / home / comune / / var / www / html / condiviso

    Now visit http://127.0.0.1/shared/ in your browser and you should see an empty directory similar to the following: Ora http://127.0.0.1/shared/ visita nel vostro browser e si dovrebbe vedere una cartella vuota simile al seguente:


  7. click to enlarge clicca per ingrandire

  8. Now visit http://192.168.20.4/shared on your phone, substituting the IP Address of your computer. Ora http://192.168.20.4/shared visita sul tuo cellulare, sostituendo l'indirizzo IP del vostro computer.
  9. Ok, now that the phone can see your shared directory, copy some installation files into it and choose Options -> Navigations Options -> Reload . Ok, ora che il telefono è in grado di vedere le tue directory condivisa, copiare alcuni file di installazione in esso e scegliere Opzioni -> Opzioni navigazione -> Ricarica.

  10. Simple click on one of the files and you are prompted to install it. Semplice clic su uno dei file e viene richiesto di installarlo. I find this way a whole lot faster than installing applications via USB or Bluetooth. Trovo questo modo un intero lotto più veloce di installare applicazioni tramite USB o 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. Se si sta prestando attenzione a quanto sopra screenshot, si noterà che il file di installazione sto utilizzando in questo esempio sono in realtà il file di installazione di Apache. Yes, you can run Apache on your N95. Sì, è possibile eseguire Apache sul vostro N95. Watch for my upcoming tutorial on how to run Apache on the N95. Guarda per il mio prossimo tutorial su come eseguire Apache sulla N95.
Related Posts: Related Interventi:
  • How to upload a website built with iWeb to a non .mac/MobileMe account Come caricare un sito web realizzato con iWeb per un non .mac / MobileMe conto
  • How to set Thunderbird to leave mail on the server Come configurare Thunderbird per lasciare la posta sul server
  • How to reset a lost MySQL root password Come per reimpostare uno perso la password di root di MySQL
  • How to install and setup Jinzora (streaming media server) in OS X Come installare e configurare Jinzora (streaming media server) in OS X
  • The differences between XP and Vista folder locations Le differenze tra XP e Vista cartella località
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Ottieni Aiuto tutorial semplice come questo nella tua casella di posta tutti i giorni - gratuitamente! Just enter your email address below: Basta inserire il tuo indirizzo email qui sotto:

    You can always opt out of this email subscription at any time. È possibile scegliere di questa e-mail di iscrizione in qualsiasi momento.


    Bookmark and Share Favoriti e Condividi

    { 0 comments… (0 commenti ... add one now aggiungere uno ora } )

    Leave a Comment Lascia un tuo commento

    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> È possibile utilizzare questi tag HTML e gli attributi: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>