01-05-2011
Quote:
You should leave eth0 as is: dynamic IP with NAT.
You should add/configure another Network Adapter on the VM that
uses the new host only network: go to the settings of the VM:
Done, doesn't work for me.
I was making some tests with these options and i made it work with the 'Bridge Adapter' option. But i guess that if so i can only have 1 VM on this machine...
However i'm only building the server for development pruposes so it will be enought.
Thanks for the help.
9 More Discussions You Might Find Interesting
1. Ubuntu
Hi Linux gurus,
My boss had asked me to setup a box consisting of this 3 OS (CentOS, Fedora, RedHat) for autopatching. So, whenever there is new patches for CentOS from the internet, this box will grab it, implement it, if tested ok and approved, the patches will then be push to Production... (23 Replies)
Discussion started by: raybakh
23 Replies
2. Solaris
Does anyone know if you can use a virtual box image on different O/S's and be able to move it from one server to another of different O/S if needed? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
3. Windows & DOS: Issues & Discussions
I am trying to create a new virtual machine (Red Hat) but I am getting the following error
I am completely new to VB and I am probably missing something.
Any help will be greatly appreciated. (4 Replies)
Discussion started by: Xterra
4 Replies
4. Red Hat
Hi all,
I'm in a pretty messed-up situation, hope you can give me a hand.
I deleted by accident a folder containing a VMware server virtual machine, that contains most critical information. The host OS is CentOS 5.5, which I believe by default uses Ext3.
I shut down the PC intermediately... (2 Replies)
Discussion started by: starriol
2 Replies
5. UNIX for Dummies Questions & Answers
hi
Am Using Windows vista machine where i installed Sun Virtual Box on Which i installled Solaris 10.. am not able to ping my windows machine from Sun OS neither viceversa.. Can someone help me out to get this sorted please .... (2 Replies)
Discussion started by: Sojourner
2 Replies
6. Red Hat
Hello,
Can someone suggest me what I missing, I re-sized a root virtual disk to 30GB on the CentOS VM. After re-sizing the disk, I booted the OS and ran fdisk -list command I was able view the size of the disk as 30GB.
Paritions in the vm before I resize are:
/boot - Primary parition
/... (1 Reply)
Discussion started by: bobby320
1 Replies
7. Solaris
Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12).
I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies
8. IP Networking
Hello,
I have two virtual machines ubuntu on virtual box vm1 and vm2 , i'd like to use ssh to connect from vm1 to vm2, please what's the configuration should do?
Thank you (1 Reply)
Discussion started by: chercheur857
1 Replies
9. Red Hat
HI,
I have a Centos linux box and there is interface connect to internet.
I stop the iptables in this box .
After a few day , I find the linux box have been hacked and install some perl script into the box .
Could anyone tell me how the hacker can login into the centos box without knowing... (1 Reply)
Discussion started by: chuikingman
1 Replies
LEARN ABOUT PHP
http_response_header
HTTP_RESPONSE_HEADER(3) 1 HTTP_RESPONSE_HEADER(3)
$http_response_header - HTTP response headers
The $http_response_header array is similar to the get_headers(3) function. When using the HTTP wrapper, $http_response_header will be pop-
ulated with the HTTP response headers. $http_response_header will be created in the local scope.
Example #1
$http_response_header example
<?php
function get_contents() {
file_get_contents("http://example.com");
var_dump($http_response_header);
}
get_contents();
var_dump($http_response_header);
?>
The above example will output something similar to:
array(9) {
[0]=>
string(15) "HTTP/1.1 200 OK"
[1]=>
string(35) "Date: Sat, 12 Apr 2008 17:30:38 GMT"
[2]=>
string(29) "Server: Apache/2.2.3 (CentOS)"
[3]=>
string(44) "Last-Modified: Tue, 15 Nov 2005 13:24:10 GMT"
[4]=>
string(27) "ETag: "280100-1b6-80bfd280""
[5]=>
string(20) "Accept-Ranges: bytes"
[6]=>
string(19) "Content-Length: 438"
[7]=>
string(17) "Connection: close"
[8]=>
string(38) "Content-Type: text/html; charset=UTF-8"
}
NULL
PHP Documentation Group HTTP_RESPONSE_HEADER(3)