Is it possible to make a linux virtual machine appear as the host machine to a network tool like nmap or Blue's Port Scanner without recompiling the kernel?
Need to do test configurations on (unfamiliar) Cisco/IOS equipment. Is there a virtual machine I can light up and use it in my test environment as a real firewall/edge/core router?
Hi,
Toast Titanium 10 offers a way of mounting an image into a virtual DVD drive so that it is viewed as being a separate physical drive by other applications.
I was wondering if there was a way of achieving the same result using the built-in OS X tools (whether GUI or command line), as I am aware it has many of such built in.
Thanks in advance!
I have setup a lamp server in buntu 9.10 inside virtual box.. but does anybody know a way how to get wildcard subdomains working with this setup?
Is it possible to only setup a DNS for the virtualbox and use this only for the development envoriment?
I am looking for a web-based virtual machine manager, which will work on our Ubuntu server.
Ideally, I need something that our team can use to create a VM, test builds and packaging and then either restore to the original state or delete.
libvirt has an API, but I can't find any web apps using it.
Thanks
I have read this tutorial to and added this command in the file
vmrun start /media/VM/WindowXP/Windows XP Professional.vmx
I have also added one more line
echo "hello" >> /home/abc/test.txt
to check if script is runinng or not.
When i restart the ubuntu , then virtual machine does not start. But there are two "hello" in that text file
I don't know why two hellos but vm is not starting
There is huge number of different formats for virtual storage files for desktop and server purposes (vmdk, qcow2, vdi, vdk, etc.). I'm writing a little script for manipulating them and would like the script to be able to distinguish between them.
Of course, it can be done via extension, but I want this to be more reliable. I tried commands file or qemu-img, but the results are not quite clear. Any idea improving my methods?
I want to achieve following:
(Note I'd like to get this done first of all with Win7 as both host and vm OS)
Install Windows 7/xp/Windows 8 VM on Windows 7/Windows 8 host machine
Configure it so that I can connect to it via remote desktop.
This is because I use a screen reader software and audio output directly from VMs is not highly responsive. My software has a feature that it can connect to its copy on the remote machine (during rdp session) and then start receiving the text description which it translates into audio on the client (host in this case) machine.
I want to know:
Which VM software can let me do this – VMWare/Ms Virtual PC or VirtualBox
If it is possible with every VM software, could you give an example of how to do this with anyone of these 3? Specifically, I know how to install Windows on VM (on both VMWare/Virtual PC), but don't really know how to configure a network such that I can remote into that VM from host OS.
Hope it clarifies what I'm trying to achieve.
I've looked the normal places, msconfig, run, runonce for something that would prompt this to run at startup and I can't figure it out. Does anyone have any ideas why System Properties would open up every single time someone logs into this server?
The migration steps outlined by Microsoft in the ts migration seem to deal with moving TS to a different server on the same domain and call for adding the licensing service to another system, move the licenses and then put TS on whatever server you want. However with migrating the domain as well I don't have any place to move the TS server to.
So my thought was to simply re-activate my licenses on the new server using the same method as a new TS setup. My question is essentially will this work the way I think it will or will the MS activation clearing house deny the new server? Is there a procedure to follow that "deactivates" the licenses on a server so that the clearing house knows there are some free?
(FWIW I can look up the license information through the eopen website and have access to the original license doc.)
Hi,
Say I'd like to restrict access to a virtual host to multiple IP ranges. How to do that? The Perl regex syntax style doesn't work, and i don't want loose restrictions like 10.*
The code below works for a single range:
$HTTP["host"] == "adm.example.org" {
$HTTP["remoteip"] != "10.0.0.0/28" {
url.access-deny = ( "" )
}
}
Thanks in advance.
So, the question pretty much says it all. I'm on Snow Leopard, and I do a lot of web development, particularly in Rails 3 which makes heavy use of the console.
I've seen some notable bloggers etc. mention Zsh as their preference over Bash, but I don't know what difference it would make.
Could anyone give me a good comparison of what difference there is and what might make one prefer one option or the other?
Thanks!
"In computing, tee is a command in various command-line interpreters (shells) such as Unix shells, 4DOS/4NT and Windows PowerShell, which displays or pipes the output of a command and copies it into a file or a variable. It is primarily used in conjunction with pipes and filters."
I run
echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
twice.
I opened the conf.d folder in Nautilus, but there isn't a splash file nor directory. I expected a file to be there with FRAMEBUFFER=y inside but there isn't. Is this going to be a problem?
We have two computer in office and two people. My computer is much more faster than another computer. Is it possible my colleague connect to my computer remotely and work by my computer?
Using "Remote Desktop" in Windows only one user can log into computer. So when he connect remotely, my user logged off. Is there a tool which can help in this case?
I already knew VNC (RealVNC) But it's not helping because when a user connect to my computer, he see exactly my desktop, not his own user desktop.
On my work scientific linux 6.2 machine, I often start typing in a directory like below and use tab completion to finish it:
~/mydir
But when I hit tab, it becomes e.g.
\~/mydirectory/
With an extra forward slash at the start. Why is this, and can I prevent it? It's a pain because using cd etc. doesn't work with the extra slash, I have to start from the actual home directory which is something like
/home/username/
On these PCs.
I foolishly removed some source code from my Mac OS X Snow Leopard machine with rm -rf when doing something with buildout. I want to try and recover these files again. I haven't touched the system since to try and seek an answer.
I found this article and it seems like the grep method is the way to go, but when running it on my machine I'm getting 'Resource busy' when trying to run it on the disk.
I'm using this command:
sudo grep -a -B1000 -A1000 'video_output' /dev/disk0s2 > file.txt
Where 'dev/disk0s2' is what came up when I ran df.
I get this when running:
grep: /dev/disk0s2: Resource busy
I'm not an expert with this stuff, I'm trying my best. Please can anyone help me further? I'm on the verge of losing two days of source code work!
Thank you
When I used to execute the jobs command I got a list of running processes with their respective process-ID, but in Ubuntu lucid lynx this doesn't seem to be working. Anyone have a solution?
Recently I started using Tmux, but I noticed that it causes a strange Emacs glitch. When I open source code for elisp or haskell, the comments aren't highlighted. Only the comment sign is (; in case of elisp, -- in case of haskell). The rest of the commented line is in normal colour. When I run Emacs outside of Tmux everything works as expected - the whole commented line is highlighted in a colour denoting a comment. Any ideas why this is happening?
SOLUTION:
Based on Stefan's comment I added this to my .emacs file:
(custom-set-variables
(custom-set-faces
'(font-lock-comment-face ((((class color)
(min-colors 8)
(background dark))
(:foreground "red"))))))
Now the comments are displayed in red, just like comment delimiters.
I have to concatenate a number of files in a directory structure which contains spaces in the folder names looking like this: ./CH 0000100014/A10/11XT/11xt#001.csv
find . -name "*.csv" -type f -print0 | xargs -0 cat > allmycsv.txt
does the job, however now I need to include the information contained in the path, i.e. CH 0000100014/A10/11XT as a header of each inputfile to cat.
find . -name "*.csv" -type f -print0 | xargs -0 -I % sh -c 'echo %; cat %' >allmycsv.txt
would do the job, if I had no spaces in the path, but in my case, cat does not get along with the space in the path name. Is there a way out?
Cheers,
E
P.S. I am working on bash on OSX
Whenever I complete something in the command line while using Ubuntu and my computer does something of value to me, I enjoy saying thank you, just because it's the polite thing to do. A typical conversation might look something like this:
mtp-sendfile HamishAndyPodcast.mp3 /Music/podcasts
Sending file...
Progress: 17769768 of 17769768 (100%)
New file ID: 76098
sam@sams-laptop:~$ thanks
thanks: command not found
What's the best way to teach my PC a few manners and respond with something like "No problemo".
I'm sure I've just missed which tutorial/manual page covers this, but how do you add get the guest OS to recognize that you've added new drives to it without a reboot?
I have a RHEL5 guest running on ESX 4. I've added new virtual disks to the VM, but have not figured-out how to get the guest to recognize them without a reboot.
Is this possible? If so, how?
as we all know tmux is quite nice tool, but there is some scenerios that Ctrl + B cannot be used
for example:
i sshd to server A, and now i connect to A's tmux pty, so Ctrl + B is captured by server A.
then i ssh to server B from server A, and there is also tmux running on Server B, this time, Ctrl + B only works for server A, and cannot be used by server B, so if i want to switch windows for server B, what should i do then?
All of the sudden when restarting Nginx I get the following error:
Restarting nginx: [alert]: could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2011/02/16 17:20:58 [warn] 23925#0: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
the configuration file /etc/nginx/nginx.conf syntax is ok
2011/02/16 17:20:58 [emerg] 23925#0: open() "/var/run/nginx.pid" failed (13: Permission denied)
configuration file /etc/nginx/nginx.conf test failed
On the front end part of the site loads but some files such as the CSS in particular are not loading. They exist on the server but when loading the resources directly in Chrome they say "Oops this page can't be found."
I set a special group and user to run my apache files using suexec for my domain files. I think the nginx are owned by root however which I'm assuming is the problem but which nginx file ownerships would I change?
We have an ESXi 4.1 server with 48 GB RAM.
For each VM, we are allocating 4GB of memory. Since the server will have 13 virtual machines, my manager thinks this is wrong.
I am going to explain to them that ESXi will actually manage memory itself, but they asked me how much memory I allocated for the ESXi server itself.
I did not allocate any (I have not even heard of an option for allocating memory for the ESXi server itself).
How is memory allocated for ESXi server? How does it over-allocate/distribute RAM among virtual machines without issue?