Delete Set public Set private Add tags Delete tags
  Add tag   Cancel
  Delete tag   Cancel
  • • DevOps notes •
  •  
  • AI
  • Tags
  • Login

NTP and Mail/shaare/w70vdA

  • linux
  • linux

NTP / Chronyd → Time Synchronisation

  • nano /etc/chrony.conf → edit conf
  • systemctl start chronyd
  • systemctl enable chronyd
  • chronyc → interactive cmd

timedatectl → Change date/time

  • timedatectl → check status
  • timedatectl set-timezone Europe/Berlin
  • timedatectl set-time YYYY-MM-DD
  • timedatectl set-ntp true → set synchronisation

Mail Server → Postfix & s-nail

  • /etc/postfix/main.cf → configuration

  • systemctl restart postfix

  • dnf install postfix → handle email server

  • dnf install s-nail → write & send email

  • nano /etc/postfix/main.cf

  • mail -s "Mail setup" name@domain.com

    • return
    • body… → Ctrl+D
8 months ago Permalink
cluster icon
  • Linux File Links and Permissions : Links Soft Link (Symbolic Link) ln -s Link will be removed if the original file is removed or renamed. Hard Link ln Deleting, renaming, or moving t...
  • Share folder (NFS and Samba) : NFS → Network File System Share folder NFS Server dnf install nfs-utils libnfsidmap systemctl enable rpcbind systemctl enable nfs-server ...
  • Special Permissions (SetUID, SetGID, Sticky Bit) : chmod u+s xyz.sh → add SetUID (user-level special permission) chmod g+s xyz.sh → add SetGID (group-level special permission) chmod u-s xyz.sh → remov...
  • Ldap Secure Ssh : Check on listening port netstat -tunlp → check open/listening port Securing SSH config more /etc/ssh/sshd_config change port 22 PermitRootLogin ...
  • System information, root recovery, environment variables, shortcuts : Finding System Information cat /etc/redhat-release → Red Hat version uname -a → Linux hostname, kernel, architecture dmidecode → hardware, BIOS, syst...


(97)
Filter untagged links
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community