- 博客(8)
- 收藏
- 关注
原创 mount: /mnt/share_volume: 文件系统类型错误、选项错误、/dev/vdb 上有坏超级块、缺少代码页或帮助程序或其他错误.
挂载磁盘 1、lsblk查看磁盘情况 2、如果磁盘为空,要先格式化磁盘 mkfs -t ext4 /dev/sdb 3、mkdir /mnt/share_volume 4、mount /dev/vdb /mnt/share_volume
2024-07-08 14:50:41
904
1
原创 ubuntu20安装配置nginx,部署angular到nginx
一、安装配置nginx 1、安装: sudo apt-get update sudo apt-get install nginx 2、查看状态 sudo systemctl status nginx 3、开通防火墙端口 4、停止/开启nginx服务 sudo systemctl stop nginx sudo systemctl start nginx sudo systemctl restart nginx sudo systemctl reload nginx 二、将angul
2021-10-13 18:07:56
891
原创 ubuntu20防火墙
1、安装:sudo apt install ufw 2、查看防火墙状态及端口开放情况:sudo ufw status verbose 3、启用 sudo ufw enable sudo ufw default deny 4、关闭: sudo ufw enable | disable 5、开放/禁用端口 sudo ufw allow 80/tcp (tcp/udp) sudo ufw allow from 192.168.1.111 允许此IP访问所有的本机端口 sudo ufw.
2021-10-13 17:51:15
1469
原创 ubuntu20安装stunnel
安装:sudo apt-get install stunnel stunnel配置文件路径为/etc/stunnel/stunnel.conf 开启:sudo stunnel 关闭: (1)找到pid sudo ps -ef|grep stunnel (2)杀死进程 kill -9 141482
2021-10-13 17:38:45
1538
原创 Windows系统下的MySQL使用
1、本机安装完了MySQL,但忘记了安装文件夹: 通过Windows的服务管理器查看。“开始”——“运行”,输入”services.msc”,回车。弹出Windows的服务管理器,然后就可以看见服务名为”MySQL”的服务项了,其右边标明“正在运行”就说明服务已经启动了。右键属性可以查看MySQL的安装位置。 2、启动关闭MySQL服务: (1)可以在上图中的服务中开启关闭 (2)以管理员身份运行cmd,输入以下命令启动关闭 net start MySQL80(注意:这个是服务的名称) .
2021-07-22 18:55:49
1086
转载 MySQL错误:ERROR 1175: You are using safe update mode 解决方法
提示如下错误: Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Editor and reconnect. 解决方法: show variables like 'SQL_SAFE_UP
2021-06-25 18:47:08
401
原创 vscode中执行npm install安装的依赖包在哪里
vscode中执行npm install安装的依赖包在哪里 在\node_modules\.bin目录下。 另外: ng serve = npm start
2021-05-20 11:37:51
2588
转载 vscode报错ERROR in node_modules/@types/node/ts3.5/globals.global.d.ts:1:13 - error TS2403: Subsequent
报错信息 ERROR in node_modules/@types/node/ts3.5/globals.global.d.ts:1:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'global' must be of type 'Global', but here has type 'Global & typeof globalThis'. 1 declare var
2021-05-20 11:34:41
2799
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