FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


os:linux:set:index.html



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
Last revision Both sides next revision
os:linux:set:index.html [2018/02/18 00:17]
kurihara [Table]
os:linux:set:index.html [2018/05/08 00:41]
kurihara
Line 17: Line 17:
 </sxh> </sxh>
  
- +\\ 
-==== Fabric Remote Shell Commands ====+==== Fabric one-line Task Examples ====
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 $ H=test-server-1 $ H=test-server-1
Line 39: Line 39:
 from fabric.contrib import files from fabric.contrib import files
 from fabric.contrib.files import sed, append, contains from fabric.contrib.files import sed, append, contains
 +from datetime import datetime
  
 FHHOME=os.environ["FHHOME"] FHHOME=os.environ["FHHOME"]
Line 178: Line 179:
 ==== Deamon ==== ==== Deamon ====
  
-|<100% 200px ->|+|<100% 250px ->|
 | [[os:linux:set:deamon:etc_ssh_sshd_config.html|/etc/ssh/sshd_config]]                                                                                   | PermitRootLogin no\\ PasswordAuthentication yes\\ UseDNS no  | | [[os:linux:set:deamon:etc_ssh_sshd_config.html|/etc/ssh/sshd_config]]                                                                                   | PermitRootLogin no\\ PasswordAuthentication yes\\ UseDNS no  |
 | [[os:linux:set:deamon:etc_chrony.conf.html|/etc/chrony.conf]] (CentOS)\\ [[os:linux:set:deamon:etc_chrony.conf.html|/etc/chrony/chrony.conf]] (Ubuntu)  |                                                              | | [[os:linux:set:deamon:etc_chrony.conf.html|/etc/chrony.conf]] (CentOS)\\ [[os:linux:set:deamon:etc_chrony.conf.html|/etc/chrony/chrony.conf]] (Ubuntu)  |                                                              |
 | /etc/default/grub                                                                                                                                       | crashkernel=128M                                             | | /etc/default/grub                                                                                                                                       | crashkernel=128M                                             |
 +| [[os:linux:set:deamon:etc_systemd_journald.conf.html|/etc/systemd/journald.conf]]                                                                       | RateLimitInterval=30s\\ RateLimitBurst=10000                 |
  
 \\ \\
Line 213: Line 215:
 | [[os:linux:set:etc:etc_selinux_config.html|/etc/selinux/config]]\\   (RHEL7/CentOS7)\\ [[os:linux:set:etc:etc_selinux_config.html|/etc/sysconfig/selinux]]\\  (RHEL6/CentOS6)  | No SELinux policy is loaded.\\ SELINUX=disabled  | | [[os:linux:set:etc:etc_selinux_config.html|/etc/selinux/config]]\\   (RHEL7/CentOS7)\\ [[os:linux:set:etc:etc_selinux_config.html|/etc/sysconfig/selinux]]\\  (RHEL6/CentOS6)  | No SELinux policy is loaded.\\ SELINUX=disabled  |
 | /etc/fstab                                                                                                                                                                                                                      | | /etc/fstab                                                                                                                                                                                                                      |
-| /etc/snmp/snmpd.conf                                                                                                                                                           |                                                  |+| [[os:linux:set:etc:etc_snmp_snmpd.conf|/etc/snmp/snmpd.conf]]                                                                                                                  |                                                  |
 | /etc/sysconfig/static-routes                                                                                                                                                                                                    | | /etc/sysconfig/static-routes                                                                                                                                                                                                    |
 | /etc/hosts                                                                                                                                                                                                                      | | /etc/hosts                                                                                                                                                                                                                      |


os/linux/set/index.html.txt · Last modified: 2019/02/11 00:40 by kurihara