• العربية
  • 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
  • Українська
  • Ваша сметка
    • Најава на профил
    • Креирај профил
    • Заборавена лозинка?
  • FairyHosting.com
    • Services
      • Закупени услуги
      • Хостинг пакети
      • Домени
      • DNS MANAGER
    • Payment
      • Invoices
      • Кредитирање
      • Групно плаќање
    • Support
    • Knowledgebase

      Категории на прашања

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

      Категории на прашања

      Клучни тагови

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

      Поддршка

    Тикети за поддршка
    База на знаења
    Контакт

    Mounting CIFS share in Linux (CentOS, Debian, Ubuntu) Принт

    • 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.


    Дали Ви помогна овој одговор?

    Понудени резултати

    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...
    « Назад

      Клучни тагови

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

      Поддршка

    Тикети за поддршка
    База на знаења
    Контакт
    • 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.


    Вчитување...
    Вчитување...
    Избери јазик
    العربية
    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
    Українська

    Генерирај лозинка

    Ве молиме внесете број помеѓу 8 и 64 за должината на лозинката