Software and Infrastructure: Difference between revisions

From QmailToaster
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
[[User_Tips_%26_Tricks#Build_Environment|Back]]<br>
  '''Create RPM build environment EL'''
  '''Create RPM build environment EL'''
  # yum -y groupinstall "Development Tools"
  # yum -y groupinstall "Development Tools"

Latest revision as of 07:55, 25 April 2024

Back

Create RPM build environment EL
# 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}