08 2019 档案

摘要:子网掩码格式为255.255.255.0可以通过以下脚本计算掩码位数 步骤 阅读全文
posted @ 2019-08-30 16:01 minseo 阅读(2195) 评论(0) 推荐(0) 编辑
摘要:参考:https://help.aliyun.com/knowledge_detail/42520.html MySQL忘记了root登录密码需要重置 1,修改配置文件 一般配置文件路径为/etc/my.cnf 在[mysqld]下增加一行设置免密登录 [mysqld] skip-grant-tab 阅读全文
posted @ 2019-08-26 14:42 minseo 阅读(339) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.cnblogs.com/YatHo/p/7866029.html docker启动后日志会在以下位置 也可以使用以下命令查看 使用docker-compose可以通过配置把日志记录到本地文件中 目录结构如下,其中mysql下的conf放置配置文件 data为数据库文件 阅读全文
posted @ 2019-08-16 15:09 minseo 阅读(57530) 评论(0) 推荐(3) 编辑
摘要:参考:https://blog.csdn.net/eumenides_/article/details/94719944 https://muguang.me/it/2658.html 使用docker部署容器时,输出日志时间会比系统正常时间少8小时 1,环境查看 2,创建容器查看日志 启动一个容器 阅读全文
posted @ 2019-08-16 15:06 minseo 阅读(18439) 评论(5) 推荐(1) 编辑
摘要:Ubuntu18使用netplan设置网络参考:https://www.cnblogs.com/minseo/p/11325384.html 修改配置文件 重启主机即可 PS:1,重启主机会选择其中一个物理口的mac地址作为聚合端口的mac地址,而且两个物理端口地址会一致,假如1口接触好2口断了重启 阅读全文
posted @ 2019-08-09 10:54 minseo 阅读(5118) 评论(0) 推荐(0) 编辑
摘要:参考:https://my.oschina.net/u/2306127/blog/2877106 https://blog.csdn.net/peyte1/article/details/80509056 Ubuntu18使用netplan设置网络,于之前版本区别很大,设置/etc/network/ 阅读全文
posted @ 2019-08-09 10:08 minseo 阅读(11089) 评论(0) 推荐(0) 编辑
摘要:使用普通用户只需特权命令是需要输入密码,然后在五分钟以内只需命令可以免密码,下面设置免密码操作 系统环境查看 切换至root用户 修改sudoers文件 以后使用用户your_user_name执行特权命令就可以不输入密码,使用该用户切换至root也不需要密码 阅读全文
posted @ 2019-08-08 10:02 minseo 阅读(10818) 评论(0) 推荐(1) 编辑
摘要:参考:https://blog.csdn.net/php12345679/article/details/80843939 https://blog.csdn.net/pf1234321/article/details/83106144 nginx的gzip常用配置参数 在http或server模块 阅读全文
posted @ 2019-08-07 14:56 minseo 阅读(578) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示