General :: Use ZFS On Linux Easily - Without Paths Like /var/run/zfs - Or As Non-root

Sep 3, 2011

When I asked about filesystems with compression I got recommendation to try ZFS. Looks like it worth trying, however I find tools that manage ZFS (zfs, zpool) quite overcomplexified - you need to create some volume, then add it, then create filesystem on it. And finally it suddenly created things in root directory like /qqq/test and it uses /var/run/zfs/zfs_socket (strange for a filesystem).

How to use ZFS (with FUSE) without it's complicated things with volumes, just as good filesystem with compression, something like mount -o loop image.zfs /mnt/qqq -t zfs-fuse?

How to setup ZFS as non-root? FUSE usually means "user can use it too" (example: ntfs-3g). I expect something like this:

Can ZFS be more usual FUSE filesystem that I can add to /etc/fstab and user can install and use on its own?

View 1 Replies


ADVERTISEMENT

General :: Ssh Without Password From User To Root On Same Linux Enterprise 5 Machine

Jan 22, 2010

My application is installed on root of RH enterprise 5 and is run via user on the same machine. This need ssh without password from the user.

i do the following :
1. run ssh-keygen in .ssh directory of the user.
2. copy the id_rsa.pub as the authorized-keys in the root's .ssh directory
3 chmod 600 to the authorized_keys
4.restart the machine
5. login from the user and ssh SER ( SER is the entry in the /etc/hosts with the ip address of the machine)
6 It still prompt for the password

How can i ssh from the user to the machine without password.

View 3 Replies View Related

General :: Use Easily Like Windows ?

Jul 31, 2010

What do i need to read or watch to start using Linux (any distribution) easily?

View 5 Replies View Related

General :: Moving From Paid Linux To Unpaid Linux CenOS - Red Hat (KVM Virtualization)

Dec 21, 2009

if anyone of you have shifted using Paid Red Hat Linux with CentOS, and what are your experiences of moving from Paid Linux to Unpaid Linux CenOS. When do you suggest a person use Paid Linux and when to use Unpaid Linux?

View 1 Replies View Related

General :: Not Getting Access To The Needed Paths?

Jun 18, 2011

I have not been on in about a month or 2. I have no idea how to list this thread. I am hoping that someone like tex can help out. Being lazy with ubuntu seems to have been badong. Ok, I had 2 physical machines and 3 vms. VM's ran under Vbox-ose via a bridge. OS's are buntu x2 and one centOS box. I installed webmin to make things easy ( i thought ).However, after setting webmin, my I have been randomly loosing PATH's. I mean, one minuet i can run sudo apt-get and the next the whole PATH is gone. I tried a compare of my "home" box's bashrc and bash_profile against the other machins, and outside of some alias for colr and the like nothing seems to stand out. Even if I su - to root I am not getting access to the needed paths. Now, while I could export the correct path, I am more conserned with the why of it all.

I would have thought that as long as my group setting on my ssh users were all correct AND the environment had not been changed, all would be good. I can provide more info if someone wants to help me out with this. HOwever, it drove me to a six pack. 8SI have read the man pages. I have used google. I have checked the logs. The logs by the way showed a lil hammering on one of the boxes for root access. [I]t wasnt me. However, I dont seem to be able to see a time stamp.

View 3 Replies View Related

General :: Standard File Paths?

Aug 23, 2010

Is there some sort of standards file path convention for installing softwares that I could follow through? For example, I just learnt how to build Nginx from source. But the default binary path set by nginx is "/usr/local/nginx/sbin". I have seen a couple of tutorials which they specify the location of the installed binary and it is very different from those usual default paths. Thus, got me thinking whether is there some form of file path convention that I should follow?Is there some kind of list which states where do those packages on Debian.org Repository usually installed to?

View 6 Replies View Related

General :: Verifying Qlogic FC HBA Adapter In Linux ( SUSE Linux)

May 5, 2010

i would just like to verify that the command

lspci would show the FC adapter installed

is there any other command that i can use to verify the FC adapter is being installed

View 4 Replies View Related

General :: Migration Of C++ Application From SuSE Linux To Red Hat Linux

Feb 12, 2010

I want to Migrate my C++ Application from SuSE Linux to Red Hat Linux.What impact analysis i should do?

View 3 Replies View Related

General :: Check If Two Paths Are Pointing To The Same File

Oct 6, 2010

I've got a script to recursively create symlinks in my home directory to my settings directory, to keep the files under version control. I would like it to skip files which are already symlinked via a parent directory. That is, if I have these files/directories:

