:29confdrwxr-sr-x6rootroot4096Oct2213:29db-r--r--r--1rootroot2Oct2213:29formatdrwxr-xr-x2rootroot4096Oct2213:29hooksdrwxr-xr-x2rootroot4096Oct2213:29locks-rw-r--r--1rootroot229Oct2213:29README.txt2. Access the svn server through Apache + SSL Security Authentication
2.1 install related software packages
[[emailprotected]~]#yuminstallhttpdhttpd-develmod_dav_svn
2.2 create a SVN VM
[[emailprotected]svndata]#vim/etc/httpd/conf.d/subversion.confLoadModuledav_svn_modulemodules/mod_dav_svn.soLoadModule
Expand puppet-create a puppet ca cluster (
1Votes, average:
5.00Out of 5) 588 views March 4, 2012 puppet, O M ca, Master, puppet, cluster jsxubar
One way to expand puppet is to separate the CA function of puppet master and establ
步的时间这里没有打开而是在下面的文件配置的Modify the default synchronization timevim/etc/puppet/puppet.conf [agent] runinterval =300 #单位为秒/etc/init.d/puppet startNginx+passenger:Puppet uses Ruby-based webrickhttp to handle HTTPS requests by default, but the built-in webserver purpose of these languages is only for the convenience of debugging code, and its performance is very poor, while using common web The server software can
determines whether a Report is configured. If the Report is configured, the execution result is sent to the server.8. The server writes the execution result of the client to the log and sends it to the reporting system.Http: // puppet. wikidot.com Chinese wikiSystem Environment: rhel6.3 selinux and iptables disabledSever: 192.168.0.201 extends top1.example.com puppet masterClient: 192.168.0.202 extends top
determines whether a report is configured. If the report is configured, the execution result is sent to the server.8. The server writes the execution result of the client to the log and sends it to the reporting system.Http: // puppet. wikidot.com Chinese WikiSystem Environment: rhel6.3 SELinux and iptables disabledSever: 192.168.0.201 extends top1.example.com puppet masterClient: 192.168.0.202 extends top
between the two hosts (you can set up an NTP server. Here, we do not describe how to set up the NTP service)2. Puppet Installation
Puppet is written in the ruby language. Therefore, to install the ruby environment, both the server and client must be installed.
Ruby Installation
#Yum install Ruby *-y
Install facter
#Tar xf facter-1.6.6.tar.gz#CD facter-1.6.6#Ruby install. Rb
NginxNote: The main purpose is to compile the module passenger-config in.wget http://nginx.org/download/nginx-1.7.9.tar.gzwget http://sourceforge.net/projects/pcre/files/pcre/8.36/pcre-8.36.tar.gz[Email protected] ~]# cd/usr/local/src/nginx-1.7.9/[Email protected] ~]#/configure--user=nginx--group=nginx--prefix=/usr/local/nginx--with-http_stub_status_ Module--with-http_ssl_module--with-pcre=/usr/local/src/pcre-8.36--add-module= ' passenger-config--root '/ext/ Nginx[[email protected] ~]# make ma
PuppetFeatures and introduction: Batch management and deployment for multiple serversRequired Package: facter-1.6.18.tar.gz puppet-2.7.22.tar.gz (Facter package is Puppet's dependent package)Steps:server-ip:192.168.13.54 Domain name www.wyx1.comclient-ip:192.168.13.55 Domain name www.wyx2.comServerIptables-fSetenforce 0Hostname www.wyx1.comVim/etc/hosts192.168.13.54 www.wyx1.com192.168.13.55 www.wyx2.com1. Time synchronization, and write crontab, serv
be included directly through the include.Further details can be found at: http://docs.puppetlabs.com/references/latest/type.html4.4 Classes and functionsA class can have multiple related resources defined together to form a class. Classes can inherit, see also: http://docs.puppetlabs.com/guides/language_guide.html#resource-collectionsFunctions (called "Defination" in puppet) can wrap multiple resources into a single resource, or package a resource in
quickly. In less than 1 minute.Ruby install. Rb5. Synchronization timeCP/usr/share/zoneinfo/Asia/Shanghai/etc/localtime/Usr/sbin/ntpdate time.nist.gov2. server operations.1. create directories and copy files.Mkdir/etc/puppetCp conf/auth. CONF/etc/puppet/Cp conf/RedHat/fileserver.
First, the server planningThe following are the latest versions of Yum installed directly.Server operating system is centos6.2Puppetmaster1 10.168.32.116 puppstmaster1.jq.comPuppetmaster2 10.168.32.117 puppetmaster2.jq.comPuppet1 10.168.32.120 ag1.jq.comPuppet2 10.168.32.121 ag2.jq.comPUPPETCA1 10.168.32.118 puppetca1.jq.comPUPPETCA2 10.168.32.119 puppetca2.jq.comFacter.x86_64 1:2.3.0-1.el6Puppet.noarch 0:3.7.3-1.el6Second, software Installation2.1 Installing the Epel PackageAll servers Install
authentication request on the server.
Signature Certificate
Delete certificate
Puppet cert clean vm3.example.com
Check whether the authentication is successful on the client.
If the authentication is successful
Three servers implement automatic authentication
On the server side
Vim/etc/puppet. conf
Add this line under main
[Main]
Autosign = true
Create th
/disabled/g'/etc/selinux/configsetenforce 0
Stop iptables
Chkconfig ip6tables offchkconfig iptables off/etc/init. d/ip6tables stop/etc/init. d/iptables stop
Set ntp
Ntpdate pool. ntp. orgchkconfig ntp onservice ntpd start
2. install the puppet servicePuppet is not in the basic CentOS Source. you must add the official sources provided by PuppetLabs:
Wget http://yum.puppetlabs.com/el/6/products/x8
. d/ip6tables stop/etc/init. d/iptables stop
Set ntpNtpdate pool. ntp. orgchkconfig ntp onservice ntpd start
2. Install the puppet ServicePuppet is not in the basic CentOS source. You must add the official sources provided by PuppetLabs:Wget http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-7.noarch.rpmrpm-ivh puppetlabs-release-6-7.noarch.rpmyum update
Install and enable the puppet servic
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.