Sanal kutuya ve debian'a apache web sunucusu olarak linux debian kurmak istiyorum. Bundan sonra, mac'umdan http: // myvirtualbox: 80 / myfolder gibi bir tarayıcı aracılığıyla erişmek istiyorum . Amaç apache konfigürasyonunu canlı bir debian sunucusunda gerçekleştirmeden önce "kurulamak" ... bu ayar mümkün mü ve eğer öyleyse, nasıl?
GÜNCELLEME: "Dahili" yi seçtikten sonra IP adresini belirlemeye çalıştım ...
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)
Kullanabileceğim hiçbir ip adresi yok :-)
Ondan sonra "Yalnızca ana bilgisayar" a geçtim ve yine ip adresim yok:
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
Bu bir debian sorunu mu yoksa VirtualBox'ta yanlış bir yapılandırma mı?