2013-11-15

Created page with "<noinclude> {{refheading}} {{GroupListHeading|group=tables}} category:Manuel utilisateur category:Taches courantes category:Fichiers et partage de fichiers"

← Older revision

Revision as of 12:43, 15 November 2013

(11 intermediate revisions by one user not shown)

Line 1:

Line 1:

 

<noinclude>

 

<noinclude>



{{NavHeader|
back
=Multimedia|
forward
=MythTV}}</noinclude>

+

{{NavHeader|
retour
=Multimedia|
suivant
=MythTV}}</noinclude>

 

 

 

This section describes the various file managers that are available for managing the files on your PC-BSD system. It then shows how you can configure your PC-BSD system to share files with other systems in your network using Samba.

 

This section describes the various file managers that are available for managing the files on your PC-BSD system. It then shows how you can configure your PC-BSD system to share files with other systems in your network using Samba.

 

 



==
File Managers and File Structure
==

+

==
Gestionnaire de fichiers et structure des fichiers
==

 

 

 

Depending upon which window managers you have installed, different graphical file manager utilities may already be installed for you. You do not need to be logged into a specific window manager to use an installed file manager. For example, if KDE is installed, you can run its file manager from any window manager by typing '''dolphin'''. KDE, GNOME, LXDE, and XFCE install their own file managers while most of the unsupported desktops assume that you will install your favorite file manager. Table 9.3a summarizes the available file managers and indicates which desktop they are installed with. Some file managers can be installed independent of a desktop using [[AppCafe®]] to install the PBI. Once a file manager is installed, type its name if you wish to run it from another desktop.

 

Depending upon which window managers you have installed, different graphical file manager utilities may already be installed for you. You do not need to be logged into a specific window manager to use an installed file manager. For example, if KDE is installed, you can run its file manager from any window manager by typing '''dolphin'''. KDE, GNOME, LXDE, and XFCE install their own file managers while most of the unsupported desktops assume that you will install your favorite file manager. Table 9.3a summarizes the available file managers and indicates which desktop they are installed with. Some file managers can be installed independent of a desktop using [[AppCafe®]] to install the PBI. Once a file manager is installed, type its name if you wish to run it from another desktop.

Line 172:

Line 172:

 

This section will demonstrate how to access shares using the Samba client as well as how to configure your PC-BSD system as a Samba server.

 

This section will demonstrate how to access shares using the Samba client as well as how to configure your PC-BSD system as a Samba server.

 

 



===
Using the
Samba
Client
===

+

===
Utilisation du client
Samba ===

 

 

 

Since the Samba client libraries are pre-installed for you, you simply have to decide which utility you prefer to access existing Windows shares on your network. If a desktop is installed, you do not have to be logged into that desktop in order to use that utility.

 

Since the Samba client libraries are pre-installed for you, you simply have to decide which utility you prefer to access existing Windows shares on your network. If a desktop is installed, you do not have to be logged into that desktop in order to use that utility.

Line 214:

Line 214:

 

|}

 

|}

 

 



===
Configuring the
Samba
Server
===

+

===
Configuration du serveur
Samba ===

 

 

 

If you would like to share folders or a printer attached to your PC-BSD system with other users in your network, configure the built-in Samba server.  

 

If you would like to share folders or a printer attached to your PC-BSD system with other users in your network, configure the built-in Samba server.  

Line 220:

Line 220:

 

In order to create shares, Samba's configuration file, {{citelink|url=http://samba.org/samba/docs/man/manpages-3/smb.conf.5.html|txt=smb.conf}}, needs to be modified. You can either edit this file manually or use a GUI utility such as {{citelink|url=http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/SWAT.html|txt=SWAT}}. This section will demonstrate both methods.

 

In order to create shares, Samba's configuration file, {{citelink|url=http://samba.org/samba/docs/man/manpages-3/smb.conf.5.html|txt=smb.conf}}, needs to be modified. You can either edit this file manually or use a GUI utility such as {{citelink|url=http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/SWAT.html|txt=SWAT}}. This section will demonstrate both methods.

 

 



====
Edit
smb.conf
Manually
====

+

====
Éditer
smb.conf
Manuellement
====

 

 



To modify the file manually
,
become the superuser and copy the sample file to the
configuration
directory
:

+

Pour modifier le fichier manuellement
,
devenir superutilisateur et copier le fichier exemple dans le répertoire de
configuration:

 

 

 

{{txtbox|box='''cp /usr/local/share/examples/samba36/smb.conf.sample /usr/local/etc/smb.conf'''}}

 

{{txtbox|box='''cp /usr/local/share/examples/samba36/smb.conf.sample /usr/local/etc/smb.conf'''}}

Line 241:

Line 241:

 

writable = no}}

 

writable = no}}

 

 



To test your changes
,
restart the Samba
service:

+

Pour tester vos modifications
,
redémarrer le
service
samba
:

 

 

 

{{txtbox|pre|box='''/usr/local/etc/rc.d/samba restart'''}}

 

{{txtbox|pre|box='''/usr/local/etc/rc.d/samba restart'''}}

Line 247:

Line 247:

 

and try browsing to the share from another system. Note that you may have to first map a drive to the share in order for it to appear in Windows Explorer or within the file manager utility of another PC-BSD or Linux system.

 

and try browsing to the share from another system. Note that you may have to first map a drive to the share in order for it to appear in Windows Explorer or within the file manager utility of another PC-BSD or Linux system.

 

 



====
Create Shares Using
SWAT ====

+

====
Créer un partage en utilisant
SWAT ====

 

 



SWAT
provides a graphical front-end to
''smb.conf''
through a
web
browser
.

+

SWAT
Procures une gestion graphique du
''smb.conf''
à travers un navigateur
web.

 

 

 

To enable SWAT, remove the # at the beginning of this line in ''/etc/inetd<nowiki>.</nowiki>conf'':

 

To enable SWAT, remove the # at the beginning of this line in ''/etc/inetd<nowiki>.</nowiki>conf'':

Line 255:

Line 255:

 

{{txtbox|box={{pound}}swat      stream  tcp      nowait/400      root      /usr/local/sbin/swat      swat}}

 

{{txtbox|box={{pound}}swat      stream  tcp      nowait/400      root      /usr/local/sbin/swat      swat}}

 

 



Add the following line to
''/etc/rc.conf'':

+

Ajouter la ligne suivante au
''/etc/rc.conf'':



+

 

{{txtbox|box=inetd_enable=”YES”}}

 

{{txtbox|box=inetd_enable=”YES”}}

 

 



And start
'''inetd''':

+

et lancer
'''inetd''':

 

 

 

{{txtbox|box='''/etc/rc.d/inetd start'''}}

 

{{txtbox|box='''/etc/rc.d/inetd start'''}}

Line 270:

Line 269:

 

{{refheading}}

 

{{refheading}}

 

{{GroupListHeading|group=tables}}

 

{{GroupListHeading|group=tables}}



[[category:
handbook
]]

+

[[category:
Manuel utilisateur
]]



[[category:
Common Tasks
]]

+

[[category:
Taches courantes
]]



[[category:
Files and File Sharing
]]

+

[[category:
Fichiers et partage de fichiers
]]

 

<languages/>

 

<languages/>

 

</noinclude>

 

</noinclude>

Show more