编译安装nginx的shell脚本
时间: 2023-08-26 07:15:05 浏览: 107
一个是自动安装设置nginx的shell脚本
编译安装Nginx的shell脚本如下所示:
```shell
function nginx_compile(){
local item="Nginx Compile"
cd /usr/local/src/nginx-${version}
if [ `ls -l /usr/local/ | grep 'nginx' | wc -l` -ge 1 ]; then
echo -e "\e<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* *2* *3* [shell 脚本之一键部署安装 Nginx](https://blog.csdn.net/s_alted/article/details/129892800)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文