Ubuntu Servers :: NFS - Exporting Multiple FS With Single Line?

Jul 26, 2011

I'm using my home server to netboot into live CDs. To summarize that article, netbooting a liveCD system involves passing an NFS host:/path in kernel's command line, which is subsequently mounted as /cdrom on the live system. The article mentions copying the contents of the iso image to a place on the hard drive, but I see no reason for this, since the contents need to be read-only anyway, which is easy to achieve by mounting the iso through a loop device:

Code:

# mount
...
/dev/loop0 on /mnt/kubuntu-lucid-amd64 type iso9660 (ro)
/dev/loop1 on /mnt/kubuntu-natty-amd64 type iso9660 (ro)

[code]....

Now, I am using NFS to mount a regular (rw, HDD) directory which I use as a network drive and I can mount any subdirectory and still access all the files within, ie. when I export /data on the server, I can still mount /data/downloads on the client:

Code:

server:# exportfs
/data 192.168.1.4/32
client:$ sudo mount -t nfs 192.168.1.1:/data/downloads /mnt/netshare

[code]....

Is it possible to export just /mnt and be able to mount any/all of the subdirectories? NFS doesn't like going across multiple file systems:

Code:

server:# ls -al /mnt/kubuntu-natty-i386/
total 3532
dr-xr-xr-x 11 root root 4096 2011-04-27 11:29 .
drwxr-xr-x 7 root root 4096 2011-07-25 21:46 ..

[code].....

When I try to export just /mnt and mount /mnt/kubuntu-natty-i386 on the client, the mount succeeds but the mounted directory is empty.

View 1 Replies


ADVERTISEMENT

General :: Create A Single Line Of Output From Multiple Variable Lines Of Input

Feb 3, 2010

I need to create a single line of output from multiple and variable lines of input in a Linux bash shell script.

My input file looks like this:

Where there may be any number of umsecondaryphonenumber lines; if there is not a umsecondaryphonenumber line for a telephonenumber, I don't want to write any output.

So, the output file should look like:

The script I have so far is:

My question is - how do print each of the elements of an array in one record - i.e. what do I put in place of howdoiprintarray?

View 2 Replies View Related

Fedora Servers :: Have Multiple SSL Websites On Single IP With Different SSL Certificates?

May 8, 2009

I would like to know if I need multiple IPs' to setup two SSL urls on the same Apache server? Two ssl certificates, one IP - is it possible?

View 4 Replies View Related

Red Hat / Fedora :: Use Storage On Multiple Servers As A Single Cluster?

Apr 20, 2011

Can ANYONE point me in the right direction on how to use storage on multiple servers as a single cluster?I thought storage cluster was for that but, after much googling, and even more help from here, I don't think that achieves my goal. My goal is to have multiple servers share a file system, to act as somewhat of a network raid, so if node-A goes down the files are available on other nodes, and hopefully so when the capacity of the nodes are reached I can add nodes to expand the "cluster".

View 6 Replies View Related

Ubuntu Servers :: Multiple Websites On Single Host Machine Without Virtualisation

Jun 1, 2010

I have this intra net server project going on and now I moved to 10.04 however there are still some things that I would like to see clarification and instructions on. I am interested to set up multiple parallel websites for my apache server, however I am not sure how to do this exactly. Now I have solid address rivera.wippies.net and port 80 redirecting to my server. What I would like to get done is that I get multiple independent of each other websites for my server I was thinking of making websites like this

/var/www/site1 (which would be as rivera.wippies.net)
/var/www/site2 (which would be as rivera.wippies.net/othersite)
/var/www/site3 (which would be rivera.wippies.net/secondothersite)

etc, so that I have multiple "individual" websties for my server. Requirements would be that each of these websites could have SSL encryption as needed available too, since some of the website could have confidential information.

View 9 Replies View Related

Ubuntu Servers :: Running Multiple Websites On Single Server - VirtualHost

Aug 25, 2010

I currently am running 10.04.1 and have successfully setup my home web server to run a single website. My current settings are:

-I have registered the domain name annarrankings.com through godaddy
-A record is - host = @ and points to = 71.114.220.3
-CName is - host = www and points to = @
-on my server I have the site running in /var/www

I've done some research and found that to run multiple websites I need to setup VirtualHost.

