上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 90 下一页
摘要: 前言 有时我们会忘记 Mysql 的密码,或者想改一个密码,以下将对这两种情况修改密码的四种解决方法做个总结 本文都以用户为 root 为例 一、拥有原来的mysql的root的密码 方法一: 在mysql系统外,使用mysqladmin 1 mysqladmin -u root -p passwo 阅读全文
posted @ 2020-04-18 22:32 牛奔 阅读(7538) 评论(0) 推荐(0)
摘要: nginx -t :测试配置文件是否有语法错误 看看报什么错误,我的是忘记给权限了 nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denie 阅读全文
posted @ 2020-04-18 19:39 牛奔 阅读(1664) 评论(0) 推荐(0)
摘要: 1、Nginx的软件包在Ubuntu默认软件仓库中可用。 安装非常简单,只需键入以下命令: sudo apt update sudo apt install nginx 2、安装完成后,检查Nginx版本: nginx –v 3、启动nginx服务: service nginx start 4、访问 阅读全文
posted @ 2020-04-18 19:24 牛奔 阅读(347) 评论(0) 推荐(0)
摘要: 自带的ssh server不好用,需要先卸载再安装。 1. 卸载 ssh server sudo apt-get remove openssh-server 2. 安装 ssh server sudo apt-get install openssh-server 3. 修改 ssh server 配 阅读全文
posted @ 2020-04-18 18:12 牛奔 阅读(761) 评论(0) 推荐(0)
摘要: 我使用beego框架快速建立了一个应用,可当我运行 bee run的时候,出现了如下错误 D:\go_beego\src\product>bee run ______ | ___ \ | |_/ / ___ ___ | ___ \ / _ \ / _ \ | |_/ /| __/| __/ \___ 阅读全文
posted @ 2020-04-03 16:45 牛奔 阅读(1845) 评论(0) 推荐(0)
摘要: crontab: installing new crontab "/tmp/crontab.tEoCzO":2: bad day-of-month errors in crontab file, can't install. Do you want to retry the same edit? E 阅读全文
posted @ 2020-03-25 11:11 牛奔 阅读(6406) 评论(0) 推荐(0)
摘要: 最近Windows 10 开始支持Ubuntu啦。而不是虚拟机,虚拟机太消耗资源啦。 评价还蛮高的,运行之后会出现跟Terminal 一模一样的终端,其实你已经在Linux的环境中啦。 // 使用root权限 sudo -i // 更新系统 apt update 开始更新啦! 命令行始终不好玩,能显 阅读全文
posted @ 2020-03-25 08:54 牛奔 阅读(1185) 评论(0) 推荐(0)
摘要: 报错信息 解决办法在 go.mod 内把 bee 的源替换掉,再执行安装命令 一、创建一个 go mod 下的文件夹 二、在 go.mod 内把 bee 的源替换掉,如下所示: github.com/realguan/bee 是我 fork 了 github.com/beego/bee 的源码,进行 阅读全文
posted @ 2020-03-25 07:58 牛奔 阅读(969) 评论(0) 推荐(0)
摘要: 前提 go版本为1.13及以上 官方文档 如果你想更深层次的了解GO MODULE的意义及开发者们的顾虑,可以直接访问官方文档(EN) https://github.com/golang/go/wiki/Modules go module介绍 go module是go官方自带的go依赖管理库,在1. 阅读全文
posted @ 2020-03-24 17:04 牛奔 阅读(13298) 评论(1) 推荐(4)
摘要: 一、用的jquery的radio的change事件:当元素的值发生改变时,会发生 change 事件,radio选择不同name值选项的时候恰巧是值发生改变 表单单选框 <input type="radio" name="bedStatus" id="allot" checked="checked" 阅读全文
posted @ 2020-03-24 14:27 牛奔 阅读(14658) 评论(0) 推荐(0)
上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 90 下一页