puppet (三)

八.Puppet搭建lnmp (有問題)php

1.nginx 過程node

過程見第四部分mysql

2.mysql過程(在安裝的過程當中還要注意空間的大小)nginx

wKioL1fQKX3zKlReAADbrohGPaY852.png 

 

vim /etc/puppet/modules/mysql/files/mysql.shsql

wKiom1fQKYnwu81vAAGxg7JYcdw412.png 

wKiom1fQKY-R-tvDAACDAkev4RY446.png 

 

vim /etc/puppet/modules/mysql/manifests/install.ppvim

wKioL1fQKabySZ-SAAEdiJy5aN4427.png 

 

vim /etc/puppet/modules/mysql/manifests/config.ppide

wKiom1fQKafDuHIZAACU2txzG2c226.png 

vim /etc/puppet/modules/mysql/manifests/service.ppspa

wKioL1fQKajTOg9bAABIv7cFXTg435.png 

vim /etc/puppet/modules/mysql/manifests/init.pp3d

wKiom1fQKajwZ9PdAAAqbi8K88E318.png 

3.php過程orm

wKioL1fQKa7zqyqyAADSWUtEnfc696.png 

 

vim /etc/puppet/modules/php/files/php.sh

wKioL1fQKbbiDlF4AAIulcoPYic875.png 

vim /etc/puppet/modules/php/manifests/install.pp

wKiom1fQKbvxgKsFAAFD4RGG9JA044.png 

vim /etc/puppet/modules/php/manifests/config.pp

wKioL1fQKb3hzsbmAAExiE70uB0894.png 

vim /etc/puppet/modules/php/manifests/service.pp

wKiom1fQKcCCHqiKAABGhQPtNv0671.png 

vim /etc/puppet/modules/php/manifests/init.pp

wKioL1fQKcDSe9HbAAAkyHYArYY030.png 

vim /etc/puppet/manifests/nodes/server2.pp

 

wKiom1fQKcGTU1d9AAAmsTRbh7w725.png

相關文章
相關標籤/搜索