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. Después de escribir más de una docena de estos tutoriales y la instalación y la eliminación de tantas aplicaciones diferentes, pensé para mí, no tiene que ser una forma más rápida. WiFi is far faster than Bluetooth and far more convenient than digging for a USB data cable. WiFi es mucho más rápido que el Bluetooth y mucho más conveniente que la excavación de un cable de datos 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? Tengo un ordenador con sistema operativo Linux, tengo una red inalámbrica, y la N95 se conecta a través de WiFi así que ¿por qué no acaba de ejecutar Apache en mi equipo y punto, el N95 en un directorio en el equipo?
I’m writing this tutorial using Fedora 9, but these instructions should be easily adaptable to just about any Linux distribution. Estoy escribiendo este tutorial utilizando Fedora 9, pero estas instrucciones deben ser fácilmente adaptable a casi cualquier distribución de Linux. Also, you can Asimismo, puede install Apache in Windows instalar Apache en Windows or o OS X OS X , and follow along with the steps in this tutorial. , Y seguir con los pasos de este tutorial.
- These instructions are almost completely command line based. Estas instrucciones son casi en su totalidad la línea de comandos basada en. First, check if you already have Apache installed. En primer lugar, comprueba si ya tienes instalado Apache. There’sa chance you might already have it. Hay una oportunidad usted puede ser que ya la tienen. For RedHat, Fedora and other RPM based Linux distributions: Para RedHat, Fedora y otros RPM basados en las distribuciones de Linux:
[user@radon ~]# rpm -q httpd [usuario @ radón ~] # rpm-q httpd
httpd-2.2.9-1.fc9.i386If you don’t, it’s as simple as the following: Si no lo hace, es tan simple como la siguiente:
[user@radon ~]# sudo yum install httpd [usuario @ radón ~] # sudo yum install httpd
Loaded plugins: changelog, downloadonly, fastestmirror, list-data, merge-conf, Cargado plugins: cambios, downloadonly, fastestmirror, la lista de datos, fusionar-conf,
: presto, refresh-packagekit : Presto, refrescar-packagekit
Setting up and reading Presto delta metadata La creación y lectura Presto delta de metadatos
No Presto metadata available for atrpms No Presto metadatos disponibles para atrpms
No Presto metadata available for google No Presto metadatos disponibles para Google
No Presto metadata available for fedora No Presto metadatos disponibles para Fedora
No Presto metadata available for adobe-linux-i386 No Presto metadatos disponibles para adobe-linux-i386
No Presto metadata available for updates-newkey No Presto metadatos disponibles para actualizaciones-newkey
No Presto metadata available for updates No Presto metadatos disponibles para actualizaciones
Loading mirror speeds from cached hostfile Espejo velocidades de carga de caché hostfile
* fedora: mirror.hmc.edu * Fedora: mirror.hmc.edu
* updates-newkey: mirror.hmc.edu * Actualizaciones-newkey: mirror.hmc.edu
* updates: mirror.hmc.edu * Actualizaciones: mirror.hmc.edu
Finished Terminado
Setting up Install Process Configuración de proceso de instalación
Parsing package install arguments Analizar el paquete de instalación de argumentos
Resolving Dependencies Resolver dependencias
–> Running transaction check -> Atletismo operación de verificación
—> Package httpd.i386 0:2.2.9-1.fc9 set to be updated -> Paquete httpd.i386 0:2.2.9-1. CF9 conjunto que se actualizará
–> Finished Dependency Resolution -> Terminado Resolución de dependenciaDependencies Resolved Dependencias Resuelta
==================================================
Package Arch Version Repository Size Paquete arco versión del repositorio de tamaño
==================================================
httpd i386 2.2.9-1.fc9 updates-newkey 975 k httpd i386 2.2.9-1.fc9 actualizaciones newkey 975-kTransaction Summary Resumen de transacciones
==================================================
Install 1 Package(s) Instalar 1 paquete (s)
Update 0 Package(s) Actualización de 0 Package (s)
Remove 0 Package(s) Retire 0 Package (s)Total download size: 975 k Tamaño de la descarga total: 975 k
Is this ok [y/N]: y ¿Es esta ok [y / N]: y
Downloading Packages: Descarga de Paquetes:
Downloading DeltaRPMs: Descarga de DeltaRPMs:
Rebuilding rpms from deltarpms La reconstrucción de rpms 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 Atletismo rpm_check_debug
Running Transaction Test Atletismo operación de prueba
Finished Transaction Test Finalizado operación de prueba
Transaction Test Succeeded Prueba de transacciones logrado
Running Transaction Ejecución de transacciones
Installing : httpd [1/1] Instalación: httpd [1 / 1]Installed: httpd.i386 0:2.2.9-1.fc9 Instalado: httpd.i386 0:2.2.9-1. CF9
Complete!If your output looks slightly different that the above, don’t worry. Si su salida se ve ligeramente diferente que la anterior, no se preocupe. I have a few extra repositories enabled as well as a few extra yum plugins. Tengo un par de repositorios permitido, así como un par de plugins yum. The important part is the line that says: Installed: httpd.i386 0:2.2.9-1.fc9 . La parte importante es la línea que dice: Instalado: httpd.i386 0:2.2.9-1. CF9.
- Start Apache: Inicio de Apache:
[user@radon ~]$ sudo /sbin/service httpd start [usuario @ radón ~] $ sudo / sbin / service httpd start
Starting httpd: [ OK ] A partir httpd: [OK] - Now test that it works. Ahora compruebe que funciona. Open a browser and visit http://127.0.0.1/ You should see something similar to the following: Abra un navegador y visitar http://127.0.0.1/ Usted debe ver algo similar a lo siguiente:
- Lets find out the IP Address of the computer. Permite averiguar la dirección IP de la computadora. We’ll need this when we connect from the phone. Nos pondremos en esta necesidad cuando se conecte desde el teléfono.
[user@radon ~]$ /sbin/ifconfig wlan0 [usuario @ radón ~] $ / 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 paquetes: 206616 errores: 0 disminuido: 0 sobrecostos: 0 marco: 0
TX packets:161635 errors:0 dropped:0 overruns:0 carrier:0 TX paquetes: 161635 errores: 0 disminuido: 0 sobrecostos: 0 porteador: 0
collisions:0 txqueuelen:1000 colisiones: 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 segunda línea de la salida, donde dice inet addr. Our IP Address is 192.168.20.4. Nuestra dirección IP es 192.168.20.4.
On your phone, choose Menu -> Web . En su teléfono, seleccione Menú -> Web. Make sure you choose the correct Access Point, the name of your wireless network. Asegúrese de escoger el correcto punto de acceso, el nombre de su red inalámbrica. Now, choose Options -> Go To Web Address and enter the IP Address you discovered above. Ahora, seleccione Opciones -> Ir a dirección web e introducir la dirección IP que descubrió anteriormente. You should see the Apache Test Page on your phone’s browser. Usted debe ver la página de prueba de Apache en el navegador del teléfono.
- The default installation of Apache on Fedora 9 expects you to put your web pages in /var/www/html . La instalación por defecto de Apache en Fedora 9 que espera poner a sus páginas web en / var / www / html. I decided to create a separate directory at /home/shared and make that accessible via the web. He decidido crear un directorio en / home / compartido y accesible que a través de la 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. Los siguientes comandos creará el directorio y, a continuación, cambiar su propiedad a mi nombre de usuario, a continuación, cree un enlace simbólico al nuevo directorio por debajo de la raíz Web predeterminado.
[user@radon ~]$ sudo mkdir /home/shared [usuario @ radón ~] $ sudo mkdir / home / compartida
[user@radon ~]$ sudo chown user: /home/shared [usuario @ radón ~] $ sudo chown usuario: / home / compartida
[user@radon ~]$ sudo ln -s /home/shared/ /var/www/html/shared [usuario @ radón ~] $ sudo ln-s / home / shared / / var / www / html / compartidaNow visit http://127.0.0.1/shared/ in your browser and you should see an empty directory similar to the following: Ahora visita http://127.0.0.1/shared/ en su navegador y usted debería ver un directorio vacío similar al siguiente:
- Now visit http://192.168.20.4/shared on your phone, substituting the IP Address of your computer. Ahora http://192.168.20.4/shared visita en el teléfono, la sustitución de la dirección IP de su ordenador.
- Ok, now that the phone can see your shared directory, copy some installation files into it and choose Options -> Navigations Options -> Reload . Ok, ahora que el teléfono puede ver su directorio compartido, copiar algunos archivos de instalación en él y seleccione Opciones -> Navegaciones Opciones -> Cargar de nuevo.
- Simple click on one of the files and you are prompted to install it. Simple clic sobre uno de los archivos y se le pide que lo instale. I find this way a whole lot faster than installing applications via USB or Bluetooth. Me parece una forma mucho más rápida que la instalación de aplicaciones a través de USB o Bluetooth.
- 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. Si usted está prestando atención a las anteriores capturas de pantalla, te darás cuenta de que los archivos de instalación estoy usando en este ejemplo son en realidad los archivos de instalación de Apache. Yes, you can run Apache on your N95. Sí, puede ejecutar Apache en su N95. Watch for my upcoming tutorial on how to run Apache on the N95. Mira para mi próximo tutorial sobre cómo ejecutar Apache en el N95.

click to enlarge Haga clic aquí para ampliar






click to enlarge Haga clic aquí para ampliar



























{ 0 comments… (0 comentarios ... add one now añadir ahora una } )
Leave a Comment Déjanos tu comentario