-
use python yum module to get os $releasever and $basearch for yum repository python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'
-
only sysnc package of newest from remote repository reposync --newest-only -r repo-id
-
change linux os default default reoute sudo ip route replace default via 10.0.2.2 dev eth0
-
How to create an RPM package https://fedoraproject.org/wiki/How_to_create_an_RPM_package https://fedoraproject.org/wiki/How_to_create_a_GNU_Hello_RPM_package
-
cent os install Ruby2.x curl -sSL https://get.rvm.io | bash -s stable Load RVM: source /etc/profile.d/rvm.sh Now (automatically) install the requirements for RVM: rvm requirements Now we can install Ruby 2.0.0 : rvm install 2.0.0 activate Ruby 2.0.0: rvm use 2.0.0 --default
Last active
December 13, 2017 03:36
-
-
Save realfirst/0b0ca4c95f54070de58f795fcd5fa883 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment