ok how do you add a rule which allows a virtual machine to connectto ssh on the main fedora host?so connecting from a virtual machine to the main fedora host installation? I think i have to use an iptables command but not really sure
you add a rule which allows a virtual machine to connect to ssh on the main fedora host?so connecting from a virtual machine to the main fedora host installation? I think i have to use an iptables command but not really sure
I successfully installed the virtual box on my fedora 8 system, and also created a virtual machine with windows xp OS, it works nicely, I try to configure the serial port of my virtual machine and try to configure the path for the port "screen shot are attached" it gives me the error message also the "screen shot are attached" for your review.Is kind of mistake is going on during the path setting, and how to set the path for configuring the serial port of my virtual machine so that I can use the hyper terminal tool of windows.
How can I connect to Linux (which is in a VM) from the host PC using putty? I can ping the 192.168.1.108 from my host PC. And there is sshd process running on Linux. I choose the SSH to connect, but gives error.
Will there be any issues installing and then subsequently running a Microsoft Windows Server 2008 R2 installation on a VirtualBox VM on a Linux host (Ubuntu 11.04 64-bit)? I require Windows Server 2008 R2 for a course I'm taking, and I dont have any systems to install/deploy it onto.
Host Machine Specs:
Ubuntu 11.04 64-bit 4GB RAM 350GB Disk Space Nvidia Quadro system
I am currently running ubuntu on a qemu-kvm virtual machine, and the host is fedora. I would like to mount a folder of the host machine on my VM, but never succeeded. The result of the command is :
root@armnlib-kvm:~# mount -v 192.168.1.10:/nfs /nfs mount: no type was given - I'll assume nfs because of the colon mount.nfs: timeout set for Thu Jul 7 06:02:43 2011 mount.nfs: text-based options: 'addr=192.168.1.10'
I'm trying to ssh into a virtual installation of ubuntu I have, named "ubuntu-x86" but I can't get it to work for some reason. I have two network cards, both assigned to NAT, on the virtual machine, but one has a static IP address, while the other uses DHCP. For some reason, the command:
I couldn't find a clear answer to this, but is the linux-image-virtual package for host machines that will contain VMs, or a VM-oriented kernel for guest OS (ubuntu)? I have some guest VMs running on Microsoft's Hyper-V, and was looking for some further optimizations.
I've installed VirtualBox OSE and have a couple of guest OS setup. I am running Ubuntu 11.04 and VBOSE version 4.x (the most current). Now this installs the guest OS virtual harddrives to a folder in my home directory. How do I get other users on the same host machine access to those virtual machines within VB? Currently logging in as another user and going to Applications/Accessories/VirtualBox OSE ... the list of guest machines is empty save of course on my login.
How can I run LAMP (Linux, Apache, MySQL, PHP) in a virtual machine (Ubuntu in virtual box) and make it so the web server is accessible locally (and ONLY locally) on the host OS via an ip address?
I have a WindowsXP virtual machine which I need to isolate from the host machine completely (have the host act as a bridge but not be visible on the IP layer at all.) It still needs to have Internet access. Obviously it has to be able to contact the router but I would like to be able to block port 80 (or even just block all SYN packets addressed to the router.) I also want to allow port forwarding from the router to the virtual machine. I can use basic iptables but this is way beyond me.
The host OS is probably going to be Debian Lenny but this is not built yet so if someone can recommend a different distro which is as lightweight as possible but will support VMWare, iptables and tcpdump then that would be great. I was thinking of Slackware but I have not used it in ages and from what I can remember their is no real package management.
I have installed virtual Redhat in Redhat using Xen virtualization. The ip of the virtual OS is 192.168.0.3 and of main OS is 192.168.0.2. But even then I apply "ping" command then "Destination unreachable" error occur. How to connect virtual and main Redhat!
I have installed CentOS on a VMwareWorktation and that CentOS, i also install VMware Server (suscess) and setup a guest OS that, but i start this Guest OS, an error show "You may not power virtual machine in virtual machine"...
Bit of an odd one, this. I've migrated a website from my old server to a new machine. Both servers run Ubuntu + Apache2. Both only serve a single site, apart from the default site.I've flipped the domain name to the new IP address.The trouble is that after moving the virtual host config over into sites-available, with the necessary link in sites-enabled, Apache attempts to serve from the default web root (/var/www) rather than the actual site content (in /var/www/technology). So for example, an attempt to browse.
apache virtual host to limit the concurrent connections of virtual hosts? Taking into account the host of each virtual user's home directory can also have more than one subdirectory, which should be restricted to a subdirectory. Is beyond the control of the operation of these sites in a subdirectory. Best local restrictions or limitations to the overall situation.
I'm having an issue with setting up the virtual hosts on my web server. I have 2 virtual hosts (example1.com, example2.com). example1.com works but example2.com is sent to the index file of example1.com. I did some searching on google and it seems the problem might be with my /etc/hosts file.
First virtual host that the second is also directed to...in sites-available/sites-enabled (note port 80 is blocked by my isp so I use 8080)
Code:
Second virtual host file
Code:
And my hosts file
Code:
# The following lines are desirable for IPv6 capable hosts
Also I'm using a dyndns.org...would that make a difference?
I have a really weird one. This may be a putty issue, or it may be a config issue in Ubuntu. I've no idea who to blame. I have four machines involved in my little issue that has me scratching my head on where to even BEGIN to diagnose what is going on. The computer I'm attempting to connect to (For identification purposes, I'll call it the main machine) is running a relatively new install of KUbuntu 10.04, stock install of openssh daemon. ufw is disabled, firewalls are off, etc, and I can prove that later.
The machine acting odd is a Win XP 32 bit running Putty. Haven't had a problem until this reload of the previously mentioned machine. A Work machine that is running RedHad of some flavour. A Virtual Machine running a headless setup of Ubunto 8.04. Now that the introductions are over, here is a quick map of the machines that can successfully connect with. My major problem is that I cannot get SSH (And ONLY SSH) to work between the XP machine and the main machine.
Work -> Main = Works Work -> VM = Works XP -> VM = Works XP -> Main = Fails XP -> VM -> Main = Works Main -> Main = Works (IE: "ssh localhost") VM -> Main = Works
When I try to get the XP machine to connect to the Main machine, I get an error with Putty saying:
"Server sent disconnect message type 2(protocol error): baad service request ssh-connection"
I've changed Putty to try using SSH Protocol 1 only, but it says the protocol isn't installed on the Main machine, which is true. I've tried setting just 1, and it gives me the error, and I've tried setting it to "2 only" and it again comes up with the error. I went into /var/log as root on the Main machine, and did a "tail -n0 -f *" and then tried to connect, but nothing relevant shows up.
As for the proof that the firewall is disabled, three of the machines are working with Synergy, I am able to swap between all three of the machines without a problem, I can get to WebAdmin from the XP machine to the Main machine, and I can open a Samba share from the XP machine to the Main machine without a problem. This sounds like a protocol issue, but I can't see anything in WebAdmin that'll put me in the right direction.
I have RHEL running in Virtual Box and my native OS is Win 7. From a purely educational standpoint, I want to be able to access RHEL from Win 7 over SSH. I download putty but don;t know how to make it do what I want. Ideally, I would like to use the linux command prompt at a minimum and preferably access the GUI apps also. IS this possible? I am just trying to explore and expand my linux knowledge.
I'm now configuring my web server to server different Virtual Hosts based on DNS name. Right now I store my files in /var/www per the default installation settings in Apache.
Questions: I want to change the Document Root to /home/username/public_html/example1.dyndns.org for the second virtual server. What do the permissions need to be in order for Apache to read the files in this location? Would it be best to force Apache to run as this new username instead of www-data?
My Virtual host setup will look something like this
I want to change the DocumentRoot as I am running a chrooted ProFTPd server and want to be able to update webserver files via FTP. I am running Ubuntu 8.04 LTS Server (CLI only).
I'm having some basic doubt! Consider 5 virtual domains has configured under a same server. I mean 5 different domains under same IP. Eg. mydomain1.com and mydomain2.com have IP 208.27.1.89. So when web browser request for mydomain1.com name server return IP address 208.27.1.89. Then browser contact IP 208.27.1.89 on port 80. Here comes my question how does apache know that the browser is looking for mydomain1.com not mydomain2.com. How apache differentiate the request for it's virtual hosts? By the way, what is a virtualhost ?
I would really like to install 2 or 3 PHP handler modules (suEXEC, FastCGI, etc) on a single server and assign which module should be used per virtual host or domain or whatever.
I am looking for c/c++ code (no third party lib dependency) to get the physical address of ethernet card on mother board.Most of them suggests to use the linux commands and process the output. For example "/sbin/ifconfig eth0".The problem with above command is that when you run this on a linux variant which is running using VirtualBox on windows host, it's not returning the correct mac address. In this case the correct mac address is the one set for individual virtual machine."/sbin/ifconfig eth0" works fine when linux variant is installed normally.There is another case when linux variant is installed normally and if you install virtualization apps such as VirtualBox or VmPlayer, they create a virtual adepter for their own use. In that case running "/sbin/ifconfig" returns all the adepters. (physical and virtual)
I am attempting to stand up a new server Red Hat EL6 with Bugzilla-4.0 and everything is working expect Virtual Host. By defualt Bugzilla looks for SetEnv PROJECT (variable) in the /etc/httpd/conf/httpd.conf file. I followed the given instructions to place SetEnv PROJECT (variable) under <VirtualHost> however bugzilla doesn't recognize that it is there. When I put SetEnv PROJECT outside of <VirtualHost> then it becomes the default for ALL my different virtual host instead of using what is inside the <VirtualHost> section.
Here is the NameVirtualHost section of my httpd.conf file
PS: Here is what Bugzilla 4.0.1 guide says to do: 2.4. Multiple Bugzilla databases with a single installation The previous instructions referred to a standard installation, with one unique Bugzilla database. However, you may want to host several distinct installations, without having several copies of the code. This is possible by using the PROJECT environment variable. When accessed, Bugzilla checks for the existence of this variable, and if present, uses its value to check for an alternative configuration file named localconfig.<PROJECT> in the same location as the default one (localconfig). It also checks for customized templates in a directory named <PROJECT> in the same location as the default one (template/<langcode>). By default this is template/en/default so PROJECT's templates would be located at template/en/PROJECT.
To set up an alternate installation, just export PROJECT=foo before running checksetup.pl for the first time. It will result in a file called localconfig.foo instead of localconfig. Edit this file as described above, with reference to a new database, and re-run checksetup.pl to populate it. That's all. Now you have to configure the web server to pass this environment variable when accessed via an alternate URL, such as virtual host for instance. The following is an example of how you could do it in Apache, other Webservers may differ.
Don't forget to also export this variable before accessing Bugzilla by other means, such as cron tasks for instance. For anyone that fell into the same trap as I did. The Bugzilla guide neglects to tell you where to set the SetEnv PROJECT variable. It turns out that you need to add this variable in the /etc/httpd/conf.d/ssl.conf file under each virtual host section. So for me I did the follwoing
<VirtualHost_default_443> SetEnv PROJECT PDS
Save the file, restarted Apache and everything worked as expected. Although I did include the NameVirtualHost section in /etc/httpd/conf/httpd.conf I don't think it made a difference.
Having trouble visualising how IP-Based Virtual Host (with SSL) would work. Here is my vhosts.conf file:
Code: #Define Name Virtal Host NameVirtualHost 10.10.0.54:80 #Used to replace the main server host. The log file will reside in /var/log/httpd/error_log
[Code]....
How will it work? I will need to forward port 443 to the 10.10.0.55 interface right? Without doing that, there is no way this is going to work... is there? And that means that I can't run more than 1 ip-based SSL virtual host on one machine because I can't forward 443 to two different interfaces.
Also, do I use internal ip address or external ip address in the <VirtualHost > tag? I only have one static public ip.
I'm looking for virtual machine software that supports dual monitors on a Linux guest with a Windows 7 host.VirtualBox supports dual monitors only for Windows guests. VMware Player was extremely slow, so I gave up. I'm not sure it supports dual monitors, anyway. Can anyone recommend a product for what I want to do?
This is my sample code in /etc/httpd/conf.d/applications.conf file currently we are creating subdomain mannually for every new subdomain. I want to automate this process througs bash script , how its possible.
In this code which i marked BOLD that content only we'l change for every subdomain. while manually doing this most of the times errors are coming to avoid that i need to automate this process.
The scenario like this. I'm working on Ubuntu 10.10. I've enable samba sharing with full guest access enable. In my office I had another server (CentOS 5.5) installed just for me and I've created a Apache VirtualHost which root document pointed to share folder on my comp
This is my fstab setting //my ubuntu computer name/sharing/www /media/www cifs context=system_ubject_r:httpd_sys_content_t:s0,username=username,password=******,iocharset=utf8,fi le_mode=0777,dir_mode=0777 0 0
After label the mount folder as httpd_sys_content_t the Apache web server working in correct way (duno much but at least it can index files and excute some php code so) then the troll come in : if some file was created by my ubuntu (personal comp) then the file would be listed in Apache virtualhost correctly.
But if I'm ssh to CentOS server goto /media/www which was mounted to my unbuntu computer. Then type command like $mkdir something Suprising that folder ./something could not be accessed by Apache anymore except I remount by umount and mount it again or "setenforce 0" What is wrong with my system can anyone point me out of this headache
Can I copy my virtual box VM windows XP virtual-machine files to another Linux computer and run the machine on that computer while I keep on running it on the original computer?
This question is about technical possibilities, not licences.