Software and Infrastructure: Difference between revisions
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 |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Create RPM build environment | [[User_Tips_%26_Tricks#Build_Environment|Back]]<br> | ||
'''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 | ||
Line 10: | Line 11: | ||
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> |
Latest revision as of 06:55, 25 April 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}