Once you have downloaded the tools, you can finally set up your SMB mount with these commands: Now you can make a mount folder for SMB shares. Here are the commands you can use to install CIFS on different Linux managers: CIFS is a toolkit that makes sure the automatic mounting of the Samba shares goes smoothly. However, it is very useful because it can serve shared files to the Windows, Mac, and Linux, as well as iOS and Android operating systems.įirst things first, you need to install the CIFS utilities. SAMBA is also very hard and tedious to use. When you log in, the NFS share should mount automatically. To make sure the alterations to /etc/fstab are saved, press together CTRL and O keys on your keyboard. Make sure to replace the “data” section with the title of your NFS share. Servername: /data /home/username/Network-Files nfs rsize=8192, timeo=14, _netdev 0 0 Create a directory where the share would mount. Locate the share you would like to mount.Luckily, you can get automatic access to shares if you add a line to the fstab file. Most novice users will find manual NFS mounting very difficult. Finally, change the name of the backup file.Now you need to copy your backup file back to the /etc/ directory.Ĭp /home/username/system-backups/fstab /etc/.Next, you have to go to the /etc/ folder and delete the fstab file which is broken.First, you need to use sudo –s to get a root shell.Here are the steps for restoring the backup:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |