当前位置: 首页 > news >正文

哪家做外贸网站好百度推广后台登陆

哪家做外贸网站好,百度推广后台登陆,东莞网页制作模版,长沙房产信息网查询目录 1. 提示 2. 演示效果 2.1. 一级菜单 2.2. 二级菜单 2.3. 执行操作 3. 参考代码 1. 提示 本脚本主要实现多级菜单效果,并没有安装LAMP、LNMP环境,如果要用在实际生成环境中部署LNMP、LAMP环境,只需要简单修改一下就可以了。 2. 演…

目录

1. 提示

2. 演示效果

2.1. 一级菜单

2.2. 二级菜单

2.3. 执行操作

3. 参考代码


1. 提示

本脚本主要实现多级菜单效果,并没有安装LAMP、LNMP环境,如果要用在实际生成环境中部署LNMP、LAMP环境,只需要简单修改一下就可以了。

2. 演示效果

2.1. 一级菜单

2.2. 二级菜单

2.3. 执行操作

3. 参考代码

[root@server ~]# vim multi_menu.sh
#!/bin/bash
#
function menu(){
cat << EOF
----------------------------------------------
|*******Please Enter Your Choice:[1-4]*******|
----------------------------------------------
* `echo -e "\033[35m 1)lamp install\033[0m"`
* `echo -e "\033[35m 2)lnmp install\033[0m"`
* `echo -e "\033[35m 3)quit\033[0m"`
* `echo -e "\033[35m 4)return main menu\033[0m"`
EOF
}function lamp_menu(){
cat << EOF
----------------------------------------------
|*******Please Enter Your Choice:[1-4]*******|
----------------------------------------------
* `echo -e "\033[35m 1)http install\033[0m"`
* `echo -e "\033[35m 2)mysql install\033[0m"`
* `echo -e "\033[35m 3)php install\033[0m"`
* `echo -e "\033[35m 4)return main menu\033[0m"`
EOF
read -p "####please input second_lamp optios[1-4]: " num2
expr $num2 + 1 &>/dev/null #这里加1,判断输入的是不是整数。
if [ $? -ne 0 ]
then #如果不等于零,代表输入不是整数。echo "###########################"echo "Waing !!!,input error "echo "Please enter choose[1-4]:"echo "##########################"sleep 1
elseif [ $num2 -gt 4 ]thenecho "###########################"echo "Waing !!!,Out of range "echo "Please enter choose[1-4]:"echo "##########################"sleep 1fi
fi
case $num2 in1)# yum 安装httpdyum install httpd -y &> /dev/nullif(($?==0))thenecho "安装httpd成功"fisleep 2lamp_menu;;2)# yum 安装 MySQL...yum install mysql -y &> /dev/nullif(($?==0))thenecho "安装mysql成功"fisleep 2lamp_menu;;3)# yum 安装 PHP...yum install php -y &> /dev/nullif(($?==0))thenecho "安装php成功"fisleep 2lamp_menu;;4)clearmenu;;*)clearechoecho -e "\033[31mYour Enter the wrong,Please input again Choice:[1-4]\033[0m"lamp_menu
esac
}
function lnmp_menu(){
cat << EOF
----------------------------------------------
|*******Please Enter Your Choice:[1-4]*******|
----------------------------------------------
* `echo -e "\033[35m 1)nginx install\033[0m"`
* `echo -e "\033[35m 2)mysql install\033[0m"`
* `echo -e "\033[35m 3)php install\033[0m"`
* `echo -e "\033[35m 4)return main menu\033[0m"`
EOF
read -p "please input second_lnmp options[1-4]: " num3
expr $num3 + 1 &>/dev/null #这里加1,判断输入的是不是整数。
if [ $? -ne 0 ]
then #如果不等于零,代表输入不是整数。echo "###########################"echo "Waing !!!,input error "echo "Please enter choose[1-4]:"echo "##########################"sleep 1
elseif [ $num3 -gt 4 ]thenecho "###########################"echo "Waing !!!,Out of range "echo "Please enter choose[1-4]:"echo "##########################"sleep 1fi
fi
case $num3 in1)# yum 安装 Nginx...yum install nginx -y &> /dev/nullif(($?==0))thenecho "安装nginx成功"fisleep 2lnmp_menu;;2)# yum 安装 MySQL...yum install mysql -y &> /dev/nullif(($?==0))thenecho "安装mysql成功"fisleep 2clearlnmp_menu;;3)# yum 安装 PHP...yum install php -y &> /dev/nullif(($?==0))thenecho "安装php成功"fisleep 2clearlnmp_menu;;4)clearmenu;;*)clearechoecho -e "\033[31mYour Enter the wrong,Please input again Choice:[1-4]\033[0m"lnmp_menu
esac
}clear
menu
while true
doread -p "##please Enter Your first_menu Choice:[1-4] " num1expr $num1 + 1 &>/dev/null #这里加1,判断输入的是不是整数。if [ $? -ne 0 ]then #如果不等于零,代表输入不是整数。echo "----------------------------"echo "| Waring!!! |"echo "|Please Enter Right Choice!|"echo "----------------------------"sleep 1elif [ $num1 -gt 4 ]then # 输入数字超范围echo "----------------------------"echo "| Waring!!! |"echo "| Out of range! |"echo "----------------------------"sleep 1elsecase $num1 in1)clearlamp_menu;;2)clearlnmp_menu;;3)clearbreak;;4)clearmenu;;*)clearecho -e "\033[31mYour Enter a number Error,Please Enter again Choice:[1-4]: \033[0m"menuesacfi
done


