multiples webs - apache server
Vas a fer canvis a una màquina virtual. Si ja la tens importada, i has fet una snapshot (punt de recuperació) passa directament al pas 5)
- descàrrega, importa la vm i engega-la
ubuntu_server_ova
- accedim a la vm a través d'una connexió ssh gràcies al port forwarding
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
!!! a la màquina física
- comprova que te connectivitat
- atura la vm i crea una snapshot per poder tornar al punt de partida
- instal·la apache i unzip (doncs el necessitarem més tard)
- descarrega la web d'exemple
- consulta quines webs estan disponibles
- deshabilita la web per defecte
- prepara el fitxer de configuració de la nova web
- modifica el contingut del nou fitxer, indicant (i descomentant) el ServerName (què posarem al navegador per accedir a la web) i el DomumentRoot (el lloc/directori/carpeta on copiaràs el contingut de la web: index.html & friends)
- crea la nova carpeta a /var/www
- habilita la nova web
- comprova que estigui habilitada
- descomprimeix el contingut de la web al nou directori
- per a la resolució de noms ens caldrà al menys fer-ho de manera estàtica (sic)
- reinicia l'apache
- comprova que funciona a la vm
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
accés des de la teva màquina física a través del port forwarding de virtualbox
- per accedir per nom des d'un navegador ens caldrà muntar un proxy
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
a la màquina física
- accés amb diferents navegadors (prova amb chrome millor)
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
a windows has de posar la "ruta" completa a l'executable.
a) Brave (realitza la resolució en el proxy)
b) Chromium també
c) …i Chrome, quan no està gestionat (managed) també
c.win) chrome a windows…
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
tanca qualsevol altra finestra de chrome
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
verifica que la "ruta" c:\… és la correcta: si cal comprova-ho a les propietats de la icona de chrome.d) firefox (gràficament)
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- ara ja pots posar al navegador
Alternativa gràfica
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
…després de completar el pas 17
- instal·la un entorn GUI a la VM i el firefox
- reinicia la màquina virtual i des del firefox accedeix a
referències
Tot l'article està bé però te porte directe al reenviament dinàmic