CentOS: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
Line 10: Line 10:
|-
|-
| style="width: 50%;" | Install byobu
| style="width: 50%;" | Install byobu
| style="width: 50%;" | <div class="cli">$ yum -y install epel-release<br>$ yum -y install byobu</div>
| style="width: 50%;" class="cli" | yum -y install epel-release<br>yum -y install byobu
|-
|-
| style="width: 50%;" | Enable byobu
| style="width: 50%;" | Enable byobu
| style="width: 50%;" | <div class="cli">$ byobu-enable</div>
| style="width: 50%;" class="cli" | byobu-enable
|-
|-
| style="width: 50%;" | Enable NTP
| style="width: 50%;" | Enable NTP
| style="width: 50%;" | <div class="cli">$ yum install -y ntp<br>$ systemctl enable ntpd<br>$ systemctl start ntpd</div>
| style="width: 50%;" class="cli" | yum install -y ntp<br>systemctl enable ntpd<br>systemctl start ntpd
|-
|-
| style="width: 50%;" | Synchronize with NTP server
| style="width: 50%;" | Synchronize with NTP server
| style="width: 50%;" | <div class="cli">$ systemctl stop ntpd<br>$ ntpdate pool.ntp.org<br>$ systemctl start ntpd</div>
| style="width: 50%;" class="cli" | systemctl stop ntpd<br>ntpdate pool.ntp.org<br>systemctl start ntpd
|-
|-
| style="width: 50%;" | Check date & time and NTP status
| style="width: 50%;" | Check date & time and NTP status
| style="width: 50%;" | <div class="cli">$ timedatectl</div>
| style="width: 50%;" class="cli" | timedatectl
|}
|}



Revision as of 06:00, 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/