Ubuntu Servers :: Separate Virtual Machines For Apache, Mysql, File Server?
Jul 11, 2011
I'm working on a side project where I would like to install three ubuntu server systems,each with only one task.So server0 would be the apache server, server1 would be the database and server2 would be the file server.which key terms I should be researching?
View 9 Replies
ADVERTISEMENT
Jan 30, 2011
I have a home server that I have been running for some years and am constantly tweaking / playing with it resulting in numerous reinstalls (and upsetting the wife!). It does nothing critical but I use it mainly for:
backing up my laptop files
XBMC
ZoneMinder
Due to the number of times that I manage to break it, I have now thought about setting it up as a base system but with virtual machines looking after the seperate 'components'. The machine is an AMD Athlon 64 X2 4200+ with 2Gb RAM. First of all do you think it is powerful enough to run XBMC and ZM in seperate virtual machines? - I appreciate the more RAM the better but at the moment I am sticking to 2Gb.
I was also wondering what sort of issues may arise for the audio and video areas I will be using. XBMC currently outputs through an HDMI cable to the TV and ZM recieves video signals through a seperate video card. ( I have had my concerns in the past that there have been conflicts in the way I have set things up!). I have read a number of guides about setting a system up with virtual machines but not really found any articles about the practicalities of using such a set up at home. before I commit and spend a week pulling my hair out trying to get it all to work!
View 4 Replies
View Related
Feb 5, 2010
I am Working On Citrix Xen Server.I have Installed two Virtual Machines(Centos 5.3).Now Apache is Configured and its running on the First VM.Can I Set up a Apache Clustering On those VM?.My Aim is "If Apache On the First VM Down,then Apache on Second VM Should Automatically Start".Is there Any Tutorial to Setup Apache Clustering On Virtual machines.
View 4 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
May 25, 2011
I am looking for a version of vmware that manages 2 severs at the same time and that mirrors them such that if one goes down we can still work on the second and of course it also works as a backup. Also, must work on a ubuntu server I have looked but there are so many version that I don't know which one is the best.
View 1 Replies
View Related
Oct 12, 2010
I have a few mail servers, a mail log server and a web server running on Centos 5. Now I have a task: to avoid accidental crashes on the production servers while installing updates, my boss asked me to do clones (these clones will all be VMware virtual machines) of the servers (EXCLUDING the actual e-mails and log contents) and then to run those clones on VMWare Server. This way, first I will install and test updates on the clones and - if they will be running without crashes - I will apply the updates on the real production servers themselves.
I have already installed VMWare Server 2.0 I have a few questions: How do I build the virtual machines to exclude the actual mail files and mail logs? Can I use VMware Converter for this purpose, or do I have to use another program? How do I actually do this cloning? Is there a tutorial on how to do this?
View 4 Replies
View Related
Jan 13, 2010
i have managed to be starting applications remotely (on the X client). then, the Xserver can be a linuxOS, or a winXP application (Xwin32, Hummingbird)... so i can get the applications (xlogo, konqueror, or dolphin) from the X client showing on my X server (at my terminal that is). no problem. Problem is with startx. since my Xclient is a file server, i don't need for it to be running xdm... but i would like to be ssh'ing to the machine and startx when (rarely) needed.
what happens currently is that i ssh to the file server, i open up the Xserver locally (or the terminal), and i verify that xlogo will start on my X server instead of on the Xserver of the fileserver. then i try to 'startx' but i get nothing on my screen, while the window manager is loading in the Xserver of the file server itself... how can i change that??? i have verified that $DISPLAY variable is pointing to my Xserver (how else would xlogo work?)..
View 2 Replies
View Related
Dec 16, 2009
I am still puzzled by IT guru who still install a server version of Linux using the default partition system. I am curious about what the IT guys in this forum think about this, even when the server is part of a cluster.
View 1 Replies
View Related
Mar 9, 2011
At first I thought the Delay was normal. After looking around it seems that it's not true. I made a post here. The Problem seems to be related to DNS.
The Server in Question is not Online (as in on the web), all machines are on local ethernet. From What I understand DNS is to mask the IP like a named variable for each IP. I am still figuring out the ins and outs of a linux server. DNS is something I have little or no grasp over. So I need help in setting up the DNS for this scenario case. All guides I have seen seem to be for web servers which is where I stop reading and look for other guides. I have webmin and Bind9 installed on the server.
View 7 Replies
View Related
Jul 23, 2010
We got a new server with 2 network interface cards with 4 MAC addresses in total. We would like to run two virtual machines (vserver1 and vserver2); one should connect via eth1, the other via eth2, and the host (mainserver) via eth0. The content of /etc/network/interfaces is as follows:
[Code]....
A connection from mainserver to vserver1 or vserver2 is not possible; a ssh connection from mainserver to vserverx ends with a login to mainserver.
View 2 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
Oct 14, 2010
I've got a working Virtual Postfix server running with mysql doing user authentication. I have a support email address set as support@hostname.com, which has 5 aliases associated; user1, user2, user3, user4, and user5. When an email is sent to support@hostname.com, all 5 users receive the email, just as planned. What I'm looking to do is when an email is sent to support@hostname.com to have it rotate through the members of the alias group. That way all members of the group get support emails evenly and not everybody all at once. Is this possible?
View 4 Replies
View Related
Jan 24, 2010
I am upgrading my server and I have a lot of sites. Since I cannot take my server down for a few days, maybe a week until I manage to migrate all the sites to the new machine, I figured I could migrate them one by one. After migrating one, I would somehow tunnel the requests of that name virtual host to my internal machine. When everything is migrated, I would then switch the machines, update ip's and stuff and everything will work just fine.
However I cannot seem to find a way to do this tunneling. is this at all possible? If not, what alternatives do I have?
View 5 Replies
View Related
May 3, 2010
I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.
View 5 Replies
View Related
Jun 2, 2010
I used to use server 64, and it handled memory well with Jaunty and Karmic but with Lucid the memory usage is always high and can't run virtual machines.
[Code]...
View 9 Replies
View Related
Mar 28, 2010
I am in verse to test "Multicast Packet filtering".I want to setup Virtual Machines to be servers with bind option set to a multicast group address of 225.0.62.87.Then I want to configure the client VM, connecting to the multicast group address and setting the TTL as needed.
View 3 Replies
View Related
Dec 10, 2010
I only have one IP adress to access the server. But the server will host 3 web sites and I want them to be hosted in a vm. So, I want to setup 3 virtual machines to do it and use apache reverse proxy and vhosts to redirect the domain requested to the right vm. Now. I understand the concept, but I am not an expert to set that up....
I have an openSUSE 11.3 server. So, I have to set a virtual machine server, is that right? I have been told that I cannot do it with VMware server in oS 11.3. Can I use virtualbox for this? I only have to install virtual box? Is there a special version to install? Once the virtual machine server is install, is it trivial to create 3 vm? So, I want to know wich are the steps I have to take to set that up.
View 9 Replies
View Related
Jul 22, 2009
I cant get my linux server ( centos5 ) with virtualbox run 2 virtual machines in headless mode. Only one machine gets network connection. Can anyone tell me how to make 2 or more virtual machines work with 1 eth-port in headless mode using virtualbox ?
View 1 Replies
View Related
Aug 23, 2009
I'v multi v-host . need to make each V-Host work under separate user (not apache user).
There is one module/patch call " mpm-itk " . In Debian/Ubuntu every thing is sweet
just do
apt-get install apache2-mpm-prefork libapache2-mod-php5 or aptitude install apache2-mpm-itk
that is all
But in CentOS 5.3 , there is always some difficult different (Why ? I do not know)
Kindly, Look to this solutions : [URL]
Is there possibility to avoid this complications ?
- I need solution without compiling + patching the apache , Is this possible ?
View 1 Replies
View Related
Jun 27, 2009
First off I am new to Linux and fairly new to working in Networking and Server config's. I have been using Windows for years and have been learning Windows Server 2003 as I have a Technet account, I can get any MS software. I would like to learn Linux and use this as my Server environment. My project looks like this: I have a Quad core, 8gb machine. I want to install a distro of Linux (server or desktop) and run Virtual Machines on it.
My perferred way would be to use Virtual Box but I could use VMware products if that was better. I would like to run WS2003, WS2008, Linux Distro and anything else that will run in a VM. I can figure out that part pretty easily. I want the Linux host machine to run all these VM's and access and use them on my MAC remotely. I have done some research on ESXi as well, but I don't think my Hardware is going to support that. My exact PC spec's are:
AMD x4 940
8gb DDR2
Gigabyte MA770-UD3
2 Velicoraptor Drives
GTX 260
I will be dual booting this machine on one of the Raptors for gaming as well.
View 4 Replies
View Related
Sep 29, 2010
I have 2 CPU 8 GB RAM server running MySQL & HTTP server with apps using LAMP architecture. Since last few days we are having some performance problems.While looking at the problem i came to know both mysql and http are almost taking 100% cpu time of a single processor and the second processor is free. redirecting the mysql load to one cpu and http load to the second one? Is it possible? If so how to do it?
View 1 Replies
View Related
Nov 10, 2009
in my network, users has total access to their PCs, so theres a problem to filter (URL, ports,etc.) their virtual machines installed (they can assign self any IP, e.g.)
Id thought about use the MAC prefix in VMware VMs (00:0c:29:*), but i can only found a way through DHCP, and this isn't a good solution (they can assign a static IP to workaround...)
It will be better using firewall (iptables), but I don't found the way to add rules based in MACs with wildcards.
View 2 Replies
View Related
Jun 2, 2010
I setup a private network from virtual machines and one of the machines is the DHCP server for the group. I want to specify a next-server for the DHCP server but I'm having trouble connecting to any of the machines that I lease IPs to. I'm just trying to do a simple ping/ssh to 10.0.0.252 (a machine with a lease) but it doesn't seem to respond. I'm assuming I need to be able to connect to my next-server but maybe I'm wrong.
View 1 Replies
View Related
Feb 15, 2011
I have set up a SSL site for my default Apache server. But I want to set up multiple SSL sites for multiple IP based as well as Name based Virtual hosts. Is there a way where in I can include definitions for SSL certificates and keys within the Virtual Host directive in the httpd.conf, so that I can specify separate key and cert file for every Virtual Host.
View 11 Replies
View Related
Aug 29, 2010
I am new to virtual machines in general, and currently playing with the XEN-based VM in CentOS 5.5. Question: if neither virt-manager nor virsh (using "virsh edit <guest name>" and changing the name in the XML file) are designed to actually change a guest's name...then what is the recommended procedure for doing this?
View 1 Replies
View Related
Mar 19, 2010
how i can instal mysql,apache and php through my usb. what commands do i need?
View 2 Replies
View Related
May 9, 2010
My config:
Ubuntu 9.0.4 (all up to date with security patches)
Apache 2.2.11
MySQL version 5.0.75
PHP Version 5.2.6-3ubuntu4.5
I'm running Ubuntu as a Virtual machine with VMWare on top of a Windows 2008 Server. It has been working perfectly for nearly 9 months. I have one processor and 2GB of Ram assigned to the Virtual machine. Memory usage seldom ever reaches more than 50%, swapfile is hardly used either. I noticed recently that sites were loading very slow from time to time. Webmin showed me that USER / KERNEL were together using 100% cpu. I then started searching for answers to what was causing this and then read about using HTOP. I then installed HTOP and found that the following processes were the culprits
/usr/sbin/mysqld
/usr/sbin/apache2 -k start
There are multiple instances of mysqld and apache2 listed in HTOP, I assume this is because I run multiple sites on the box. It does however seem limited to only one or two PID's that are repeatedly maxing out the CPU at 100% (every 30 seconds to a minute) sometimes the CPU will stay maxed at 100% for nearly a minute and then free itself again but it is doing this continually. At the point when the CPU maxes out at 100% there will be one instance of mySQLD and one instance of Apache2 right at the top of HTOP and between the two they will be hogging 100% cpu. All the sites are either Wordpress or Joomla sites and I am quite confident it's one of these sites causing a problem.
My issue is that I cannot pin down which PID belongs to which site. Then, once I know which site it is how do I then trace what process / file inside that site is casuing the problem? I figured one of my busiest sites (wordpress) might be the culprit and I installed the W3 Total Cache plugin today but that has not helped this 100% cpu problem, so for all I know it might be another WP site on the box or even one of the Joomla sites. I've noticed that the TIME column on the one MYSQLD instance that maxes out is very long so it seems like Mysql is keeping some connection open or something?
View 8 Replies
View Related
Aug 18, 2010
I'm wondering if this is even possible before I start the learning curve with Ubuntu and apache virtual hosts.
I have a static external IP address that resolves to the various domain names I will be using. I have a web server inside my network with a private IP address and any http request to the firewall is forwarded to the webserver on the appropriate port. This setup works well when using the same web page/configuration for all of the domains.
Will it be possible to use named virtual hosts in this configuration, or will the NAT'ing interfere?
View 9 Replies
View Related
May 2, 2009
We've been experiencing sudden host server crashes minutes after starting a fourth virtual machine. Our setup looks like:
Dell Poweredge T300
1 x Intel Xeon X3323 Quad Core 2.5 ghz
16 GB Ram
CentOS 5.3 (64 bit)
Server is running a stripped down version of CentOS 5.3 (64-bit), running only the built-in Xen Virtualization Environment. There is no other services running on the server (not samba, httpd, sendmail, cups... nothing except Xen) We've created several virtual machines, and as long as we don't start a fourth virtual machine everything runs smoothly (impresive hardware).
Each virtual server is configured as:
PARAVIRTUALIZED
1 Virtual CPU
1 GB RAM
However, 5 minutes or so after starting a fourth virtual machine, the entire host server crashes and restarts itself. Are we limited by the number of cores on the host machine CPU (4 cores)? 1 for the host and 3 for virtual machines? We've read in forums about other Xen setups running up to 11 virtual machines on less powerful hardware? (a dual core server). Should we be using FULLY VIRTUALIZED virtual machines instead? Is the number of XEN virtual machines in fact limited by the number of cores? If so, how can someone run several virtual machines on a single core host?
By the way, we were replacing a previous Dell Server (Poweredge 2600 with 512 MB Ram and a single Xeon single core processor running Open Virtuozzo). We were able to run up to 16 virtual machines at the same time. Of course none of the machines endured hard work (testing environments, etc). But hey, my point is that we expected to get a much higher number of virtual machines on this new hardware.
View 8 Replies
View Related
Sep 20, 2010
I have a web server in my kitchen with apache running on it. Since the upload speed is quite low due to my isp I would like to execute a bash script that uploads a file to another server through a website (which is htaccess protected) The idea in general: Someone with access to my website browses through a folder, copies a file path to an input form and presses "upload". Rather than executing a bash script directly I could have a cron job running in background that finds the path and then uploads the file to the other server I have userspace on and is accessible via sftp/ssh. The file would be than erased later after a couple of days or so. That person would be able to access the file with higher speed some time later without logging in via ssh and doing all that manually.
View 2 Replies
View Related