make webserver from Ubuntu 14.04 desktop version in virtualbox - linux

I'm thinking about creating a webserver from my Ubuntu 14.04 LTS running on virtualbox. I've made some test pages there but I have no idea how to connect from my computer (Ubuntu 14.04 LTS as well) to virtualbox computer and run created pages there.
I guess I have to acces virtualbox computer via IP somehow. Another think is that I want to acces this webserver for everybody in the network, not just my computer. These clients could have both Linux and Windows OSs.
Could you anybody help me to figure out this stuff, please?

set the guest os network interface in virtualbox to bridged
networking. assign a static ip address that corresponds to your LAN
restart your web server (typically its sudo service apache2 restart)

Related

Paste to virtual terminal

In a Ubuntu host system I have installed qemu and created a virtual machine with CentOS. The CentOS installation does not have an X server, just a virtual terminal. I would like to be able to copy strings from the host system to the virtual terminal of the virtual machine.
What I found so far is the suggestion to install spice-vdagent. If I understand correctly however, spice-vdagent requires an X server, which I don't have installed.
So, how can I paste strings to the virtual terminal (if possible at all)?
You have to enable clipboard in your virtual machine manager software (VirtualBox or VmWare).
In Vbox you have to install Guest Additions iso. In VmWare you have to enable it in the virtual machine's options.
Run your Vm and run next command:
# yum install spice-vdagent
# chkconfig --add spice-vdagentd
# service spice-vdagentd start

How do I connect to VMware from another PC?

I am facing an issue with my VMware and Ubuntu PC.
Scenario: I have a Windows 8.1 PC (IP: 192.168.1.10) and installed VM ware on this Window PC and installed Centos 7 on the VM ware (IP: 192.168.163.127). Also, I have another PC installed with Ubuntu 15.10 (IP: 192.168.1.12). I need to ping or connect to the Centos on the VM ware from my Ubuntu PC. I am using VMware workstation 12 Pro.
How do I can do this? Is this possible? Please, anybody, help me.
try to set the Networkadapter to bridged mode. At your virtual pc you need a IP like 192.168.1.... Then you have access to your virtual pc over your local network.
By using NAT it is quite possible. For further information about how you can configure your NAT and Bridge please take a look at following links:
https://pubs.vmware.com/workstation-12/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-D05850F8-E850-4086-A735-5C84C72D007C.html
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1018697
https://serverfault.com/questions/229860/vmware-networking-mode-nat-or-bridged
I hope it helps you.

Accessing VPS linux hosting like RDP in Windows

Sorry but I'm a newbie in Linux. I have a VPS hosting of CentOS 6. Can I access it like Remote Desktop on windows to see the GUI?
With a hosted Linux machine chances are that id doesn't even have "the GUI" (an X11 server and some GUI environment like KDE or Gnome) installed at all but only supports command line access via ssh.
If you really need GUI instead of command line access then the "classic" option would be VNC. There is a HowTo for this for CentOS at
http://wiki.centos.org/HowTos/VNC-Server
or at
http://www.howtoforge.com/vnc-server-installation-centos-6.5
for example ...

UNIX/LINUX localhost server in a windows machine

I'm using XAMPP for windows to build my website projects, but I need to create a website in a UNIX/LINUX based server, but since I'm using XAMPP it is a Windows based server.
Somebody knows how can I do that in a windows machine, without having to install Linux in my machine?
Thanks in advance!
Install VirtualBox and run a VM of your favorite linux distribution. My suggestion would be Debian or Ubuntu.

Can vmWare Server be installed in a X-less host?

I am planning to move my vmWare's Virtual Machines from a Windows host to a Linux host (Ubuntu). It is possible to run vmWare Server in a Linux host that does not have the graphical environment (does not have X)?
I just wonder how the graphical setup of Windows/Linux guest work in this case.
Thanks in advance for your time.
Victor Marquez
Just install it on Ubuntu Server and install it via apt-get. Here's a good walkthrough
http://users.piuha.net/martti/comp/ubuntu/en/server.html
I did this on my development server and connect to it using the graphical client on my Windows machine. I have no gui installed.
the X libraries are required during the compilation and installation of VMware Server on Linux.
virtualbox has some command line tools that you can use and I don't believe it requires an x installation. You should compare the features and make sure that's what you want though.

Resources