How to install samba v4.13.0 from source code on CentOS 8
$ sudo dnf -y install epel-release
$ sudo dnf install python36 python36-devel zlib-devel lmdb-devel gnutls-devel perl-Parse-Yapp jansson-devel libacl-devel openldap-devel pam-devel dbus-devel
$ sudo dnf install --enablerepo=PowerTools gpgme-devel libarchive-devel rpcgen
$ sudo ./configure --prefix=/usr/local/samba-4.13.0/
$ sudo make -j2
$ sudo make -j2 install
$ sudo cp -a bin/default/packaging/systemd/smb.service /lib/systemd/system/
$ sudo cp -a bin/default/packaging/systemd/nmb.service /lib/systemd/system/
$ sudo systemctl daemon-reload
$ sudo systemctl start smb
$ sudo systemctl start nmb
$ sudo systemctl enable smb
$ sudo systemctl enable nmb
Recommended Posts