forked from andonome/lk
initial commit
This commit is contained in:
11
distros/redhat/Oracle/basics.md
Normal file
11
distros/redhat/Oracle/basics.md
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
> cd /etc/yum.repos.d/
|
||||
|
||||
> vim public.yum*
|
||||
|
||||
These are branches of the same Oracle server.
|
||||
|
||||
The first - 'latest' - is enabled by default.
|
||||
|
||||
You can change 'enabled' from 0 to 1 for various repositories.
|
||||
|
11
distros/redhat/npm.md
Normal file
11
distros/redhat/npm.md
Normal file
@@ -0,0 +1,11 @@
|
||||
package.json is the basic configuration file.
|
||||
|
||||
Everything is per-directory.
|
||||
|
||||
> npm install x
|
||||
|
||||
This'll install x in the current directory.
|
||||
|
||||
> npm init
|
||||
|
||||
> npm install express --save
|
22
distros/redhat/yum.md
Normal file
22
distros/redhat/yum.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Overview
|
||||
|
||||
Forks include CentOS, scientific Linux, Oracle, and Fedora.
|
||||
|
||||
Major features: reliable, shit package selection.
|
||||
|
||||
# Basically yum
|
||||
|
||||
> yum search [package]
|
||||
|
||||
> yum list openssh
|
||||
|
||||
> yum install [package1] [package2]
|
||||
|
||||
> yum check-updates
|
||||
|
||||
> yum update
|
||||
|
||||
yum remove [package1] [package2]
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user