Home Setting Up a File Server on Ubuntu with Cockit
Post
Cancel

Setting Up a File Server on Ubuntu with Cockit

Setup

  1. login to the Console of your Ubuntu 24.04 Machine and run the following commands to install the required packages
    1
    2
    3
    4
    
    curl -sSL https://repo.45drives.com/setup | sudo bash
    sudo apt update
    sudo apt install cockpit cockpit-file-sharing cockpit-navigator cockpit-identities samba
    sudo systemctl enable --now cockpit.socket
    
  2. In a web browser Naviagate to https://server-ip:9090
  3. Login

Configuration

Adding Users

  1. Select Identities from the side panel
  2. Select Users
  3. Select Add Users
  4. Fill out the form as show below (replace Username and Full Name with your info) Image1
  5. Select Apply
  6. Select No Password twice (This is asking for us to set a password for the server user account not for the FIle Sharing)
  7. Select Set Samba Password
  8. Enter the Password your user will use to connect to the Network Shares

Creating SMB Shares

  1. Select File Shares
  2. Select the + Under Share Image2
  3. Fill out your Form as shown below replacing share name, path, and users with your desired info Image3
  4. Select Confirm
This post is licensed under CC BY 4.0 by the author.