LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-26-2011, 11:57 PM   #1
Kiwi89
LQ Newbie
 
Registered: Oct 2011
Posts: 27

Rep: Reputation: Disabled
How to set up public folder/ share folder for my network?


Hi all,

I am a newbie in using Ubuntu, my fren who help me setup my network had giving me a script about how to setup the public folder. But when I try to do myself, I can't successfully set up the public/share folder. Some one can help me see what's wrong with the script pls?


sudo mkdir /media/public
sudo chown $USER:$USER /media/public
sudo echo "gms:/usr/local/share/public /media/public nfs rsize=8192,wsize=8192,timeo=14,intr" >>/etc/fstab
sudo mount -a

I can complete the step until
sudo mount -a

then the error message appear
mount:wrong fs type,bad option superblock on gms:/usr/local/share/public, missing codepage or helper program, or other error (for several filesystems (e.g. ngs, cifs) you might need a /sbin/mount <type> helper program) In some cases useful info is found in syslog - try


very much appreciate if you guys can help me solve this problem.

Thanks.
 
Old 10-28-2011, 04:38 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,669

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Welcome to LinuxQuestions

Is portmap and nfs-common installed on the client computer?
Is portmap and rpc running?
 
Old 10-28-2011, 04:41 AM   #3
Kiwi89
LQ Newbie
 
Registered: Oct 2011
Posts: 27

Original Poster
Rep: Reputation: Disabled
HI Michaelk,

Thanks for you reply.

Honestly I am not sure what is the portmap and nfs-common..

Can you guide me through how should i verify it?

The purpose of this script is to help me access the folder from many computer to my server computer.
Which we use it as a share folder in our office network.

I am totally new in networking and ubuntu.
Hope someone could give me some guide.
Thanks.
 
Old 10-28-2011, 05:15 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,669

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Basically the following installs the stuff needed for the client to communicate with the server.
sudo apt-get install portmap nfs-common

Then try to mount the share.
 
Old 10-28-2011, 08:27 AM   #5
Kiwi89
LQ Newbie
 
Registered: Oct 2011
Posts: 27

Original Poster
Rep: Reputation: Disabled
HI michaels,

I can't install
sudo apt-get install portmap nfs common

it's shown could not resolve "my.archive.ubuntu.com'

do you have skype or gmail?
can I add you to guide me the process?

I really run out of idea as there are no one around me can solve this script.
Really appreciate for your kindness help.
 
Old 10-28-2011, 09:18 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,669

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
This is a public forum so individual help will not benefit everyone else.
What version of Ubuntu is running on this computer?
Post the output of the command
cat /etc/lsb-release

Is basic networking functional on this computer?
 
Old 10-31-2011, 05:10 AM   #7
Kiwi89
LQ Newbie
 
Registered: Oct 2011
Posts: 27

Original Poster
Rep: Reputation: Disabled
Hi Michaelk,

Sorry for not aware that this is the public forum that I should not request for personal help.


Thank you so much!!
I retry the whole process with the command line that given by you. That's work!!

Thank you very much....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a public folder within a private folder? Virchanza Linux - General 3 09-22-2010 08:13 AM
unable to share a folder in suse 10.0, folder defaults to not shared sirius57 Linux - General 1 05-15-2010 03:33 AM
SAMBA Public Share Folder Echo Kilo Linux - Software 3 06-17-2008 01:32 AM
How to set a share folder in Fedora 7? WestCoast Linux - Newbie 2 10-02-2007 01:08 PM
how can I set a public folder in samba combilli Linux - Software 2 11-25-2006 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration