User Tools

Site Tools


tech:linux:centos:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tech:linux:centos:start [2020/05/15 23:48]
rk4n3
tech:linux:centos:start [2022/01/31 17:14] (current)
rk4n3
Line 60: Line 60:
 ==== If using ZFS ==== ==== If using ZFS ====
 See [[https://​github.com/​zfsonlinux/​zfs/​wiki/​RHEL-and-CentOS|official documentation]] for further details See [[https://​github.com/​zfsonlinux/​zfs/​wiki/​RHEL-and-CentOS|official documentation]] for further details
-  * ''​yum install epel-release -y''​+  * ''​dnf install ​-y https://​dl.fedoraproject.org/​pub/​epel/​epel-release-latest-8.noarch.rpm''​
   * ''​yum install kernel-devel''​   * ''​yum install kernel-devel''​
   * ''​yum install http://​download.zfsonlinux.org/​epel/​zfs-release.el7_4.noarch.rpm''​   * ''​yum install http://​download.zfsonlinux.org/​epel/​zfs-release.el7_4.noarch.rpm''​
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 120: Line 126:
 ------ ------
 ===== Some Application Trivia ===== ===== Some Application Trivia =====
 +
 +==== Routine CLI ====
 +  * Duplicate SElinux attributes: ''​chcon %%--%%reference=oldfileordir newfileordir''​
 +  * Update from specific repo only: ''​yum %%--%%disablerepo="​*"​ %%--%%enablerepo="​my-repo"​ update''​
 +
 ==== rsyslog & logrotate ==== ==== rsyslog & logrotate ====
   * In ''/​etc/​rsyslog.d/​yourapp.conf''<​code>​   * In ''/​etc/​rsyslog.d/​yourapp.conf''<​code>​
Line 165: 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 ====
tech/linux/centos/start.1589604487.txt.gz ยท Last modified: 2020/05/15 23:48 by rk4n3