wombat.ch

your Partner for Network Design and CMS

Space

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

Debian9

#  apt install -y ssmtp
#  apt install -y mailutils
#  apt install -y multitail
  #   vi   /etc/ssmtp/ssmtp.conf  
     
     
  #   sendmail Status   
  #   sendmail restart  
  #   multitail /var/log/mail.err /var/log/mail.info /var/log/mail.log /var/log/mail.warn  

Source/Quellen:
-
- blog.edmdesigner.com/send-email-from-linux-command-line
-
-
-
-

Add a comment
 df (disk filesystem) #  rm -r mydir (Remove Full Directory)  
 du   (Disk Usage)  
lsblk  
       
       
  grep -Ril "text-to-find-here" /
    • i stands for ignore case (optional in your case).
    • R stands for recursive.
    • l stands for "show the file name, not the result itself".
    • / stands for starting at the root of your machine.
 
       
 
#  update-alternatives --config editor select a editor you want  
 Ping with timestamp #  ping www.google.com | while read pong; do echo "$(date): $pong"; done    
       
Das ganze System in allen Dateien nach einem bestimmten String durchsuchen #  find . -type f -exec grep -il "String" {} \;    
       
       
Add a comment

Linux Crontab nützen

       
editieren crontab -e    
speicher      
Service starten service cron reload    
Cron Kontrolle       
  crontab -l    
       
       
  tail -f /var/log/syslog | grep CRON    
       
  # touch /etc/cron.allow    
       
       
  >/dev/null 2>&1    




 

 



MAILTO="nameThis email address is being protected from spambots. You need JavaScript enabled to view it.;
3 * * * * apt-get -s -qq dist-upgrade /dev/null 2>&1





  crontab1


Source/Quellen:
- Linux Crontab: 15 Awesome Cron Job Examples
- askubuntu.com | why-crontab-scripts-are-not-working
- crontab.guru/
- help.ubuntu.com | CronHowto 
-
-
-
-
-

Add a comment

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

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 648 guests and no members online

We have 653 guests, no bots and no members online