您的位置:首页 > 运维架构 > Linux

Linux下Shell脚本部署LNMP服务的配置文件

2019-05-31 17:18 483 查看
## Install LNMP Services ##
# LNMP configuration file example.

# /cloud_nsd/conf/lnmp.conf

################################## INCLUDES ###################################

# Include one or more other config files here.

############################## GLOBAL VARIABLES ###############################
Nfs_Dir=/cloud_nsd				#NFS共享目录
Script_Path=$Nfs_Dir/shell		#脚本路径
Soft_Path=$Nfs_Dir/soft			#软件路径
############################ INSTALL NGINX SERVICE ##############################
# [nginx]
Nginx_Src=$Soft_Path/lnmp_soft/nginx-1.12.2.tar.gz		#源码包路径
Install_Path=/usr/local/nginx							#安装路径
Nginx_Conf=$Install_Path/conf/nginx.conf				#主配置文件
Start_Path=$Install_Path/sbin/nginx						#启动路径
## [MODULE]
Nginx_Module1="--with-http_ssl_module"					#SSL加密
Nginx_Module2="--with-http_stub_status_module"			#状态查询
Nginx_Module3="--with-stream"							#用于代理调度

## [SSL]
Domain_Name=www.tedu.cn

############################ INSTALL PHP SERVICE ##############################
# [php]
Php_Fpm=$Soft_Path/lnmp_soft/php-fpm-5.4.16-42.el7.x86_64.rpm
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: