Linux Others: Difference between revisions

From Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
[[Main Page]], [[Computational Resources]], [[Services]], [[Shared Folders]], [[ICIQ Shared Folders]]
[[Main Page]], [[Computational Resources]], [[Services]], [[Shared Folders]], [[ICIQ shared folders]]


'''1'''You can see the content by typing in your preferred web browser:
'''1'''You can see the content by typing in your preferred web browser:

Latest revision as of 16:28, 2 February 2011

Main Page, Computational Resources, Services, Shared Folders, ICIQ shared folders

1You can see the content by typing in your preferred web browser:

The general
smb://iciqfs01.iciq.es/comu
For each group
smb://iciqfs01.iciq.es/depart/Grup_Dr_Maseras
smb://iciqfs01.iciq.es/depart/Grup_Dr_Bo
smb://iciqfs01.iciq.es/depart/Grup_Dra_Lopez
For each user (2GB Max. disk space):
smb://iciqfs01.iciq.es/username$

2 You can mount the shared folders on our pc. Firstly you need to get "smbfs" package, what will install in your system the CIFS filesystem (this is the sucessor of the SMB protocol). To install in Debian:

aptitude install smbfs

To mount an exported windows folder on a Linux box:

mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/what_you_want_to_mount  /Where_you_want_to_mount_it
Examples:
User folder: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/username$  /home/username/disk
Common folder: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/comu  /home/username/disk1
Group folder: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/depart /home/username/disk2 
then look for your group inside the depart folder

or, you can edit the /etc/fstab file, adding the line:

//iciqfs01.iciq.es/depart       /home/username/disk2  cifs    uid=username,credentials=/etc/cifspw,domain=iciq  0       0 

It is necessary also to create the file /etc/cifspw with your username and password:

username=your_username
password=your_password

Then type "mount -a" and voilà.

  • You will need to use root or sudo rights to mount these folders.
  • The command above will mount the comu or username$ directory to the folders disk, disk1 and disk2 in your home. You can change that by another name or another directory (i.e. /media/ICIQ_COMU/). You should create the directories before trying to mount them.
  • Most users are unable to mount //iciqfs01.iciq.es/depart/Grup_Dr_XX, but they are able to mount //iciqfs01.iciq.es/depart and have access to the directories of the grup from there.
  • Some users need to type depart in capital letters, so try: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/DEPART /home/username/disk2
  • In ubuntu 9.04 it seems you will need to install the package cifs: "sudo aptitude install cifs"

3 Moreover, within Linux you can use "smbclient" to access the shared folders in a ftp-like client mode. For example:

smbclient  //iciqfs01.iciq.es/comu -U iciq/username