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. |
Welcome to LinuxQuestions
Is portmap and nfs-common installed on the client computer? Is portmap and rpc running? |
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. |
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. |
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. |
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? |
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. |