![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
mytao_top
平时浏览的文章,喜欢随手记下,如有侵权,请联系我
mytao.top@gmail.com
展开
-
vm 桥接模式固定虚拟机IP 突然不能联网
vm机器长时间没有登陆, 最近登陆后, 发现不能连接外网, 原来以为是ip冲突, 修改了后还是不能正常上网, 百度后发现是桥接模式下,不能自动选择的问题, 这里做一下记录。1、vmware->编辑->虚拟网络编辑器->桥接模式->选择有线网卡。原创 2023-07-23 21:01:33 · 208 阅读 · 0 评论 -
Docker-部署Redis
1, 拉取mysql5.7版本docker仓库地址:https://hub.docker.com/_/redis?tab=tags2, 拉取redis 最新版本3, 创建本地映射目录:/home/data/redis/data4, 本地配置redis.conf,并放置在 /home/data/redis目录下bind 127.0.0.1 #注释掉这部分,使redis可以外部访问daemonize no#用守护线程的方式启动requirepass 你的密码#给redis设置密码app原创 2022-04-20 22:30:48 · 371 阅读 · 0 评论 -
linux 登陆提示
linux 登陆提示。原创 2022-08-07 09:52:35 · 723 阅读 · 0 评论 -
linux 通过修改.bashrc文件添加别名跳转到指定路径
linux 通过修改.bashrc文件添加别名跳转到指定路径原创 2022-07-16 00:11:22 · 725 阅读 · 0 评论 -
linux防火墙和开放端口命令
防火墙:1.firewalld的基本使用启动:systemctl start firewalld查状态:systemctl status firewalld 停止:systemctl disable firewalld禁用:systemctl stop firewalld在开机时启用一个服务:systemctl enable firewalld.service在开机时禁用一个服务:systemctl disable firewalld.service查看服务是否开机启原创 2022-04-30 17:19:41 · 12993 阅读 · 4 评论 -
vue-nginx-配置-解决location-href-=-‘-login‘-跳转404问题
启动目录cd /usr/local/nginx/sbin配置文件目录 nginx.confcd /usr/local/nginx/conf配置文件完成信息:在配置文件中加上下面一行try_files $uri $uri/ /index.html;#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.原创 2022-04-20 22:37:23 · 524 阅读 · 0 评论 -
linux-Centos7-安装docker
linux 安装 docker 等常用命令原创 2022-04-20 22:25:47 · 709 阅读 · 0 评论