This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tech:linux:centos:start [2021/04/11 00:51] rk4n3 |
tech:linux:centos:start [2022/01/31 17:14] (current) rk4n3 |
||
---|---|---|---|
Line 93: | Line 93: | ||
* java-1.8.0-openjdk-devel | * java-1.8.0-openjdk-devel | ||
* gd-devel | * gd-devel | ||
+ | |||
+ | |||
+ | ==== Update a specific repository ==== | ||
+ | ''yum --disablerepo="*" --enablerepo="epel" update'' | ||
+ | |||
==== Enable TCP listen for X ==== | ==== Enable TCP listen for X ==== | ||
// ... to be added ... // | // ... to be added ... // | ||
+ | |||
==== Add firewall rule for HTTP ==== | ==== Add firewall rule for HTTP ==== | ||
Line 122: | Line 128: | ||
==== Routine CLI ==== | ==== Routine CLI ==== | ||
- | * Duplicate SElinux attributes: ''chcon - -reference=oldfileordir newfileordir'' | + | * Duplicate SElinux attributes: ''chcon %%--%%reference=oldfileordir newfileordir'' |
- | * Update from specific repo only: ''yum - -disablerepo="*" - -enablerepo="my-repo" update'' | + | * Update from specific repo only: ''yum %%--%%disablerepo="*" %%--%%enablerepo="my-repo" update'' |
==== rsyslog & logrotate ==== | ==== rsyslog & logrotate ==== | ||
Line 170: | Line 176: | ||
===== Some Issues -> Solutions ===== | ===== Some Issues -> Solutions ===== | ||
+ | |||
+ | ==== Raw network/socket access ==== | ||
+ | * Allow a program (i.e. ''/usr/bin/ping''): ''setcap cap_net_raw+p /path/to/command'' | ||
==== systemd journal ==== | ==== systemd journal ==== |