Software and Infrastructure

From QmailToaster
Revision as of 01:34, 30 March 2024 by Ebroch (talk | contribs) (Created page with " Create RPM build environment CentOS 6/7/8 # yum -y groupinstall "Development Tools" # yum install epel-release rpmdevtools mock # useradd build # passwd build # visudo Under root ALL=(ALL) ALL Add build ALL=(ALL) ALL $ su - build $ rpmdev-setuptree Command: mkdir # mkdir options <dir> Examples: # mkdir myProject # mkdir -p myProject/{src,doc,tools,db} # mkdir -p myProject/{src,doc/{api,system},tools,db}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Create RPM build environment CentOS 6/7/8
# yum -y groupinstall "Development Tools"
# yum install epel-release rpmdevtools mock
# useradd build
# passwd build
# visudo 
  Under 
       root   ALL=(ALL)	ALL
  Add	 
       build   ALL=(ALL)       ALL
$ su - build
$ rpmdev-setuptree
Command: mkdir
# mkdir options <dir>
Examples:
# mkdir myProject
# mkdir -p myProject/{src,doc,tools,db}
# mkdir -p myProject/{src,doc/{api,system},tools,db}