Install yum and add samba support on CentOS7


1 min read

Install Yum by cURL


  • RPMsupport. If you even missed this, you can do nothing but reinstall the whole OS.

  • cURL support.

  • Internet network enabled.

Step by step

  1. Download 3 essential packages.

curl -O ''
curl -O
curl -O
  1. Install all of them

rpm -ivh --force --nodeps *.rpm

Install and settle Samba/NFS remote mounting

    1. Install all of the filesystem support through yum
  •   yum install cifs-utils nfs-utils
  1. TODO [NFS] mounting.
# Create the mount point.
mkdir /mount_path

# Mount
mount -t nfs host:/path /mount_path
  1. TODO [Samba] mounting.
mkdir /mount_path

//host/path /mount_path

Error mapping

  1. mount.cifs: bad UNC using mount -t cifs //host instead of mount -t cifs /host/

  2. mount.nfs: mount(2): No such device Your kernel doesn't support, cede please.

  3. mount error: cifs filesystem not supported by the system Your kernel doesn't support, cede please.