LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to set up public folder/ share folder for my network? (https://www.linuxquestions.org/questions/linux-server-73/how-to-set-up-public-folder-share-folder-for-my-network-910391/)

Kiwi89 10-26-2011 11:57 PM

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.

michaelk 10-28-2011 04:38 AM

Welcome to LinuxQuestions

Is portmap and nfs-common installed on the client computer?
Is portmap and rpc running?

Kiwi89 10-28-2011 04:41 AM

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.

michaelk 10-28-2011 05:15 AM

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.

Kiwi89 10-28-2011 08:27 AM

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.

michaelk 10-28-2011 09:18 AM

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?

Kiwi89 10-31-2011 05:10 AM

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....


All times are GMT -5. The time now is 12:30 AM.