home server
Fred Roller
fred at fwrgallery.com
Tue Apr 13 11:53:48 UTC 2010
On 04/12/2010 08:34 PM, Hal Burgiss wrote:
> On Mon, Apr 12, 2010 at 7:24 PM, Ugur Arpaci<ugurarpaci at gmail.com> wrote:
>
>
>> I have an old computer, and i want to use it as a server computer. I usually
>> use it for dynamic web applications. I 've already installed Ubuntu. Do you
>> suggest to use Terminal Server Client or SSH to create and transfer files
>> from my computer or can you option me something else?
>>
> No contest, ssh. Infinitely portable, infinitely flexible. In fact, if
> its on your LAN, I'd consider mounting the server's filesytem via
> sshfs, then you can treat it as a local filesystem.
>
>
I have recently discoverd sshfs, great tool and easy to use once set
up. Download:
sudo apt-get install ssh sshfs
make a local directory to mount to:
mkdir ~/local_directory
edit your fstab (all one line):
sshfs#[server_user]@[server]:/[directory] /[local_directory] fuse
port=5620,comment=sshfs,noauto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes
0 0
the port option is optional... anyway, I change my ports for security,
take it out and mount will default to 22. Make sure uid and gid match
the user with permission you are giving to mount the fs. I am still
learning the ins and outs so I can't tell you how to set it up to auto
mount. But you simply type
mount ~/local_directory
and you are up, because of a quark you need to type:
fusermount -u ~/local_directory
to umount the directory. This is a great little tool. Good call Hal.
--
Fred
www.fwrgallery.com
"Life is like linux, simple. If you are fighting it you are doing something wrong."
More information about the ubuntu-users
mailing list