CentOS: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
Line 33: Line 33:
|-
|-
| style="width: 50%;" | Install SETools and SETroubleshoot
| style="width: 50%;" | Install SETools and SETroubleshoot
| style="width: 50%;" | <div class="cli">$ yum install setroubleshoot setools</div>
| style="width: 50%;" class="cli" | yum install setroubleshoot setools
|-
|-
| style="width: 50%;" | Analyze the audit log used by SELinux
| style="width: 50%;" | Analyze the audit log used by SELinux
| style="width: 50%;" | <div class="cli">$ sealert -a /var/log/audit/audit.log</div>
| style="width: 50%;" class="cli" | sealert -a /var/log/audit/audit.log
|}
|}



Revision as of 06:01, 3 April 2018

RHEL 7 Documentation

NTP

Description Command
Install byobu yum -y install epel-release
yum -y install byobu
Enable byobu byobu-enable
Enable NTP yum install -y ntp
systemctl enable ntpd
systemctl start ntpd
Synchronize with NTP server systemctl stop ntpd
ntpdate pool.ntp.org
systemctl start ntpd
Check date & time and NTP status timedatectl

SELinux

Description Command
Install SETools and SETroubleshoot yum install setroubleshoot setools
Analyze the audit log used by SELinux sealert -a /var/log/audit/audit.log

Installing Plex

https://linode.com/docs/applications/media-servers/install-plex-media-server-on-centos-7/

https://forums.plex.tv/discussion/164112/plex-media-server-on-minimal-centos-7-0

NFS

https://www.unixmen.com/setting-nfs-server-client-centos-7/

https://www.howtoforge.com/nfs-server-and-client-on-centos-7

Mounting on Windows: https://graspingtech.com/mount-nfs-share-windows-10/