-So I created a folder /var/www/annarrankings.com and moved my site to that folder

-Edited Apache2.conf to add the following line

-I then went to /etc/apache2/sites-enabled and copied the default file to a new file called annarrankings.com. Here's the annarrankings.com file after I edited it

-I then created a link in /etc/apache2/sites-enabled to the annarrankings.com file in /etc/apache2/sites-available

-Next I editied /etc/hosts

-When i went to enable the site using a2ensite annarrankings.com I got the following

I figured this was ok since I had already created a symbolic link earlier (a result of trying to following multiple tutorials and ..... videos at once) so I reloaded apache2. I created an index.html file in /var/www/ just for testing purposes and when I load www.annarrankings.com I get the file located in /var/www/ instead of the website located in /var/www/annarrankings.com Do I need to change my A record or CName in godaddy or did I just do this completely wrong?

View 8 Replies View Related

Ubuntu :: Exporting Evolution From Command Line

Jan 19, 2010

I need to export Evolution from a hobbled system, whose gnome interface cannot run. Is there a way to do this from the command line?

View 2 Replies View Related

Programming :: Connect Multiple Sockets From A Single Client To A Single Server And Keep Them Open?

Oct 13, 2010

I have question about the UNIX sockets. my goal is to connect multiple sockets from a single client to a single server and keep them open...I'm not sure if that is possible to create or not. Do you have any suggestion or an example of code?

View 1 Replies View Related

Software :: Use Command Line To Split A Single-lined XML Into A Multi-line XML?

Dec 9, 2010

I have a many text files that have XML tags all shoved into 1 line. I want to create a new file that splits each XML tag onto a new line. code...

View 3 Replies View Related

Red Hat / Fedora :: Exporting Display Between Servers - Getting Error

Jan 20, 2011

I am using Cygwin and Xming server to bring back the display from Linux server to a Windows machine.

I am following the below steps :-
1.Close down all X Servers
2.Run XMing - XLaunch
3.Select Multiple windows
4.Select Start no clients
5.Tick No Access Control box
6.Click Finish
7.X Server starts and you should see icon in tray
8.Run Putty/SSH in Cygwin
9.SSH to server you want to connect to
10.Enter: export DISPLAY=192.168.0.1:0.0 (replace 192.168.0.1 with your IP)
11.Run dbca.

On using similar steps I can bring back the display from some Linux servers, but not from others, can you please let me know what the problem is and what things I need to verify. I am not getting any error, some of the last lines from the message in the log states :-

winProcEstablishConnection - winInitClipboard returned.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
winClipboardProc - Hello
DetectUnicodeSupport - Windows XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.

