General :: Mapping A Folder Between Two Virtual Installs?
Feb 23, 2011
I am working on a few different Linux related self-education projects, and I'm trying to stump myself as much as possible so I can learn as quickly as possible. Using VMWare, I have several Linux and Windows flavors I am using for various purposes. To the point, I have an Ubuntu server (text only) and a Fedora desktop installed, and I need to figure out how to map a drive on the Fedora VM so that I can access it on the Ubuntu server VM. I have installed Samba on both, and I can send a ping from one to the other with no problems. I guess I just need some help with the command line syntax?
On a related note, I have NOT been able to figure out how DNS works in a setup like this, so when I say I can ping them, it is by IP address only. I'll work on the DNS stuff soon, but for right now, I just need access to my Fedora VM, unless for some reason you can ONLY set this up via DNS.
Ubuntu server 192.168.28.133
Fedora desktop - 192.168.28.130
Folder I need to access: [Fedora desktop]/home/[username]/downloads/
As i undertsand - out of 1GB of the virtual Address space for Kernel from 3GB to 4GB of the process address space, Kernel image (code, data, bss, stack, heap) resides staring @0x0 address. Vmalloc area starts either at the end of Physical ram size or at 896M. This 896M cap is mandated to ensure that minimum of 128MB is reserved as vmalloc_reserve for vmalloc,kmap etc.
Is the understanding correct? Now trying to map Physical Zones into this 1GB address space
Initial 16MB is mapped to ZONE_DMA 16MB - 896MB is mapped to ZONE_NORMAL 896MB - 1024MB is mapped to ZONE_HIGHMEM
Does this mean that Kernel image is residing in ZONE_DMA area? Any call to vmalloc() in kernel code will return address beyond 896M? insmod of any LKM will internally invoke vmalloc() to obtain contiguous area - where will this code physically located along with rest of kernel code in ZONE_DMA or in ZONE_HIGHMEM?
I moved the catch-all mapping to the bottom of the virtual_alias_maps hash, and I realized my problem description wasn't accurate. All mail is going to user1. The header tells me it's going to user2 or user3, but everything is delivered to user1. postfix 2.5.5 fc8 /etc/postfix/virtual:
Code:
me@domain2.com user2 another@domain2.com user3
[code]....
my catch-all for [URL]t is working ok. however, everything sent to [URL] is delivered to user2 (local). i am expecting [URL] mail to be delivered to user3 (also local)
I'm have a server running linux ver: Linux version 2.4.22-1.2115.nptl (bhcompile@daffy.perf.redhat.com) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #1 Wed Oct 29 15:42:51 EST 2003
from my windows xp machine I can see that there are three shared folders using : 1- run then \10.1.2.4 I can map tow of these folders to a network drive using the root credentials. but when I tried to map the third one (it was mapped before) I got the following errors: first asking to insert the password again [URL]
then: asking to put the password but as a gust [URL]
I'm running Android (without installing it) through VirtualBox under Ubuntu. I already added a folder of my Ubuntu system, in the shared folder settings in VirtualBox.Now the question is: how do I access this folder from inside the virtualized Android?where is it?
I'm mounting a shared folder in an arch linux guest on a windows 7 host in Virtual Box. The shared folder's filesystem is ext3 and is mounted in windows 7 with Ext2Fsd. I mount the shared folder at boot with this fstab:
The scenario like this. I'm working on Ubuntu 10.10. I've enable samba sharing with full guest access enable. In my office I had another server (CentOS 5.5) installed just for me and I've created a Apache VirtualHost which root document pointed to share folder on my comp
This is my fstab setting //my ubuntu computer name/sharing/www /media/www cifs context=system_ubject_r:httpd_sys_content_t:s0,username=username,password=******,iocharset=utf8,fi le_mode=0777,dir_mode=0777 0 0
After label the mount folder as httpd_sys_content_t the Apache web server working in correct way (duno much but at least it can index files and excute some php code so) then the troll come in : if some file was created by my ubuntu (personal comp) then the file would be listed in Apache virtualhost correctly.
But if I'm ssh to CentOS server goto /media/www which was mounted to my unbuntu computer. Then type command like $mkdir something Suprising that folder ./something could not be accessed by Apache anymore except I remount by umount and mount it again or "setenforce 0" What is wrong with my system can anyone point me out of this headache
I can access my windows my documentsmusic by mounting my windows drive and browsing to it. I can then playwatch my movies and pics in Ubuntu.But what I really want to be able to do is re-map the Ubunbu docs folder like so:
Ubuntu Pics = Windows My Documents pics. Ubuntu Videos = Windows My Documents Videos.
I'm not very unix savy so I've been using Ubuntu tweak PersonalDefault Folder Locations setting and browsing to my Windows folders. But it doesn't work.I have managed to make a desktop 'short cut' and that works but I'd rather set the system wide default document folders.
I use the command ln -s a lot to create symbolic links. The problem is that I need to run a routine that looks for a specific string in ALL of my websites and I'd do it somehting like this:
Code: cd /home grep -R "function_enhanced_mail_v100.php" * however, it's going to recurse all the "folders" and include symbolic links which I don't wish to do. Is there any way to prevent this?
I have mounted a shared folder in Ubuntu in VirtualBox, but I have to remount everytime I restart. how do I make this command run (for mounting) on startup or make it permanent?
I would like to configure and SAN disk. But I do not have a physical SAN disk. Is it possible to create and configure a Virtual SAN disk and work on it with virtual machines?I have around 400GB of space in my Laptop.
I accidentally chowned my whole filesystem to nobody:nogroup.Stupid, I know.I'm wondering if apt keeps a copy of the perms it set during installs like RPM does?If not, is there any other way to restore the perms easily?If not, does anyone have a quick screenshot of their root level perms on Debian Hardy? I can at least start with a chown -R of the top level dirs and see how close that gets me.
I've found several how-to's, but the "problem" is that all the ones I've found up to now involve using xmodmap. I'm not radically opposed to that, but, with debian, for some reason, I don't need it. I don't have a Xmodmap file, and yet, the special keys have their "names", instead of NoSymbol (on xev). Anyone knows where the settings are, whenever one does not use xmodmap?To make things weirder I've tried to create a Xmodmap to use with arch from debian, but it get the names all wrong, for some reason. (I used xmodmap -pke > .Xmodmap). I guess that whatever debian does, it has nothing to do with xmodmap then.
But I think it may not be possible. Besides not using xmodmap, on debian I have the correct keyboard layout set without having any command (well, at least not on my openbox startup script... it could be somewhere along all those "deeper" startup scripts, on /etc/rc.#/, I guess... I'm going to check there now), while on arch I have a "setxkbmap" on my openbox startup script.
Is it possible to connect local folders to the remote windows machine via RDP session?For example Microsoft's RDP Client has a feature that will connect local hard drives to the remote machine when you open a RDC.I need to copy files but I can't use smbmout because of firewall.
I am new working with vyatta routers and my problem is next:I am installing 5 ip cameras and i am using vyatta router. someone could help me how can i access remotrly by internet to my internal lan where are my cameras instaled. i have read about dnat but i'm not sure if also need to configure ports tha i previosly asigned to cameras i get confuse with that because only find mapping configuration ip address but not ports.
I cannot set mod3 to the Shift_R key with xmodmap. Code: matthew@lokal:~/.fvwm/Default$ xmodmap -e "add mod3 = Shift_R" X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 118 (X_SetModifierMapping) Value in failed request: 0x17 Serial number of failed request: 11 Current serial number in output stream: 11
BACKGROUND: After years of having an idle machine with Linux on it, I want to use it everyday. My preferred distro is Debian Lenny. It is running on a 1999 Compaq that I want to use for testing. So far, configuration has been logical and steady.
PROBLEMS: So far, only Suse will install completely on my newer machine.
Fedora and Knoppix were also tried, and did not work.Where should I look to begin to troubleshoot this? This is not a rush job. I have time to do one or two things per day.
i use virtual hosts to develop several web applications. These are located in my home folder under /home/user/projects/project After a fresh installation, i always get a 403 forbidden error. After googling and reading on this forum, several solutions are mentioned for this problem. But i can hardly believe putting using a chmod 755 on my home folder is a correct solution. What is the correct way of doing things in this situation?
I have quite a strange issue with (supposedly) my keyboard mappings.
while using GNOME session:
lowercase 'v' is not working as it should - no keypress is reaching apps; while I'm holding V key depressed, gnome-terminal console shows a hollow cursor (just like when input focus is in some other window) and nothing is printed; uppercase 'V' is working just fine (that is Shift+V); if I press AltGr + V, a lowercase 'v' is printed; if I'm typing quickly, sometimes pressing V key to get a lowercase 'v' is not just being ignored, but also the next symbol typed is swallowed and not printed out; this issue is present for the USA keyboard layout, as well as for the Russian keyboard layout.
while using TTY console (Alt+Ctrl+F1, etc):
everything works as it should (i.e. lowercase ' is printed whenever I press it); no problems with the physical keyboard.
I haven't done any editing of any gnome/X configs and/or keyboard mappings.
This is my Ubuntu 10.04 Linux version:
$ uname -a Linux hostname 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux
How to setup Dynamic Multipathing in RHEL5 and mapping a device to it? I have a RHEL5 server which is connected with a HP BLADE Server. I have installed DM software. Now I want to map BLADE Server's LUN space with a directory of my RHEL5 Server.
Using squid, can you proxy the [URL] through the site [URL]. From the end-user perspective they would go to and maintain the [URL] and squid would proxy the application at [URL]. More simply the application available at [URL] would load into the namespace/domain [URL].
I have downloaded and installed programs and cannot find them. today it was k3b and k9copy. i even reinstalled them just in case. synaptic completes the process, but i can't find the programs on any menu. my command-line skills (though improving) are lacking. i've used ubuntu numerous times before and the programs of that type would always show on the 'sound & video' menu automatically. i'm considering the possibility that my installation is faulty.
I want an automated install (via CD or USB) of Ubuntu 10.04 ...on 100 remote machines located all over the country, using a Kickstart configuration file accessible from my web server.
How do I create the boot CD (or USB)?
How do I specifically add the boot parameters to that boot CD (or USB) to tell it the URL to use for it's automated Kickstart install?
I'm working with a lot of data, but always the same. I have, say 2GB that I keep loading 100 times a day from a local disk to do some computations.I was wondering if anyone knew if it is possible to read it once for all and then access it like a file but with the speed of RAM access. I would be looking for something like: Code: file2mem ~/mybigdatafile.dat ~/mybigdata_thats_now_accessed_superfast.dat And then the data is accessible in a way like with a symlink...