摘要: 1. 安装 发送邮件的软件 yum -y install sendmail 2.修改配置文件 #在最后添加以下内容 set from=*********@163.com #这是发件人 set smtp=smtp.163.com #邮箱类型 set smtp-auth-user=********@16 阅读全文
posted @ 2020-01-07 20:54 陈豆豆鸭 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 1.源码安装一个nginx(我的shell脚本执行的 ) #!/bin/bash ceshi_yemian() { http_code=`curl -I -s http://10.0.0.43:80|awk 'NR==1{print $2}'` if [ $http_code -eq 200 ]; 阅读全文
posted @ 2020-01-07 19:13 陈豆豆鸭 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 1.配置环境 服务器已经安装好tomcat 可以参考这个https://www.cnblogs.com/chenxiaodou/articles/12158746.html 1.生产配置实例 这个是我自己的生产环境 <Connector port="8080" protocol="HTTP/1.1" 阅读全文
posted @ 2020-01-07 09:35 陈豆豆鸭 阅读(48) 评论(0) 推荐(0) 编辑