~/foo/ -> ~/settings/foo/
~/settings/foo/
~/settings/foo/bar

, how do I check that ~/foo/bar and ~/settings/foo/bar are the same file?

Edit: D'oh, another few minutes of searching revealed the answer: readlink -f $path

View 3 Replies View Related

General :: Ruby / Gem Installation Paths Scattered All Over

Apr 11, 2011

Trying to understand my ruby folder structure? Why my gems are scattered all over and why they aren't recognised commands. I'll explain how my installation looks like first:
/usr/bin/ruby
/usr/bin/ruby1.8
/usr/bin/ruby1.9.1

The first is a soft link to ruby1.9.1 because the "ruby" command didn't work in the terminal. I did the same with "gem". I installed rubygems through downloading, extracting and then running setup.rb here: (I created the "ruby" folder)
/home/pc/ruby/rubygems-1.7.2/setup.rb
/usr/bin/gem
/usr/bin/gem1.8
/usr/bin/gem1.9.1

I installed a few gems with "sudo gem install"
> gem list
*** LOCAL GEMS ***
compass (0.10.6)
haml (3.0.25)
mustache (0.99.3)
rake (0.8.7)

So far so good? Well not quite, as it turns out the command "compass version" doesn't seem to exist. My confusion grows with each folder I look into. The following path doesn't make any sense to me, for example. Why would it be hidden? Why is mustache the only gem inside this folder?
/home/pc/.gem/ruby/1.9.1/cache/mustache-0.99.3.gem

First of all, here is "gem environment", which makes even less sense, because I have definately installed rubygems-1.7.2 like I told you in the first paragraph, but here it shows an ancient version 1.3.7. Why? I installed Ubuntu the day before yesterday.
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [x86_64-linux]
- INSTALLATION DIRECTORY: /var/lib/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby1.9.1
- EXECUTABLE DIRECTORY: /var/lib/gems/1.9.1/bin
- RUBYGEMS PLATFORMS: .....
Ruby --version returns "ruby 1.8.7"...........

Also, as it turns out, all gems are installed into this folder (mustache too! even though it already is inside the other folder), just as "ruby environment" claims:
/var/lib/gems/1.9.1/gems. But none of these gems work. I can't call any of these, except rake. So here is where I probably made the mistake, I think I used "apt-get install rake" in addition to "gem install rake", because the command "rake" wasn't recognised, and the command prompt suggested it. I may have done so with rubygems too... I'm new to Linux, and I figured that the command prompt knew how to install this stuff properly. It can't be normal that I have to create syslinks all over, right? In Windows I didn't run into this problem.

View 1 Replies View Related

General :: Using Locate - All Paths That Contain Element /bin/ But Only One Instance Of Each One

Jun 18, 2010

I want to print, using locate, all the paths that contain the element /bin/ but only one instance of each one. If I issue 'locate /bin/' then I have many screens of text with, for example,

/usr/bin/foo1
/usr/bin/foo2
/home/me/bin/foo3
whereas I want to see only
/usr/bin/foo1
/home/bin/foo3

That is to say, if in two lines /bin/ appears with the same prefix (in the example above the prefixes would be /usr and /home/me) I only want to print the first line. Can I pipe locate to grep to do this? I've mentioned locate because it does not scan the whole disk.

View 5 Replies View Related

General :: Cant Find Executables To Update Paths?

Nov 24, 2010

How do I find paths on ubuntu. I have installed redcar(ide written in ruby similar to textmate) and rvm for ruby. However I cannot locate where the executables are to update my .bashrc.

View 2 Replies View Related

General :: Run The Script From A Different Directory The Paths Are Not Read?

Nov 29, 2010

I have written a script which reads a text file and takes out absolute and relative paths embedded in the text file.Then the script looks for a string in some text files mentioned in those paths. The problem I am facing is that since these paths are from my working directory,if I try to run the script from a different directory the paths are not read.

View 7 Replies View Related

General :: How To Easily Change Grub OS Boot Order

Feb 3, 2010

I've seen many, many different solutions for how to change the GRUB boot order. Search no more. This is by far the easiest, safest way to do that.

Open your terminal and type in the following:
sudo apt-get install startupmanager

When that is done go to your control panel and you'll have a new icon that says Startup Manager. Every thing you'll need work with your GRUB menu.

View 1 Replies View Related

General :: How To Share A Folder From Linux To Linux

Mar 17, 2010

how to share a folder from linux to linux systems and setting password to open that folder

View 14 Replies View Related

General :: What Application / Daemon Converts File Paths To Inodes

Nov 4, 2010

