Software and Infrastructure: Difference between revisions

From QmailToaster
Jump to navigation Jump to search
(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}")
 
No edit summary
Line 10: Line 10:
         build  ALL=(ALL)      ALL
         build  ALL=(ALL)      ALL
  $ su - build
  $ su - build
  $ rpmdev-setuptree
  $ rpmdev-setuptree<br>
 
  Command: mkdir
  Command: mkdir
  # mkdir options <dir>
  # mkdir options <dir>

Revision as of 01:34, 30 March 2024

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}