CentOS 5 :: Creating Virtual On XEN?
Nov 4, 2009
I have Installed centos 5.3 and enabled virtualization on it. now i want to create virtual mechine , while trying this im getting following errors :i have used virt-install command then it has asked some questions and i have answered them of what ram , location e.t.c .. after that a warning came reagarding partition , then an error came like : input / output error during read on /dev/xvda i have ignored this error and continued installation at last i have got an error:like LVM operation failed : vgcreate failed for volgroup00 , the installer will now exit.
View 1 Replies
ADVERTISEMENT
Jun 1, 2010
I'm having some trouble creating a VM of Ubuntu 10.04. I've downloaded the ISO. I've created a new VM using the VM Assistant. I selected "Use operating system installation disc image file" and chosen the ISO. When I run the VM, it sits at the following screen:
I've selected Virtual Machine > Install VMware Tools. Nothing happens.
Could someone point me in the right direction?
View 7 Replies
View Related
Apr 14, 2010
I am trying to setup a VPN using OpenVPN to allow a secure connection between my smartphone and my LAN. I have been reading an OpenVPN book and some tutorials on how to setup the server side, but I'm stuck at how to create a virtual device. The OpenVPN book says when installing OpenVPN the installer (or aptitude to be more precise) should ask me if it should create a TAP/TUN device. The thing is, it doesn't ask me anything at all. It just installs, that's it.
Most tutorials simply tell me to create a new device in the network/interfaces file. Where is the difference? What should I do now? I like having options, that is one reason I like Linux, but this does confuse me. My second question is about the IP range of the virtual adapter. Should it be in the same range as my LAN, or should I use something entirely different?
View 1 Replies
View Related
Dec 8, 2010
[URL] using Ubuntu on Virtual Box and creating SWAP partition on /dev/sdb1. I tried this guide and getting error
Code: [URL]
View 14 Replies
View Related
Dec 24, 2010
i have jsut installed hypervisor tools and was trying to setup xp in a virtual machine.. but i keep getting this error unknown OS type hvm
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
Mar 9, 2011
I want to create a virtual serial port in Fedora. I'm using Java code to communicate over a serial port. I want to test this code with out any serial devices connected.
View 1 Replies
View Related
Apr 14, 2010
I'm quite new to linux, but I've managed to grasp some basics. Now my intention here to create a virtual directory, which I resorted to creating an Image File so that I can mount it and have my folder have a dedicated storage. I will mount this image as a loop device. Well it's not much of a problem, but I would like to know whether this is suitable. Say I want to create a 25GB Image.
Code:
dd if=/dev/zero of=/home/disk-img/25GB.ext3 bs=1G count=25
Is this recommended? I'm using block size as 1G which is really huge, so I was wondering, if this is actually recommended. From what I read, some said that it's only advisable to use 4096k or lower, but what I found was that these suggestions are very dated (year 2003), and it is now 2010, so I would like to know if it makes any big differences.
View 13 Replies
View Related
Jun 4, 2010
My laptop boot up time increased considerably (10 seconds) after allocating a virtual drive for virtualbox guest. The guest installation did not work so i removed it along with the virtual disk. Now everytime when i boot to ubuntu, after inputting my password in the login screen, it takes much longer to load the system. And during the loading time the disk activity indicator light blinks indicating the harddisk is actually busy loading the system.
I decided to search around for a possible answer and force reprofiling ureadahead does the trick Now boot time is back to what it used to be
View 3 Replies
View Related
Mar 17, 2009
I have a quad cpu with 8gb ram running SUSE 10 sp2 on a raid 5 XEN host server. I have created a 250 gb partition GWMAIL in the extended partition to be the disk space for the first virtual machine OES sp1 with groupwise 8.0. I have downloaded the OS .iso's to the desktop of the host server to use for installation. When I begin to install, it hangs for 5 to 10 minutes then gives me an out of space error.
View 2 Replies
View Related
Apr 16, 2010
I am installing a cluster which is hidden from the rest of the world and there is no router either froma general login node. I would therefore require a local repository of the updates to CentOS5.4. When I checked I only found instructions for a full mirror. As I have no room and neither the human resources to setup and maintain a full-blown mirror, this is not a solution. However if I try to find updates for 5.4 to download in a repository-type of way I fail to find a solution. Maybe I am just not looking in the right places.
View 1 Replies
View Related
Mar 23, 2010
I am looking to create a user to be able to do WinSCP or SSH into the system and only be able to see /var/www/html/joomla/ and that is it. I don't want them to be able to start or stop service but be able to upload and download files to the specific directory or change privileges of the mentioned directory. Is that possible? what commands should I run.
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
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
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
Jun 16, 2009
I want to add more than one Virtual IP to my CentOS machine. I was able to add one ver easily by creating a file ifcfg-eth0:1 and editing the IPADDR field. But I cannot create more by creating a ifcfg:eth0:2, for example.
View 3 Replies
View Related
Jul 12, 2011
I have created a ftp user in centos 5,but it got all permissions to delete files in other location,view the entire directory and create any folder in every place. How to deny this permissions to the particular user.And please help me to give permissions only to a specified location given by the root.
View 4 Replies
View Related
Aug 23, 2009
I followed the instructions here: [URL] and then here: [URL] and installed the necessary packages. But when I try building the minimal image as a test, I get lots of errors, as seen in the attached build log. There are lots of things that don't seem to work. Is this project at a state where it's not currently usable? Or do I have a problem with my system configuration? I was running at root.
[root@localhost test]# LANG=C livecd-creator --config=centos-livecd-minimal.ks --fslabel=CentOS-minimal
Filesystem label=CentOS-minimal
OS type: Linux
Block size=4096 (log=2)
[code]....
View 4 Replies
View Related
Feb 5, 2010
I had configured raid 5 in centos on my testing PC. Recently one of its harddrive fails. So I decided to insert a new in replacement of it.Secondly i would like to know how to create manual partition using terminal. I thought using fdisk /dev/hdb is thw way but it confise me because in this i have to give block size or start and end cylinders which is very confiusing, Any idea how to make fixed size partition like 10GB or more.
View 1 Replies
View Related
Mar 22, 2010
I have just finished installing (after hard work ) Centos 5.4 x86 configured with Snort & Snorby as frontend web, i would like to create from this installation kind of image that could fit to almost any hardware type.
View 2 Replies
View Related
Mar 16, 2009
I had installed PHP using yum install php. I am trying to use the pdf_new function to create pdfs from existing text files, but I get this error PHP Fatal error: Call to undefined function pdf_new()I have noticed that when I run the phpinfo() command, I cannot find the PDF phrase at all. My php.ini file does not even have these two linesextension=php_pdf.dll extension=php_cpdf.dll kind of command I should use if I need to build PDFs using PHP on Centos 5?
View 1 Replies
View Related
Mar 17, 2009
I am new to linux, running a brand new centos 5.2 server. One application I want to use it for is to serve as a network host for a game my friends and I enjoy. Normally, to run the game in host mode you call the binary and pass it a port number (along with other options). To host a second instance of the game, same thing different port, you get the idea.
After doing that the binary runs in your window and dumps to stdout, so if you want it to run 24/7 you have to come up with your own strategy like nohup. Fair enough, now, I'm trying to coax the game into restarting automatically upon reboot. The most correct way to do this seemed to be to write a script for init.d so that's the road I traveled down. Now, to strain the metaphor, the pavement has ended and I'm stuck in the sand.
Here begin my questions:
I've been following the structure of other init.d scripts and I notice they all seem to call the function daemon() (contained in /etc/init.d/functions) to start their services. Looking at the structure of daemon() I see that you can pass it a user and a pidfile. The user part seems to work fine, but no pidfile is created. Let me be more specific.
Like the other scripts, I explicitly touch /var/lock/subsys/game-port on startup, which works fine. However, all of those other services seem to have a pidfile in /var/run and mine doesn't. They don't create it explicitly in their init.d script therefore I assume that some other process is creating the pidfile. At first I thought it would be the call to daemon(), since you have the option of passing it --pidfile, but that doesn't seem to work.
Are the services themselves creating the pidfile? If that's the case then I have more complications because the game binary apparently doesn't do this. Second question but probably related to the first. None of the other init.d scripts I looked at seem to do anything special to detach their services from a particular terminal session, therefore I didn't think that I would need to either.
Again I thought this was something the call to daemon() might accomplish, but either I'm wrong or I'm doing something wrong. I can probably work around this with nohup or appending '&' or something, but I'm just curious that other services like crond, sshd, named, etc., don't seem to do this. Are they determining this behavior from within the binaries themselves? I hope this is clear, as I said I'm new so I may not be getting all of the terminology correct.
View 2 Replies
View Related
Feb 12, 2011
Wondering if the internal network will benefit of connecting to a local DNS server, rather than my ISP dns server. Can I create this local DNS server, without having an external domain, pointing to my server ?
All I want is faster lookup of known hostnames, both internally (hostnames) and externaly (cnn.com etc..)
View 10 Replies
View Related
May 7, 2011
I am trying to create a custom service to manage a minecraft server what runs in a screen session (this is to allow easy console access as opposed to running it as a nohup background process). I am hitting two main issues with this script so far and wondering if anybody is able to shed some light on it, considering I am far from the greatest BASH scripter on Earth.
The issues are related to start and stop. the first issue with start is there is a command run "screen -dmS minecraft java -Xms1024M -Xmx1024M -jar /minecraft/minecraft.jar nogui" what doesn't appear to work, however when run from console (copy and pasted) this command seems to run perfectly. I am uncertain as to why this is not working within the script. Also if run from a script in /minecraft it also appears to work but in the minecraftd script I have created at /etc/init.d it does not work. I think the issue might be related to the location but am not certain on it, nor how to resolve it.
the second issue with stop is that it works sometimes but at other times it does not, overall it seems to work about 30~50% of the time. When it works it passes a couple of disconnection messages to the screen session and then gives the stop command (the command to gracefully terminate the minecraft server). It seems to work more often when using screen that I attach to the minecraft session while it is running but really not sure if this is an issue with my scripting or an issue with how I am passing things to screen.
The full code in /etc/init.d/minecraftd is below
Code:
#!/bin/bash
## Script Information
## Script Author: Berwick East
[code]....
View 9 Replies
View Related
Oct 29, 2009
I can cause the kernel to panic immediately with the following command. lvcreate --snapshot --name Snap --extents 100%FREE VolGroup00/LogVol00 The last line of the panic message is "<0>Kernel panic - not syncing: Fatal exception" If I create a snapshot of any other volume it works just fine. It only panics on LogVol00 which is my root fs.
I'm running 5.4 after update from 5.3. It didn't work with 5.3 either. This is a 32-bit guest running in VMWare Server 2.0.1 which is running on FC10 x86_64. I've tried the guest in both UP and SMP (2 cores) modes and observed no difference.
View 2 Replies
View Related
Mar 9, 2010
I would like to a build a CD image (of CentOS 5, x86_64 that loads into memory and boots to the OS without installing anything to hard drives. Then I would like the system to execute a shell script automatically. The shell script will have commands that will control execution.
The goal of this exercise is basically to pre-configure a system (RAID config, BIOS update, etc) automatically using the shell script before installing the OS. I would like the ability to change the shell script as needed and probably repackage the ISO image. I would prefer not to deal with building a source tree to accomplish this. this is something one could do using mkisofs.
View 1 Replies
View Related
Aug 1, 2011
We have a squid-proxy configured with 1 delay pool to limit the bandwith to 6M. I have to create a kind of exception for a specific
remote host for which we want to reserve 1M which is not included within the 6M. How should I do that? Here is our actual configuration of the delay pools
acl all_network src 0.0.0.0/0.0.0.0
delay_pools 1
delay_class 1 1
[code]....
View 1 Replies
View Related
Jul 23, 2010
I am trying to install centos 5.5 inside of virtual box. I have downloaded 8 .iso files *bin-1of8, *bin-2of8 and so on. During the virtual box install I pointed virtualbox to the bin-1of8 file but it complained. Is there something I was supposed to do with the 8 files first? Some sort of merge?
View 1 Replies
View Related
Jul 10, 2009
I've just discovered that crontab is creating a new file in the root directory every time it executes a cronjob, and it doesn't erase over the old file so there are thousands of files in the root directory, they have the same name as the script file (appended with a numeral) but are all blank.here is what one of the cronjob's looks like[URL]
View 10 Replies
View Related
Apr 12, 2009
I intend to setup a Linux Virtual Server cluster behind a firewall. I have two machines which will run Centos 5.3 and act as the routers. I have two other boxes for now, also running Centos 5.3 which will run the server applications. All these machines are connect on my local network behind a firewall. I will ask for the two LVS router machines to be granted access through the firewall for web access (port 80) and ssh access (port 22). These two ports should be sufficient for me to receive my web application requests, as I will use NAT translation on the LVS machines to redirect to the applications on the real servers.
I've read the documentation for the LVS but I would be grateful if someone could give me some guidance on the whether I will have any problem with the firewall and the LVS routers machines, as I have described it above. Do I need to ask for anything other than access through the firewall for these two machines. They will get DHCP IP's I guess. Also, its not quite clear to me where the LVS router machines LAN cards get connected. Do all of the NIC cards connect to my local network, or do I need an independent hub to connect the second NIC of the LVS router machines, and as such use static IP address for them on this private network.
View 2 Replies
View Related