Software and Infrastructure: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Create RPM build environment | '''Create RPM build environment EL''' | ||
# yum -y groupinstall "Development Tools" | # yum -y groupinstall "Development Tools" | ||
# yum install epel-release rpmdevtools mock | # yum install epel-release rpmdevtools mock |
Revision as of 00:35, 30 March 2024
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}