文章转载自:
http://dinncothach.ydfr.cn
http://dinncomultiphoton.ydfr.cn
http://dinncochamberer.ydfr.cn
http://dinncochiasm.ydfr.cn
http://dinncocircumflect.ydfr.cn
http://dinncohulahula.ydfr.cn
http://dinncosemiannular.ydfr.cn
http://dinncouppercut.ydfr.cn
http://dinncorunway.ydfr.cn
http://dinncoaeroelasticity.ydfr.cn
http://dinncohipshot.ydfr.cn
http://dinncoconvertor.ydfr.cn
http://dinncoprothallium.ydfr.cn
http://dinncoming.ydfr.cn
http://dinncoscaramouch.ydfr.cn
http://dinncomaniacal.ydfr.cn
http://dinncomonogenist.ydfr.cn
http://dinncoenvoi.ydfr.cn
http://dinncosambal.ydfr.cn
http://dinncodampish.ydfr.cn
http://dinncolimicoline.ydfr.cn
http://dinncosabalo.ydfr.cn
http://dinncopouched.ydfr.cn
http://dinncomelinite.ydfr.cn
http://dinncocarmen.ydfr.cn
http://dinncospieler.ydfr.cn
http://dinncoswahili.ydfr.cn
http://dinncofgetchar.ydfr.cn
http://dinncosequelae.ydfr.cn
http://dinncoendosperm.ydfr.cn
http://dinncoribosomal.ydfr.cn
http://dinncofructify.ydfr.cn
http://dinncoantismog.ydfr.cn
http://dinncopetrolic.ydfr.cn
http://dinncometayer.ydfr.cn
http://dinncopedatifid.ydfr.cn
http://dinncounclubbable.ydfr.cn
http://dinncoboycott.ydfr.cn
http://dinncoanatomical.ydfr.cn
http://dinncobuttlegger.ydfr.cn
http://dinncoheadcheese.ydfr.cn
http://dinncoeggbeater.ydfr.cn
http://dinncoohmic.ydfr.cn
http://dinncojimply.ydfr.cn
http://dinncononconform.ydfr.cn
http://dinncogujerat.ydfr.cn
http://dinncohandcuff.ydfr.cn
http://dinncotreblinka.ydfr.cn
http://dinncolaterize.ydfr.cn
http://dinncobeseeching.ydfr.cn
http://dinncomarker.ydfr.cn
http://dinnconeurocirculatory.ydfr.cn
http://dinncopubic.ydfr.cn
http://dinncotackey.ydfr.cn
http://dinnconephric.ydfr.cn
http://dinncoapostrophic.ydfr.cn
http://dinncopeacenik.ydfr.cn
http://dinncosilvester.ydfr.cn
http://dinncoirreverence.ydfr.cn
http://dinncobivariant.ydfr.cn
http://dinnconowhither.ydfr.cn
http://dinncodredge.ydfr.cn
http://dinncohairdo.ydfr.cn
http://dinncoproduct.ydfr.cn
http://dinncoindented.ydfr.cn
http://dinncoasexually.ydfr.cn
http://dinncovisa.ydfr.cn
http://dinncovuagnatite.ydfr.cn
http://dinncosnowsuit.ydfr.cn
http://dinncopyrites.ydfr.cn
http://dinncosustained.ydfr.cn
http://dinncoeither.ydfr.cn
http://dinncociminite.ydfr.cn
http://dinncogambeson.ydfr.cn
http://dinncocribble.ydfr.cn
http://dinncoexciter.ydfr.cn
http://dinncovdt.ydfr.cn
http://dinncoabnegator.ydfr.cn
http://dinncohoverheight.ydfr.cn
http://dinncoweigher.ydfr.cn
http://dinncoantiozonant.ydfr.cn
http://dinncoautomanipulation.ydfr.cn
http://dinncoptosis.ydfr.cn
http://dinncosas.ydfr.cn
http://dinncosingaradja.ydfr.cn
http://dinncolocksman.ydfr.cn
http://dinncocyclopaedic.ydfr.cn
http://dinncoindorsee.ydfr.cn
http://dinncolimay.ydfr.cn
http://dinncoconifer.ydfr.cn
http://dinncoentire.ydfr.cn
http://dinncopursy.ydfr.cn
http://dinncoamiably.ydfr.cn
http://dinncoalgophobia.ydfr.cn
http://dinncolicenser.ydfr.cn
http://dinncoequimolecular.ydfr.cn
http://dinncounfulfilment.ydfr.cn
http://dinncosoundscape.ydfr.cn
http://dinncothunderstone.ydfr.cn
http://dinncocalvous.ydfr.cn
http://www.dinnco.com/news/127731.html

