Oracle Linux/Quick Reference
From r00tedvw.com wiki
(Difference between revisions)
(→Add user & add to sudoers) |
|||
Line 6: | Line 6: | ||
install software | install software | ||
~$ yum install lynx | ~$ yum install lynx | ||
+ | search for software | ||
+ | ~$ yum search apache | ||
remove software | remove software | ||
~$ yum remove lynx | ~$ yum remove lynx |
Revision as of 22:20, 25 April 2014
yum
update repo cache (agt-get update equivalent)
~$ yum check-update
update all packages
~$ yum update
install software
~$ yum install lynx
search for software
~$ yum search apache
remove software
~$ yum remove lynx
Add user & add to sudoers
add user
~$ useradd user
set password for user
~$ passwd user
add to sudoers
~$ visudo ... user ALL=(ALL) ALL