lnmp
积木John
这个作者很懒,什么都没留下…
展开
-
ubuntu 发送邮件
ubuntu 发送邮件1、安装heirloom-mailxapt-get update && apt-get install -y heirloom-mailx2、配置vi /etc/nail.rcset from=429240967@qq.comset smtp=smtp.qq.comset smtp-auth-user=429240967@qq.com...原创 2020-04-17 13:10:36 · 812 阅读 · 0 评论 -
ubuntu16 配置静态ip(NAT方式)
第一步 输入命令 ip addr ,查看我们的ip地址,默认为dhcp分配的地址;第二步 输入命令 ifconfig 查看网卡名称 (常见的有eth0,ens33)第三步 sudo vi /etc/network/interface 添加如下命令auto 网卡名称 iface 网卡名称 inet staticaddress 192.168.8.100 netm原创 2017-03-13 11:08:13 · 2611 阅读 · 0 评论 -
nginx php-fpm 配置https和http2
基础环境 阿里云ecs ubuntu16.04 (默认的nginx的版本是1.10,支持http2)1. 安装nginx apt-get install nginx 之后即可用ip地址或者域名进行访问2. 添加server.conf 在nginx.conf 里面有配置文件 include /etc/nginx/co原创 2018-03-02 11:57:41 · 2174 阅读 · 0 评论 -
执行rsync时报:Host Key verification failed 解决方法
执行rsync时报:Host Key verification failed 解决方法错误截图解决方法:1、 在 .ssh目录下添加config文件,键入StrictHostKeyChecking noUserKnownHostsFile /dev/null2、删除 .ssh/know_hosts中对应ip的相关rsa信息...原创 2019-04-02 14:48:10 · 3549 阅读 · 1 评论