OpenSUSE :: Run LAMP In A Virtual Machine And Access The Web Server Via A Browser On The Host?
Aug 31, 2010
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?
View 3 Replies
ADVERTISEMENT
Apr 9, 2011
I'm a web developer and I am building a site on a CMS that has issues moving from a WAMP server to LAMP. The live server is LAMP and I am running Windows 7. I don't want to run into problems moving from the test server to the live server, so I was wondering if I could somehow run Linux using a virtual machine (using Windows Virtual PC which I think supports Linux or VirtualBox) and then using a Linux equivalent of WAMP2 server as a test server. how to do this and what the best Linux distribution to use would be?
View 2 Replies
View Related
Jul 9, 2011
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.
View 3 Replies
View Related
Oct 31, 2009
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.
View 1 Replies
View Related
Jan 8, 2010
Is there anyway for one Virtual Server to access the main host, or another Virtual Server? Or would they be totally 100% independent?
View 5 Replies
View Related
Jul 27, 2011
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
View 2 Replies
View Related
Apr 20, 2010
I'm not sure is this is possible or not, but what I would like to do is take my public address mydomain.com and configure a virtual host something.mydomain.com only instead of having the content on the same server I would like it to point to the IP of my virtual machine that is in my private network and display that page publicly. Does anyone know if this is possible, or how to do it? I have done this with port forwards, but would like them both to be on the same port.
View 3 Replies
View Related
Jul 29, 2009
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.
View 4 Replies
View Related
May 23, 2010
How do you configure the firewall to allow external web access (it's a LAMP server) and internal access for samba shares ?
View 6 Replies
View Related
Mar 17, 2011
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
View 3 Replies
View Related
May 27, 2010
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"...
View 3 Replies
View Related
Mar 17, 2011
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
View 3 Replies
View Related
Jul 7, 2011
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'
[Code]....
View 2 Replies
View Related
Oct 30, 2009
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.
View 1 Replies
View Related
Feb 6, 2010
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.
View 5 Replies
View Related
Jan 28, 2010
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:
[Code]....
View 7 Replies
View Related
Dec 2, 2010
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.
View 3 Replies
View Related
Jul 3, 2009
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.
View 1 Replies
View Related
Apr 21, 2010
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?
View 2 Replies
View Related
Nov 22, 2010
I want to create a virtual host and virtual ip in proftpd linux centos. can anyone please help me on this,I'm new in linux.
View 8 Replies
View Related
Jan 29, 2010
Since a few weeks I cannot open a console in vmware server 2.0.2 anymore. I don't know exactly when this started because I use vmware only occasionally (I have only 1 program (an old Ashlar DrawingBoard) which does not run properly in wine). VMware server and the console have been working before without problems, but now I get the message "Cannot connect virtual machine console." and it times out. This is on Opensuse 11.1 with VMware Server on the same pc, Firefox and the guest is Windows2000.
I have tried to disable all extensions in firefox 3.6, disabled the firewall, even created a new user (on the same pc) with a clean firefox, all without any result. However when I connect from a different computer which runs Internet Explorer under windowsXP, then I can get the console without problem.
So, somewhere there is something wrong between Firefox and VMware server.
View 4 Replies
View Related
Jul 16, 2011
I created LAMP server with a wordpress site. I created a sites-available file for the wordpress file pointing to the wordpress directory. Within my server it goes to the site properly. However I also made this server a DNS server, had another test pc use it as a DNS server and it only got the default apache page unless I added /wordpress to the url which makes it point to the directory within /var/www/ that it belongs, but then the wordpress links don't work and this is not what I want it to do anyway. I do not understand why it is working properly internally but not externally. It makes me think maybe the sites-available file is not allowing outside access appropriate permission to use it or something. Can somebody please point me in the right direction I have been working on this for weeks and I am starting to get really frustrated with it. Tell me what config files can help you figure out my issue. Also I eliminated the default index.html file so it wouldn't use it, then placed the index.php file from wordpress in /var/www/ root but in that configuration it doesn't load anything by default but will still work if you point to /wordpress. I believe I have to make some change to my apache2 configs to allow outside PCs to be pointed to the right root directory for the virtual host like is being done internally, I just don't know where to start.
[Code]...
View 4 Replies
View Related
Feb 14, 2010
I wanted to create and host a simple website using LAMP and Drupal. I read an article in a Linux magazine a while back on how to do this, but can't seem to find any instructions. Can someone direct me to a site or link that has step by step instructions on setting up lamp and drupal?
View 9 Replies
View Related
Sep 4, 2010
I used to be able to access the web server I had running on my guest OS in Virtual Box from my host OS. I also had it set to the network settings of "Host Only Adapter". Then I needed to access the internet directly on the gues OS, so I changed my settings on the guest OS to "NAT" (in virtual box), and in /etc/network/interfaces, I removed the loopback stuff and the static IP I'd put in. Now no matter what I do, I cannot get it back to being accessible from the host os! I even did a completely NEW install of Ubuntu guest OS in Virtual box Guest OS: Ubuntu 10.04 Desktop Host OS: OpenSUSE 11.3 VirtualBox: 3.2.6
View 5 Replies
View Related
Jan 24, 2011
I've just installed LAMP. http://localhost/ page works fine. I need to create some virtual hosts. Localhost page is situated in /var/www/. It's normal for me, and I wanted to created virtualhost (in /var/www/vhost1) But it doesn't open in browser. Where is my mistake?
/etc/apache2/ports.conf
Code:
NameVirtualHost *:80
Listen 80
<IfModule mod_ssl.c>
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl
[Code]...
View 7 Replies
View Related
Jan 27, 2010
I am a total noob with regards Linux so will undoubtedly frequent this board asking some lame questions in the coming weeks. At present I am trying to setup a LAMP Server on an old desktop machine I have lying about, however there is not going to be a keyboard, monitor or mouse attached beyond the installation process. My question simply is am I best installing the server or desktop version of Ubuntu for this requirement?
I have been playing with Desktop 9.04 and found it tough to use headlessly, however understand that Server 9.04 fully supports headless access. Being a newbie I do prefer to use the GUI to make changes and generally play around, so a UI such as GNOME would be essential. Having read about I understand the best way to access remotely is to install SSHServer and VNCServer and then login over SSH and VNC into the box.My remote machine I will use to connect to Ubuntu is a Windoze 7/XP machine.
View 6 Replies
View Related
Aug 14, 2010
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.
View 2 Replies
View Related
Apr 15, 2011
I am trying to access shared folders in Virtual Box with Host OS being Windows7 and Guest OS is Fedora. Did anyone face a similar problem? I have been going through many solutions but none of them worked out. I am able to keep the required folders in Shared Folders making them Auto-Mount and Permanent. I tried to install Guest Additions from Devices, but I am not sure how to install the Guest-Additions software in Fedora. how to proceed so that I can access files in my shared folder.
View 1 Replies
View Related
Sep 8, 2010
Has anyone had issues installing Drupal on centos. I have copied my files into a virtual host container but cannot access the site. When I place a phpinfo file into the folder and browes to it I see that Virtual Directory Support is "Disabled" However how did the php page get shown from the same virtual directory mm I may have asked to soon.Installing Drupal on CentOS 5/Red Hat/Fedora http://drupal.org/node/32773
View 1 Replies
View Related
Jun 5, 2011
In the past I found some great help on this forum, so here goes. Bare with me because it's a long story. I'll try to be as complete as possible. I've installed and configured OpenLdap on a virtual machine with ip 192.168.39.134. I've added 2 users via LAM. In the ou WikiUsers and the domain is wiki.local.
I've then created another host with ip 192.168.39.133 with mediawiki installed on it. Then I added the extension LDAPAuthenthication. In the LdapAuthentication file I added this code (only the last paragraph is mine, I added the others to show it's location in the script):
Quote:
$path = array( $IP, "$IP/includes", "$IP/languages" );
set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );
[code]...
I know I'm close because I can't register any new users or accounts on the mediawiki site. Although I could before I added the LDAP service. This is indeed all just to test and get to know how LDAP works. That's why it's all virtual in VMWare. I did not really configure anything on the LDAP, i just installed it and chose a domain (wiki.local).
View 5 Replies
View Related