03 2021 档案

摘要:在项目根目录下创建 Dockerfile 文件 FROM python:3 WORKDIR /demo COPY requirements.txt ./ RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/ 阅读全文
posted @ 2021-03-10 09:59 黒貓 阅读(254) 评论(0) 推荐(0)
摘要:1. mysql -uroot -p 2. use mysql; 3. update user set authentication_string='' where user='root'; 4. alter user 'root'@'localhost' identified by 'newpas 阅读全文
posted @ 2021-03-05 15:33 黒貓 阅读(246) 评论(0) 推荐(0)
摘要:打开container station,即docker,安装Redis 选择最新的即可 命令处请务必在尾部添加语句: –requirepass "yourpassword"" "内换成你要的redis的password否则会导致你不知道密码无法连接! 高级设置中,网络→主机处可以设定你想访问的端口q 阅读全文
posted @ 2021-03-04 09:57 黒貓 阅读(775) 评论(0) 推荐(0)