The Linux File system uses the file path notation to abstract how data is accessed. Path really must be an environmental variable for the applcication that converts the path name to an inode so what is this application/Daemons name?

View 7 Replies View Related

General :: Command Line - Get Relative Path From Two Absolute Paths In Shell?

May 13, 2010

We have two paths. First one is directory, second either dir or file.

/a/b/c and /a/d/e.txt

Relative path from first path to second will be: ../../d/e.txt

How to get it in linux terminal?

PS: For those who ask "what is use case?" - creating lots of relative symlinks (just as an example)

View 1 Replies View Related

General :: Distribution Designed To Connect To A Windows Network Quickly And Easily Out Of The Box?

Mar 16, 2010

I want to be able to connect these machines to the domain and use active directory on them.

View 2 Replies View Related

General :: How To Build Distribution Based On Ubuntu / Debian / Mint Easily

Aug 26, 2011

Is there a tool or tutorial to build a distro based on mint/ubuntu/debian?Git, scripts, and tools, small compilations for branding are OK. Compiling kernel, x11, gnome, compiz, etc. is BAD unless really required. Specifically, I'm looking for a way to have some applications installed by default, change logos/about boxes, change theme, configure what compiz options are, and add firmware drivers (connect to the Internet to download wireless adapter driver? <- headache, gotta find a lan cable now ...), and still have the liveCD install method. I'd like it to be based on linux mint, but I only want a few tools from it (update manager, software manager, flash, media codecs), so it's ok if it's ubuntu/debian with those mint tools added back in.

I saw some options, too complex, and others too simple. Not looking for a "learning experience" like LFS which gives me a horrible linux build if I don't do something exactly right. Nor any of those tools which are just package pickers and don't do enough. suse studio looked about right(maybe tad too easy), but was RPM based, not deb based.

View 1 Replies View Related

General :: VirtualBox On Wubi Ubuntu Can't Start VMs Due To Incorrectly Handling Absolute Paths?

Jun 27, 2011

I mostly do .Net development in a Windows 7 virtualbox. I use the host for simple things such as web browsing, skype, chat, etc. All things that are fantastically available on Ubuntu which I in many ways prefer. So this has been begging the question for a while: why even use Windows on the host, seems like a Linux host would use less resources (untested) and allow my Windows VMs to run better while allowing me to do my non-development stuff in an interface I prefer.

So easiest way to do this - I downloaded wubi and installed Ubuntu. I installed in it Virtualbox, and then start add and start my VM to get this message: Failed to open a session for the virtual machine VS2010, Could not open the medium '/host/Users/George Mauer/Virtualbox VMs/VS2010/C:/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi; VD: error VERR_FILE_NOT_FOUND opening image file '/host/Users/George Mauer/Virtualbox VMs/VS2010/C:/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi; (VERR_FILE_NOT_FOUND).

You see what's going on? With wubi, the windows drive gets mounted at /host/ but virtualbox is for some reason appending an absolute path! I would very much like to use the same exact VM file since it would retain Snapshots and I would be able to use it in either windows or Ubuntu mode. However, even if I try to simply mount the drives into a new VM I get an error: Failed to open the hard disk /host/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi. Cannot register the hard disk '/host/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi' {guid...} because a hard disk '/host/Users/George Mauer/VirtualBox VMs/VS2010/C:/Users/George Mauer.VirtualBox/HardDisks/VS2010.vdi with UUID {guid...} already exists.

This is especially odd since this worked fine with my recently created Android VM, though this might have something to do with the fact that VirtualBox recently changed their default VM storage locations. Any idea how to fix this? My Linux-fu is weak but I seem to remember from CS class something about symbolic links that might be relevant here?

View 1 Replies View Related

General :: Application Called Impact - Paths In Java Application ?

Apr 14, 2010

So, I have this application called Impact, it is an explicit time integration Finite Elements code written in Java...

[url]

I untar the pack, and launch the application calling a script, from within the untarred folder,

Code:

This launches a gui which allows me to setup a case, which needs some setup file, tipically some *.in and a mesh file, tipically some *.msh.

Other mode of executuion consists of calling the setup file as argument to Impact.sh script ( CLI execution mode, for g33k5 )

My problem is : I have packed the whole stuff into a Slackware .tgz, that places it in /usr/local/Impact, and placed a calling script in /usr/local/bin,

Code:

Code:

I decided to hack the ImpactGUI_OGL_linux_amd64.sh script from

Code:

Code:

no avail,

Code:

even after adding /usr/local/Impact/bin to PATH... won't go...

I can run this thing from within its directory... but I do not like messing within the directories of my applications, this is why I sent this to /usr/local, and placed a calling script in /usr/local/bin...

