Autostart Samba on Boot Debian

18,620

Solution 1

As root enter:

update-rc.d samba defaults

This will install samba for the default runlevels

Solution 2

Does chkconfig command work on Debian?

chkconfig smb on

Above command is tested on RHEL 6.

Share:
18,620

Related videos on Youtube

user1738522
Author by

user1738522

Updated on September 18, 2022

Comments

  • user1738522
    user1738522 over 1 year

    I installed Samba on my debian squeeze server but it doesnt start when I reboot it, I have to run it manually for it to start.

    How can I make it so that when I start my server, samba starts automatically. I would rather do it without installing software