Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Puppet installation and testing     - Sorting Algorithm (1) Quick Sort C ++ implementation (Programming)

- secureCRT remote login Linux must first open the connection protocol (Linux)

- An example of troubleshooting of embedded Linux OpenWRT (Linux)

- Hadoop 2.7.1 Installation and Configuration under RedHat Linux 6.5 (Server)

- Findbugs installation documentation (Linux)

- Spacewalk Linux system configuration and installation (Linux)

- Linux how to view the graphics models notebook (Linux)

- Ubuntu Gitolite management Git Server code base permissions (Server)

- Restrict console access to Linux servers to improve security (Linux)

- CentOS directory structure Explanation (Linux)

- 12 Linux Process Management Commands (Linux)

- Ubuntu 14.04 compile and install Apache (Server)

- Linux protobuf-c (Linux)

- Linux Services Comments (Linux)

- Laravel cache paged results (Server)

- in no backup ex: error: Xin Tourou ah backup child process has Singles DAT / US person / bin / in no backup ex (Database)

- Linux operating system ARP Spoofing Defense (Linux)

- Scope of variables in Object-C (Programming)

- Oracle Database asynchronous IO cause slow query response (Database)

- Simple configuration shell scripts virtual machine environment experiment (Linux)

 
         
  Puppet installation and testing
     
  Add Date : 2018-11-21      
         
         
         
  This paper systematically Client6.0
This paper aims to install puppet, and test OK; behind the relevant file, service, exec, user management will be introduced;

master side:
[Root @ master ~] # hostname
master.lansgg.com
[Root @ master ~] # cat / etc / hosts
192.168.182.155 master.lansgg.com master
192.168.182.142 client.lansgg.com client
[Root @ master ~] # ifconfig eth0 | grep "inet addr"
          inet addr: 192.168.182.155 Bcast: 192.168.182.255 Mask: 255.255.255.0

client side:
[Root @ client ~] # hostname
client.lansgg.com
[Root @ client ~] # cat / etc / hosts
192.168.182.155 master.lansgg.com master
192.168.182.142 client.lansgg.com client
[Root @ client ~] # ifconfig eth0 | grep "inet addr"
          inet addr: 192.168.182.142 Bcast: 192.168.182.255 Mask: 255.255.255.0

Start the installation puppet (note install selinux and iptables)
master side:
[Root @ master ~] # yum install puppetmaster -y
[Root @ master ~] # vim /etc/puppet/puppet.conf
    autosign = true # Add automatic visa client terminal registration information
service puppetmaster start

client side:

[Root @ client ~] # yum install puppet -y
service puppet start

test
[Root @ client puppet] # puppetd --test --server master.lansgg.com --verbose

PS: Note that time synchronization
This illustrates that the communication is OK;
The following file to a test:
master side:
[Root @ master ~] # vim /etc/puppet/manifests/site.pp
file { "/tmp/lansgg.txt":
        content => "lansgg test, pass ~ n";}

client side:
[Root @ client puppet] # puppetd --test --server master.lansgg.com --verbose

Puppet installation and testing
Through testing, the file has been issued;
View certificate on the master side:
puppetca -s -a (Visas All client certificates)
puppetca -s a client certificate
puppetca -a -l View has a Certificate
     
         
         
         
  More:      
 
- CentOS iptables firewall enabled (Linux)
- How to Set Free SSH password on CentOS / RHEL (Linux)
- Nginx logging client ip (Server)
- Android imageView in the Src and Background (Programming)
- shellinabox: one uses AJAX Web-based terminal emulator (Linux)
- Analysis of common mistakes when compiling MySQL installation (Database)
- Oracle 11g Export guide problem not an empty table (Database)
- C ++ Supplements - Smart Pointers (Programming)
- RedHat Redis Linux installation (Database)
- xCAT line installation on CentOS 6.X (Linux)
- MySQL to manage multiple instances of method (Database)
- Linux environment has been running Tomcat how to deploy the new Tomcat (Server)
- Linux into single user mode to modify the administrator password (Linux)
- Linux terminal interface font color settings (Linux)
- Each catalog Detailed Linux (Linux)
- RedHat yum configuration and the prompt (Linux)
- Ubuntu 14.04 and derivative version of the user on how to install cURL 7.37.1 (Linux)
- Ubuntu prompt / lack of boot space solutions (Linux)
- Ubuntu 14.04 Solution login interface infinite loop (Linux)
- Define and modify strings principle in Python (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.