View 4 Replies View Related

OpenSUSE Hardware :: Run Webcam - "Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 Root Hub"

Nov 6, 2010

I'm trying to get a webcam up and running and I'm having a few problems. I'm running OpenSuSe 11.3, gnome and I'm using wxCam to view any webcam output. It's an old webcam, output from lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
[Code].....

I thought maybe it needs a driver.

Using YaST
hardware
hardware info
usb

Kernel driver: gspca_pac207 the all knowing google said this driver is found in linux kernels from 2.6.28 release, I have 2.6.34.7

[Code]....

View 3 Replies View Related

Fedora :: Insert Unlock Code In Linux Using Any Linux Tool?

Apr 16, 2010

I have learnt that the network locked huawei modems may be unlocked to use any sim card bu getting a special unlock code and it should ask for it when a "foreign" SIM card is inserted. This procedure works well in Windows, but in Linux where I use wvdial, I dont get prompted for this unlock code. Does anyone know how to insert the unlock code in Linux using any Linux tool (GAMMU/GNOKII/Minicom etc)?

View 2 Replies View Related

OpenSUSE Install :: How To Add More Paths

Dec 11, 2009

I also have an application installed under /usr/share/myappHow to make a link to the application installed under myapp in to a directory that is already in my env variable?

View 2 Replies View Related

Software :: Cd And Linked Paths ?

Oct 4, 2010

The shell is bash.

The directory path, /this/is/directory/aa, is actually linked to the path /this/is/link/aa.

So when I cd to the aa directory I am in /this/is/link/aa and there is no /this/is/link/bb hence the error with ls.

My question is how does cd understand relative paths and not return an error the way ls does?

View 1 Replies View Related

Programming :: Set Different Paths In Makefile?

Oct 8, 2010

at present I compile the same code for different systems (cross compilers)I need to call libs and include paths for the different processors. At present I simply comment out the paths not needed

eg
#INCDIR = -I/cross1/.......
#INCDIR = -I/cross2/.......

[code]....

View 2 Replies View Related

Red Hat :: Displaying All SAN Paths To Disks?

Jan 25, 2011

I'm a storage engineer by trade and have mapped a RHEL 4 server, several LUNs. I've mapped each (HBA Initiator) 4 times to seperate fibre channel ports on a storage array.Is there a RH command to see the device mapped 4 times to the target. I would expect to see something in the output that has the subsystems WWN, such as -

... 50060F9004563210
... 50060F9004563220
... 50060F9004563230
... 50060F9004563240

View 3 Replies View Related

Ubuntu :: CPU Maxing Out Easily?

Dec 16, 2010

I recently bought an old desktop off ebay to give to my dad with lubuntu installed on it. He doesnt do much - just the usual web browsing and storing photos - so i went with something reasonably old and cheap - 2.6ghz celeron (ugh I Know) emachine (again ugh, but I thought it would the job). I made the RAM up to 512Mb and installed lubuntu.

Unfortunately when I installed flash the video was all jumpy when watching anything online. So I looked into the onboard graphics and found that there are driver issues with some of that series. So I bought a graphics card (NVIDIA Geforce 5500 128mb - PCI cos the lame MB doesnt have PCI -e or AGP).

Sadly the video is still jumpy and lame. I've tried it in firefox as well so this isnt a Chromium issue. The video is watchable if you download it and then play through VLC (which it wasnt before the NVIDIA card). Xfce4 Taskmanager shows CPU useage maxing when I use Chromium to watch flash but RAM staying around half used.

I know I've been a tool buying an emachine - particularly with a Celery processor and no AGP or PCI-e (ebay is a cruel mistress at times) but Im appealing for any help people might have to sort this out. Im hoping there might be something I can do.

View 9 Replies View Related

Ubuntu :: How To Use Network Paths In Apps

Jan 31, 2011

In nautilus I have but when I need to access that location from dialogs in other apps it doesn't work. E. g., "save page to" dialog in firefox.

View 4 Replies View Related

Slackware :: Add Font Paths To XPDF?

Mar 12, 2010

Adobe Reader ain't available for 64-bit so I'm stuck with XPDF (or Okular, which is better than XPDF) and most stuff won't print worth a hoot. I've been reading the manual pages and somewhere or other I'm missing some thing about adding font paths (or replacing the default font paths). I have the complete Adobe Type Library plus TTF's installed in /usr/local/share/fonts (and they work just fine with OpenOffice.org) but I can't seem to figure out how to get them or the Slackware-provided fonts available to XPDF.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved