Centos 7: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
( answer all the questions ) | ( answer all the questions ) | ||
reboot | reboot | ||
== Systemd == | |||
Making it so that a service restarts if it fails: | |||
Under the [Service] section in the file i added the following 2 lines: | |||
Restart=always | |||
RestartSec=3 | |||
After saving the file we need to reload the daemon configurations to ensure systemd is aware of the new file | |||
systemctl daemon-reload |
Revision as of 03:14, 23 May 2017
new stuff, things to think about:
- systemd ( systemctl for all service admin work )
- firewalld "easy mode" for firewall , no more iptables directly.
- ntp not installed by default. ( ntpdate is installed by default )
vmware tools install centos 7 , vmware 5.5
yum -y install perl mkdir /mnt/cdrom && mount /dev/cdrom /mnt/cdrom && mkdir -p /mnt/tmpfs mount -o size=500M -t tmpfs none /mnt/tmpfs && cp /mnt/cdrom/VMwareTools-9.4.5-1598834.tar.gz /mnt/tmpfs cd /mnt/tmpfs && tar zxvf VMwareTools-9.4.5-1598834.tar.gz && cd vmware-tools-distrib ./vmware-install.pl ( answer all the questions ) reboot
Systemd
Making it so that a service restarts if it fails:
Under the [Service] section in the file i added the following 2 lines:
Restart=always RestartSec=3 After saving the file we need to reload the daemon configurations to ensure systemd is aware of the new file
systemctl daemon-reload