wombat.ch

your Partner for Network Design and CMS

Space

mount & fstab

 

       
   mkdir /mnt/shares/srv03-bkp-joomla    
       
  apt install -y cifs-utils    
       
  mount.cifs //192.168.1.107/share1/  /mnt/shares/srv03-bkp-joomla/ -o user=user1,pass=user1password    
       
       
       
fstab //192.168.1.129/share1  /mnt/shares/srv03-bkp-joomla  cifs  username=user1,password=user1password  0  0    
       
       
  from=$1
to=$2
rsync -zarv  --prune-empty-dirs --include "*/"  --include="*.sh" --exclude="*" "$from" "$to"
   

 

 

 

 

 

 

 

 

 



Mounting the Share in Linux 1. On your Linux machine, open terminal.


  • Make sure you have the nfs-common package installed. To do this in Unbuntu:

sudo apt-get install nfs-common

  • Otherwise, consult your system documentation or package manger for more info.
  • To mount an NFS, you first have to create the folder to which you want it to mount. Type this to create a directory:

sudo mkdir /mnt/<insertfoldername>

  • Now, once that is created, you can mount the share. Type:

sudo mount -t nfs4 <IP Address>:/<DriveVolumeName>/<NameofShare> /mnt/<FolderyouCreated>

  • What all this means:
    • -t : Is used to tell the system that this is just an ordinary mount command. You use this when you do not have the drive information located in /etc/fstab
    • nfs : Tells the type of share you are trying to mount.
    • <IP Address>:/ : IP address of the drive you are trying to mount.
    • <DriveVolumeName>/ : Volume Name of the actual hard drive that you want to mount. This defaults to DataVolume.
    • <NameofShare> : The Share within the Volume of the hard drive that you want to mount.
    • /mnt/<FolderyouCreated> : The location to which you want your share to be mounted. Remember that it is the folder that you already created.
  • Note: This will not create a shortcut on your desktop, nor will it show up in Computer. You will have to browse to the location of the folder. Normally this will be in Computer, under Filesystem and then mnt.

For example:

sudo mount -t nfs4 192.168.10.204:/DataVolume/Public /mnt/Public

or

Sudo mount -t   192.168.0.1:/NASShare  /mnt/NAS  nfs username=administrator,password=pass  0 0 

 

 

 


Source/Quellen:
- Mounting the Share in Linux  
-
-
-
-
-
-
-
Source Add a comment

Die php.ini datei beinhaltet die konfiguration und parameter. Zum Beispiel

upload_max_filesize

post_max_size

 

apassungen erfolgen

sudo su

vi /etc/php5/cgi/php.ini

 

nach der anpassung muss apatch neu gestartet werden.

/etc/init.d/apache2 restart

 

 

Add a comment
Some Problems with:

 2018-11-08  Load Problem Nextcloud - Mac Book Air 
  Problem ClamAV Antivirus  Admin Login

Sicherheit
- Antivirus für Dateien
2018-11-01 2018-11-01 Audio-Player rescan directorys  occ audioplayer:scan all --debug
     
     


Log File error / 3rdparty/patchwork
 Again CalDav Problem
[Help] Davdroid not finding contact but works fine with cal solved
-  Change from http to https


-
-
-
-
-
Add a comment

RSS Feed


Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

neusten Links


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2/web2/web/j/modules/mod_quicklistweblinks/helper.php on line 78
many More Links »

part of ...

Linux Counter

Disqus

 

Learning Network

Seti@home & Boinc

myBonic

statistik

 


Who is Online

We have 348 guests and no members online

We have 349 guests, 2 bots and no members online


2 bots:
2 x BOT for JCE