摘要: #安装MySQL sudo apt install mysql-server #进入数据库 sudo mysql #修改密码 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123'; 产生用户不能授权的 阅读全文
posted @ 2021-01-04 10:22 石门 阅读(84) 评论(0) 推荐(0) 编辑
摘要: req, err := http.NewRequest(c.method, c.url, reader) if err != nil { return nil, err } req.Header = c.Header req.Header.Set("Content-Type", c.ContentT 阅读全文
posted @ 2020-12-24 19:59 石门 阅读(3439) 评论(0) 推荐(0) 编辑
摘要: 1-指定共享文件 2-查看有木有挂载 $df 如果木有那就是没有成功 3-解决办法 1挂载 sudo mount -t vboxsf Shared /mnt 若出现mounting failed with the error:No such device则 安装依赖 yum clean all yu 阅读全文
posted @ 2020-09-26 10:20 石门 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 安装docker 基础软件安装 # 安装基本软件$ sudo apt-get update$ sudo apt-get install apt-transport-https ca-certificates curl git software-properties-common lrzsz -y 添 阅读全文
posted @ 2020-02-23 13:59 石门 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 1、vim ~/share 手动挂载 #!/bin/bash vmhgfs-fuse -o allow_other .host:/$(vmware-hgfsclient) /mnt/hgfs 保存 wq 设置运行权限 chmod a+x share 设置开机自动挂载。 打开文件 vim/etc/fs 阅读全文
posted @ 2020-02-23 13:34 石门 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 报错原因,找不到 ssl_match_hostname 网上的解决办法是:pip install --upgrade backports.ssl_match_hostname实际上并没有用,会提示该模块已经安装在/usr/local/lib/python2.7/dist-packages root@ 阅读全文
posted @ 2020-02-07 18:51 石门 阅读(1545) 评论(1) 推荐(0) 编辑
摘要: ubuntu系统怎么安装搜狗输入法 mp.weixin.qq.com 1. 前言 本文主要讲解如何在Ubuntu系统上安装搜狗拼音输入法,以Ubuntu 18.04 LTS桌面版为例作演示。Ubuntu系统是Debian系列的其中一员,笔者认为是最好用的Linux桌面版本之一。国产Deepin和Li 阅读全文
posted @ 2020-01-11 17:01 石门 阅读(1352) 评论(0) 推荐(0) 编辑
摘要: 安装命令 sudo pacman -S mysql 初始化 sudo mysqld --initialize --user=mysql --basedir=/usr --datadir=/var/lib/mysql 初始化成功 # 出现类似一下信息 [Server] A temporary pass 阅读全文
posted @ 2019-12-18 21:24 石门 阅读(480) 评论(0) 推荐(0) 编辑
摘要: sudo cp /usr/local/redis/redis.conf /etc/redis/ 阅读全文
posted @ 2019-07-20 21:34 石门 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1.1 安装docker 基础软件安装 # 安装基本软件$ sudo apt-get update$ sudo apt-get install apt-transport-https ca-certificates curl git software-properties-common lrzsz 阅读全文
posted @ 2019-07-20 19:20 石门 阅读(315) 评论(0) 推荐(0) 编辑