This document provides instructions for installing Samba Manager on various Linux distributions.
The easiest way to install Samba Manager is to use our automatic installation script, which works on Ubuntu, Debian, Fedora, RHEL, CentOS, Arch Linux, and Manjaro.
curl -sSL https://raw.githubusercontent.com/lyarinet/Samba-Manager/main/auto_install.sh | sudo bashOr if you prefer wget:
wget -qO- https://raw.githubusercontent.com/lyarinet/Samba-Manager/main/auto_install.sh | sudo bashIf you prefer to review the script before running it:
-
Download the auto-installation script:
wget https://raw.githubusercontent.com/lyarinet/Samba-Manager/main/auto_install.sh
-
Make it executable:
chmod +x auto_install.sh
-
Run the script with sudo:
sudo ./auto_install.sh
If you prefer to install manually or if the automatic installation fails, you can follow these distribution-specific instructions:
# Install dependencies
sudo apt-get update
sudo apt-get install -y git python3 python3-pip python3-venv samba samba-common smbclient
# Clone the repository
git clone https://github.com/lyarinet/Samba-Manager.git
cd Samba-Manager
# Run the installation script
sudo ./install.sh# Install dependencies
sudo dnf update -y
sudo dnf install -y git python3 python3-pip samba samba-client
# Clone the repository
git clone https://github.com/lyarinet/Samba-Manager.git
cd Samba-Manager
# Run the installation script
sudo ./install_all_distros.sh# Install dependencies
sudo pacman -Syu --noconfirm
sudo pacman -S --noconfirm git python python-pip samba
# Clone the repository
git clone https://github.com/lyarinet/Samba-Manager.git
cd Samba-Manager
# Run the installation script
sudo ./install_all_distros.shAfter installation, Samba Manager will be:
- Installed at
/opt/samba-manager - Running as a systemd service
- Accessible via web browser at
http://your-server-ip:5000
- Username:
admin - Password:
admin
IMPORTANT: Change the default password after your first login!
# Start the service
sudo systemctl start samba-manager.service
# Stop the service
sudo systemctl stop samba-manager.service
# Restart the service
sudo systemctl restart samba-manager.service
# Check the service status
sudo systemctl status samba-manager.serviceYou can also run Samba Manager manually using:
sudo samba-managerIf you encounter any issues during installation, please:
- Check that your system meets the minimum requirements
- Ensure you have a stable internet connection
- Verify that you have sufficient permissions (running with sudo)
- Check the logs in
/opt/samba-manager/logs/
For additional help, please refer to the TROUBLESHOOTING.md file or open an issue on our GitHub repository.