Skip to content

Instantly share code, notes, and snippets.

@jniltinho
jniltinho / create-rpm-samba4.sh
Last active October 12, 2021 16:45
FPM CentOS 7 Samba 4.11.5 RPM
#!/bin/bash
## Create RPM package Samba4 4.11.5 (CentOS 7)
## http://sig9.hatenablog.com/entry/2017/12/04/000000
## Run as root (sudo su)
VERSION=4.11.5
yum -y install epel-release
yum update -y
yum -y install gcc python3-devel curl rpm-build ruby ruby-devel rubygems ruby-libs make