I did a grep X11 /etc/ssh/* the result is as following :-
/etc/ssh/ssh_config:ForwardX11 yes
grep: can't open /etc/ssh/ssh_host_dsa_key
grep: can't open /etc/ssh/ssh_host_rsa_key
/etc/ssh/sshd_config:# X11 tunneling options
/etc/ssh/sshd_config:X11Forwarding yes
/etc/ssh/sshd_config:X11DisplayOffset 10
/etc/ssh/sshd_config:X11UseLocalhost yes

View 1 Replies View Related

Programming :: BASH: Each Line Of Multiple Text Files Gets Added To One Line?

Sep 12, 2010

I currently have 3 files with floating point data that I wish to have in a single file with the format:

Code:

F1 F1 F3 Output
a1 b1 c1 a1 b1 c1
a2 b2 c2 a2 b2 c2
a3 b3 c3 a3 b3 c3
a4 b4 c4 a4 b4 c4

View 3 Replies View Related

Programming :: Bash Reading Multiple Files Line By Line?

Mar 8, 2011

I have a set of files containing data that I need to re-arrange into one single property list.

The files that I have look like this:

Code:
# cat uk
<string>10</string>
<string>11</string>
...
<string>29</string>

[Code]....

So the lines in the files match up but I haven't found a way of reading several files line by line.

View 3 Replies View Related

Ubuntu :: Single USB Install For Use On Multiple PCs?

Jun 29, 2010

I have an Ubuntu install on an 8Gb SDHC Card, customized for my Toshiba NB205. It took quite a bit to get sound and BT working, but now it's fine. Just out of curiousity, I used this same SDHC Card to boot my Dell D610 -- it booted, and sound and WiFi worked fine. I was surprised. There was a single error message after the desktop appeared, but I didn't record it.

I am now wondering: is it practical to use a single USB installation with multiple devices? I can imagine a number of complications, but was surprised that my attempt worked on two very different hardware platforms. There was discussion, when pendrives first appeared, of being able to use one to boot any PC to your own USB-based OS, bypassing any other OS installed on the PC.

View 4 Replies View Related

Ubuntu Networking :: Multiple Devices On Single Network

Jan 14, 2010

I've got a co-worker who is trying to connect multiple devices to his wireless router - Xbox, Wii, TV, Dishnetwork box, etc. Not all of the devices are wireless however. He's had several thoughts on how to get this done and I know very little about this kind of thing so I thought I'd ask some of you.

His first thought was to buy a multi port bridge, but he doesn't like any of the ones he's seen so far.The other thought was to connect all of the devices to a switch and then use a single bridge, but he isn't sure if this would work.

View 8 Replies View Related

Ubuntu :: Disable Multiple Logins For A Single User?

Apr 5, 2011

I'm trying to disable multiple logins for a single user on Ubuntu 10.10 but I haven't been able to find a way to do this on this version

View 4 Replies View Related

Ubuntu :: Adding Multiple Storage HDD's To A Single Partition?

Apr 23, 2011

One of the things I wanna do is create a partition which spans across multiple HDD's. is this possible? would I need to cluster the HDD's first then add the cluster to the partition?

View 3 Replies View Related

Ubuntu Multimedia :: Multiple Dvd Titles In Single Container?

Aug 24, 2011

I am using DVD::rip to convert some instructional DVD's to .avi (xvid + mp3). I have never used this app before but its seems fairly straight forward and easy to use. I am able to convert 1 title from the DVD to 1 avi file. One DVD however has 19 titles which vary from 3-5 minutes in length. My question is, can I convert all or at least some titles to a single .avi file and if so how?

View 1 Replies View Related

Fedora Networking :: Multiple IP On Single NIC?

Jan 23, 2011

I've been trying to set multiple IP my Fedora 14 but nothing seems to work. Upon browsing the net, I found there are two ways for it. One is eth0:0~eth0:n nd another is eth0-range0. All are configs under network-scripts. But neither of them worked for me. Even grabbing a working example from my live server doesn't do the trick (though the server is a CentOS 5.5).

Currently using eth0-range0
ONBOOT=yes
IPADDR_START=192.168.1.127

[code]...

View 2 Replies View Related

Server :: Multiple IP Address On A Single NIC?

Jan 20, 2011

We can add multiple IP address on a single NIC. Is there any limitation that is how many ip address I can add on a single NIC card??

View 1 Replies View Related

Ubuntu :: 11.4 Classic - Move Down A Single Line With The New Scrollbars?

May 6, 2011

I would have thought the arrows at the edges of the new scrollbar move up/down by line and the grey pads of space between the separator would move by pg/up or down. All seems correct with the exception of the arrows to move up/down.I look around through code, manuals and pdfs and such often and used to the use arrow pointers at the top and bottom of the old scrollbar style to move down or up by line all with the mouse....now with the new scroll bar I find myself struggling all the time for this type of simple operation as it seems the arrows in the overlay scrollbar perform a pgDown/pgUp operation not a move down/up line....anyone know how?

PS - If anyone is curious on how to best to test this on your own, a simple test I did was to create a text file of line numbers with the following command:

seq 1 200 > numbers.txt

View 4 Replies View Related

Ubuntu :: Use Multiple Audio Output Devices On Single Machine

Jun 14, 2010

I always keep my headphones as well as my 2.1 speakers connected simultaneously on my PC (Gigabyte motherboard). Both these audio devices work fine simultaneously on my Windows 7, but in Ubuntu, only my headphones work, speakers don't work at all. I tried changing some settings in SOUND PREFERENCES as well as ALSA SOUND MIXER, but not luck so far.

View 1 Replies View Related

Ubuntu :: Single Folder With Symbolic Links To Multiple Folders?

Aug 4, 2010

i am using ps3mediaserver to expose my photos collection which is distributed across multiple sub-folders. unfortunately the ps3 can only show a slideshow for a single folder at a time, hence i was wondering if there was a quick way to create a single folder containing symbolic links to all my pictures.

View 2 Replies View Related

Ubuntu :: Single Home Partition Access With 10.04 And 11.04 Multiple Distributions

Apr 26, 2011

I've set up a separate Data partition, Creating a separate home partition in Ubuntu during installation Now I wish, if I'm able too, to access this partition of Data with both my 10.04 LTS edition and the new 11.04 Edition of Ubuntu.I tried once, using the methods above, to gain access to that partition, but it just denied me access to the 11.04 installation.I edited the Fstab file in mediaubuntu 11.04etcfstab, and changed back to regain access.* Mount ubuntu 11.04 first to access it*

Am I able to configure my system, that both distributions, can access the same Data partition.If so How would I go about it.I have 2 separate login names for the 2 distributions, but I want to access the same Data partition, folders, using either one. Same programs, games, and e-mail accounts.Also how would I set up Evolution, so that both operating systems use the same e-mail database, saving me from having mail in both, and no idea of where any of it is.I've read numerous posting on this, but either they don't apply, are just too technical, or only relate to 8.04 at best.

View 5 Replies View Related

General :: Multiple Port To A Single Service

Mar 6, 2011

Is there any limitation to the number of transactions through a single port if so then if we assign multiple port to that particular service then the performance is increased (what i suppose)

so: Is there any way to assign multiple Ports to a single service. like for a web server the main service is httpd or some thing like that to be running on the server and now if we assign multiple ports to that service then the performance increases.

View 2 Replies View Related

Server :: Set Up Multiple Name Based SSL Hosts On A Single IP?

Feb 27, 2011

have a look at the following thread story and please clear my doubt.

View 6 Replies View Related

Server :: Multiple Folders To A Single Path

Mar 27, 2010

We have too many audio Paths, for each user have one. We would like to create a unique folder to Read in network.

For example:

The idea is Mapping all folders to the path /pub/Music in server, so all user can access all music online in the server.

Very Well. How we can do it?

And when pc1 and pc2 have the same subfolder, like Beatles, and in the subfolder have different folders ( PC1-Beatles/Revolver ) (PC2-Beatles/Habbey_Road) or The same folder (PC1-Beatles/The_Mistery_Magic_Tour) (PC3-Beatles/The_Mistery_Magic_Tour)...

Is there a way to contemplate this issue?

View 4 Replies View Related

Software :: Run Multiple X Server In Single Terminal?

Dec 10, 2010

How to run multiple X server in single terminal in linux .Is it possible .

View 3 Replies View Related

Ubuntu :: Update A Single Line Of An Output In A Bash Script?

Nov 1, 2010

This is more of a bash or scripting How do you update a single line of an output in a bash script. I have had to do the:

[Code]..

Is there a way to clear only a single line of output? my goal is to mimic a single line animation, much like the '=>' '==>' ' ===>' we have all seen in other programs.

View 3 Replies View Related

Networking :: Multiple (NIC's, Types, Etc.) Networks Use A Single DCHP?

Jul 8, 2010

I know a fair amount about setting up a simple network but I'm curious about setting up a more complex topology...For example...A "box" has two NIC's acting as a bridge, normally this would involve two distinct networks (ie. 192.213... and 192.214...) is it possible that this physical set up can create a single network (192.213... 192.213...) resolving IP's from either a DCHP on the "box" or a DCHP server somewhere else on "one side of the box"likewise with differing physical network types, a "box" with a NIC and a TCP/IP over usb setup connected to another device with TCP/IP over usb (OTG/Gadget) so that all the IP's are on one logical network.

View 1 Replies View Related

Networking :: Use Multiple Dhcp Subnets On Single Machine?

Dec 13, 2010

I am find myself in need of building what amounts to 3 ip networks on 1 physical lan.

first LAN is another companies network on the 10.0.0.0 network a mix of pc's and equipment

second is LAN new company network 192.168.168.0/24

third network is an ip phone system for both i would like to use 192.168.200.0/24

i am hoping to use the same dhcp server to do this, assigning address to the old company's 10. network via mac address reservation.

View 9 Replies View Related







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