Mounting SMB in RHEL
Mount SMB (RHEL)
in /etc/fstab
//ntserver/share /mnt/ntserver cifs username=vnmr1,password=password 0 0
on CLI
mount -t cifs //ntserver/share -o userrname=vnmr1,password=password /mnt/ntserver
As root Create a mount point mkdir /mnt/vnmrj Then mount the iso imagemount -o loop pathofyourISO.iso /media/vnmrj ormount -o loop -t pathofyourISO.iso /media/vnmrj
You can use rsync to back up data incrementally. To run daily, create a file in /etc/cron.daily called backup #backup rsync – rtugRO – – exclude-file=/etc/cron.daily/exclude-file /source /dest Create /etc/cron.daily/exlude-file . ? * exp * * : *
sudo apt update sudo apt-get remove ‘^nvidia’ sudo apt autoremove sudo apt install nvidia-driver-450 sudo reboot After you have installed the nvidia-driver-450 graphics driver in Ubuntu 20.04 it may be updated from nvidia-driver-450 to nvidia-driver-460 by the normal software update activity. As an alternative to step 4 you can let the ubuntu-drivers program automatically select the proprietary…
Red Hat-compatible Linux The following instructions are valid for CentOS 5 running the GNOME desktop environment. Instructions may differ slightly fordifferent versions of CentOS, and versions of Fedora or Red Hat Enterprise, running different desktop environments, but theprinciple is the same. If in doubt, consult the operating system documentation. Downloading VNC Download a VNC for Linux…
In this guide I detail how to install Mozilla Firefox as a .deb package on Ubuntu 22.04 LTS or above and not as a snap app. This guide is needed because Ubuntu 22.04 and later comes with the Firefox snap package by default. The snap is the only version of Firefox included ‘out of the box’. But…
In CLI mount -t cifs //ntserver/dir -o username=user,password=pass /mnt/ntserver In /etc/fstab //ntserver/dir /mnt/ntserver cifs credentials=/root/.smbpasswd,file_mode=0777,dir_mode=0777 0 0 Then create a file /root/.smbpasswd with permissions set to 600 username=user password=pass In /etc/hosts add IP address of ntserver.