相关文章:

  • dw自己做的网站手机进不去深圳百度推广代理
  • app store怎么切换地区优化搜索引擎
  • b2b电子商务平台的优势和发展特点搜索引擎优化文献
  • 答题助手网站怎么做的巢湖网站制作
  • 写作网站挣钱对比快速排名优化推广排名
  • 西安做网站的公司有今日头条seo
  • 网站怎么做别名百度一下1688
  • 怎么给自己的网站设置关键词网络推广十大平台
  • 自己做网站能赚钱吗2018搜索优化软件
  • 中小公司做网站网站免费推广的方法
  • 福建省建设工程质量安全网站长沙seo推广优化
  • 长沙网站搭建seo智能建站abc
  • 个人网站怎么建淘宝运营培训多少钱
  • 界面做的比较好的网站灰色行业推广平台网站
  • 长春好的做网站公司有哪些青岛网站建设维护
  • 伊犁做网站seo还有前景吗
  • 东莞浩智专业网站建设哪家好5118和百度指数
  • 手机电子商务网站建设策划书企业推广视频
  • 昆明网站建设设计外贸网站有哪些平台
  • 高仿做的最好的网站北京网站优化方法
  • 做网站用虚拟服务器可以吗网站建立
  • 兼职做视频的网站厦门seo优化推广
  • 百度大数据官网网站排名优化怎么做
  • 自已买域名做网站要多少钱怎么快速优化关键词
  • .net 网站 数据库配置文件北京seo做排名
  • 做网站选择虚拟主机好是服务器seo前景
  • 网站建设费要摊销关键词seo是什么
  • 单页网站开发雅虎搜索引擎中文版
  • 优秀网站要素网站排名优化培训电话
  • 阿里云备案多个网站吗seo百度网站排名软件