Benutzerinformationen überspringen
Ubuntu: 12.04
Kernel: 3.2.0-24-generic
Desktop: KDE
Architektur: 64-bit
ssh kann je nachdem auch eine Alternative (und eine sichere dazu) sein.|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # /dev/sda1 UUID=b6f3cfef-e0c8-4ee0-9fbe-54c995aa0154 / ext3 relatime,errors=remount-ro 0 1 # /dev/md0 UUID=618fa97d-2b6f-4134-812c-bddfe6c7f920 /media/ablage ext3 relatime 0 2 # /dev/sda5 UUID=c1ccd24d-ebe5-4791-b0a1-df163e240557 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/sda3 /media/ordner-virtualbox vfat auto,user,rw,umask=0 0 2 /dev/sda4 /media/weiteres vfat auto,user,rw,umask=0 0 2 |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). if [ -d /etc/profile.d ]; then for i in /etc/profile.d/*.sh; do if [ -r $i ]; then . $i fi done unset i fi if [ "$PS1" ]; then if [ "$BASH" ]; then PS1='\u@\h:\w\$ ' if [ -f /etc/bash.bashrc ]; then . /etc/bash.bashrc fi else if [ "`id -u`" -eq 0 ]; then PS1='# ' else PS1='$ ' fi fi fi umask 022 |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 |
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hda1 / ext3 errors=remount-ro 0 1 /dev/hda5 /home ext3 defaults 0 2 /dev/hda2 none swap sw 0 0 /dev/hda6 /media/VFAT55GB vfat user,umask=0 0 0 /dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0 |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) > # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). > > if [ "`id -u`" -eq 0 ]; then > PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" > else > PATH="/usr/local/bin:/usr/bin:/bin:/usr/games" > fi > > if [ "$PS1" ]; then > if [ "$BASH" ]; then > PS1='\u@\h:\w\$ ' > else > if [ "`id -u`" -eq 0 ]; then > PS1='# ' > else > PS1='$ ' > fi > fi > fi > > export PATH > > umask 022 |
Benutzerinformationen überspringen
Ubuntu: 12.04
Kernel: 3.2.0-24-generic
Desktop: KDE
Architektur: 64-bit

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Hutchef« (2. Dezember 2008, 12:58)
Benutzerinformationen überspringen
Ubuntu: 12.04
Kernel: 3.2.0-24-generic
Desktop: KDE
Architektur: 64-bit
Verstehe ich nicht: in der Grundeinstellung gibt es keine Freigaben. Kann der Server ja nicht erahnen, welches Verzeichnis freigegeben werden soll.Hinsichtlich der smb.conf brauche ich keine Dateien zu Kopieren: bei beiden Rechnern ist die Grundeinstellung unverändert.
Naja, NFS ist es erstmal egal ob DHCP oder nicht. Nur darf natürlich der Server keine dynamische IP-Adresse haben. Sonst finden die Clients von jetzt auf gleich den Server nicht mehr, wenn der Lease ausgelaufen ist und der Server unter Umständen eine neue IP abbekommt.Ich ging immer davon aus, dass NFS unter DHCP nicht klappt.
Ohne zu wissen, wie die Freigaben eingerichtet sind (Server: /etc/smb.conf oder /var/lib/samba/usershares/freigabename) und eingehangen werden (Client, /etc/fstab), könnte es schwer werden, dies zu lösen.|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 |
# /etc/exports: the access control list for filesystems which may be exported # to NFS clients. See exports(5). # # Example for NFSv2 and NFSv3: # /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check) # # Example for NFSv4: # /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check) # /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) # /media/227GB *(rw,sync,anonuid=1000,anongid=100) /media/250GB *(rw,sync,anonuid=1000,anongid=100) |
|
|
Quellcode |
1 2 3 4 5 |
drwxrwxrwx 4 chr users 4096 7. Dez 12:54 227GB drwxrwxrwx 25 chr users 4096 5. Dez 18:52 250GB drwxr-xr-x 3 root root 1024 30. Nov 16:05 boot-ablage lrwxrwxrwx 1 root root 6 30. Nov 18:38 cdrom -> cdrom0 drwxr-xr-x 2 root root 4096 30. Nov 18:38 cdrom |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 |
# /etc/hosts.deny: list of hosts that are _not_ allowed to access the system. # See the manual pages hosts_access(5) and hosts_options(5). ........... # ALL: PARANOID portmap:ALL # /etc/hosts.allow: list of hosts that are allowed to access the system. # See the manual pages hosts_access(5) and hosts_options(5). ............... # for further information. # portmap:192.168.2.0/255.255.255.0 |
|
|
Quellcode |
1 2 3 |
....................... 192.168.2.101:/media/250GB /media/debian1-250GB nfs rw,hard,intr 0 0 192.168.2.101:/media/227GB /media/debian1-227GB nfs rw,hard,intr 0 0 |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 |
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $ # # Sample auto.master file # This is an automounter map and it has the following format # key [ -mount-options-separated-by-comma ] location # For details of the format look at autofs(5). #/misc /etc/auto.misc --timeout=60 #/smb /etc/auto.smb #/misc /etc/auto.misc #/net /etc/auto.net /media/debian1-250GB /etc/auto.mnt --timeout 60 /media/debian1-227GB /etc/auto.mnt --timeout 60 |
|
|
Quellcode |
1 2 |
home -rw,hard.intr 192.186.2.101:/media/250GB home -rw,hard.intr 192.186.2.101:/media/227GB |
Burning Board, entwickelt von WoltLab GmbH.
UbuntuFreunde von Easyy-S und basslord seit 06.12.06
Ubuntufreunde.de runs on ubuntu 10.04





