Voglio installare un debian di Linux in una casella virtuale e su debian un server web Apache. Dopo questo, mi piacerebbe accedervi dal mio Mac tramite browser come link . L'obiettivo è di "asciugare" testare la configurazione di apache prima di eseguirla su un server live di debian ... questa impostazione è possibile e se sì, come?
UPDATE: Dopo aver scelto "Internal" ho provato a determinare l'indirizzo IP ...
root@straubedebian:~# ip addr eth0
Command "eth0" is unknown, try "ip addr help".
root@straubedebian:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:37:f8:b2 brd ff:ff:ff:ff:ff:ff
inet6 fe80::a00:27ff:fe37:f8b2/64 scope link
valid_lft forever preferred_lft forever
3: pan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether f2:cf:03:a1:c0:99 brd ff:ff:ff:ff:ff:ff
root@straubedebian:~# ifconfig
eth0 Link encap:Ethernet Hardware Adresse 08:00:27:37:f8:b2
inet6-Adresse: fe80::a00:27ff:fe37:f8b2/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 B) TX bytes:5069 (4.9 KiB)
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metrik:1
RX packets:753 errors:0 dropped:0 overruns:0 frame:0
TX packets:753 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:59097 (57.7 KiB) TX bytes:59097 (57.7 KiB)
Non ci sono indirizzi IP che posso usare: -)
Dopo sono passato a "Solo host" e ancora nessun indirizzo ip:
root@straubedebian:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:37:f8:b2 brd ff:ff:ff:ff:ff:ff
inet6 fe80::a00:27ff:fe37:f8b2/64 scope link
valid_lft forever preferred_lft forever
3: pan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether f2:cf:03:a1:c0:99 brd ff:ff:ff:ff:ff:ff
Si tratta di un problema debian o di una configurazione errata in VirtualBox?