• العربية
  • Azerbaijani
  • Català
  • 中文
  • Hrvatski
  • Čeština
  • Dansk
  • Nederlands
  • English
  • Estonian
  • Persian
  • Français
  • Deutsch
  • עברית
  • Magyar
  • Italiano
  • Macedonian
  • Norwegian
  • Português
  • Português
  • Română
  • Русский
  • Español
  • Svenska
  • Türkçe
  • Українська
  • Hesab
    • Giriş
    • Qeydiyyat
    • Şifrəmi unutdum?
  • FairyHosting.com
    • Services
      • Xidmətlərim
      • Yeni sifariş
      • Domen adı
      • DNS MANAGER
    • Payment
      • Invoices
      • Balansı artır
      • Kütləvi ödəmə
    • Support
    • Knowledgebase

      Kateqoriyalar

    Hestia CP
    2
    ISPmanager
    9
    Linux Сервер
    25
    Plesk
    14
    Windows Сервер
    15
    Услуга Fairy Disk
    4
    Микротик (RouterOS)
    8
    Менеджмент сервера
    19
    Для нового клиента
    13

      Kateqoriyalar

      Etiket aşkar edildi.

    Debian Восстановление root пароля CentOS7 Linux сброс root пароля CentOS7 сервер Password recovery Root password Ubuntu

      Yardım

    Dəstək sorğularım
    Məlumat bazası
    Yeni sorğu aç

    Mounting CIFS share in Linux (CentOS, Debian, Ubuntu) Çap et

    • 0

    Ensure the command mount.cifs is present in your distro. If you haven't need to install cifs-utils. We are also will consider, how to mount network folder and after rebooting folder will be saw in system.

     

    Preparation

    Use the following command to installing the CIFS utils.

     

    В CentOS:

    # yum install cifs-utils

     

    В Debian/Ubuntu:

    # apt-get install cifs-utils

     


    Now you need to create a mount point. For example create folder - /mnt/fb1234. You can choose any way for your disk space.

     

    Command:

    # mkdir /mnt/fb1234

     

    Mounting

    Use the following command's to mount the CIFS share. Both of them is correct.

     

    # mount -t cifs -o username=fb1234 //Server IP-addresses/fb1234 /mnt/fb1234

    # mount.cifs -o username=fb1234 //Server IP-addresses/fb1234 /mnt/fb1234

     

    Attention! Username and folder will starting as "fb" and than personal ID.

     

    After following one of this command's enter password. Please check, that your network drive is mount in operating system:

     

    # df -h


    Auto mounting

    To perform auto mounting of windows share, you need to create a password file and use that in /etc/fstab. Create a file /root/.smbcredentials:

     

    В CentOS:

    # vi /root/.smbclient

     

    В Debian/Ubuntu:

    # nano /root/.smbclient

     

    Than use the following content - username and password for the remote CIFS share.

     

    Now add the following line in /etc/fstab file:

     

    //Server IP-addresses/fb1234 /mnt/fb1234 cifs user,rw,credentials=/root/.smbclient 0 0

     

    In this article was mounted network folder «fb1234» on the server «Server IP-addresses» in point /mnt/fb1234.

     

    Now the remote share should be mounted at /mnt/fb1234.


    Bu cavab sizə kömək etdi?

    Uyğun məqalələr

    Map a network drive This type of connection very simple and comfortable in use. You need for this:   Server... Where can I search data access of my services? All your necessary data is located in clint area. Go to the main page -... How to connect FTPS in FileZilla? FTPS (File Transfer Protocol + SSL) — is an extension to the FTP protocol that adds Secure Socket...
    << Geri

      Etiket aşkar edildi.

    Debian Восстановление root пароля CentOS7 Linux сброс root пароля CentOS7 сервер Password recovery Root password Ubuntu

      Yardım

    Dəstək sorğularım
    Məlumat bazası
    Yeni sorğu aç
    • Billing
      • Services
      • Invoices
      • Support
      • Knowledgebase
    • Services
      • Virtual servers
      • Dedicated servers
      • Colocation
      • Business hosting
      • Fairy Disk
      • Routers for rent
      • SSL-Certificates
    • News
    • Company
      • About Us
      • Contacts
      • User agreement
      • Privacy policy
    • Technologies

      RJ Network OÜ
      Reg.nr 14694302
      VAT ID: EE102147829

      Narva: P. Kerese tn 5, 20309
      Tallinn: Paul Pinna 8, 13615

    +372 6647001

    info@fairyhosting.com

    Copyright © 2025 FairyHosting.com. All Rights Reserved.


    Yüklənir...
    Yüklənir...
    Dil seç
    العربية
    Azerbaijani
    Català
    中文
    Hrvatski
    Čeština
    Dansk
    Nederlands
    English
    Estonian
    Persian
    Français
    Deutsch
    עברית
    Magyar
    Italiano
    Macedonian
    Norwegian
    Português
    Português
    Română
    Русский
    Español
    Svenska
    Türkçe
    Українська

    Şifrə yaradın

    Zəhmət olmasa şifrə uzunluğu üçün 8 ilə 64 arasında bir rəqəm daxil edin