上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: 1、copy ,cp,该命令的功能是将给出的文件或目录拷贝到另外一个文件或目录中。语法: cp 源文件或目录 目标文件或目录。 2、在/TEST目录下新建test1和test2两个子文件夹。 假设复制源文件test1下的test01文件,目标目录为test2。 直接可以用: cp /TEST/tes 阅读全文
posted @ 2023-01-31 12:17 猪脚踏浪 阅读(5374) 评论(0) 推荐(0) 编辑
摘要: 从远程服务器复制指定文件到本地主机的指定目录下,基本语法格式如下: scp user@ip:/path/to/remote/file /path/to/local/directory 参数说明: user@ip::指的是用户名和远程服务器的IP地址,如root@192.168.3.5。注意,用户名和 阅读全文
posted @ 2023-01-31 12:16 猪脚踏浪 阅读(2862) 评论(0) 推荐(0) 编辑
摘要: ftp登录错误信息如下 C:\Users\PC>ftp 192.168.5.74 连接到 192.168.5.74。 220 Welcome to blah FTP service. 200 Always in UTF8 mode. 用户(192.168.5.74:(none)): fileftp 阅读全文
posted @ 2023-01-30 08:57 猪脚踏浪 阅读(939) 评论(1) 推荐(1) 编辑
摘要: 一:ftp命令上传报错,很明显是无法创建文件 ftp> put tomcat.gif 200 PORT command successful. Consider using PASV. 553 Could not create file. ftp的文件夹确实没有写权限,授权 [root@localh 阅读全文
posted @ 2022-11-21 23:21 猪脚踏浪 阅读(1800) 评论(0) 推荐(0) 编辑
摘要: ftpClient.changeWorkingDirectory(path) 切换带/的路径一直返回false 由于使用的是普通账号登录,将用户禁锢在了宿主目录。 解决方法: 将vsftpd.conf文件中的打开chroot_local_user=YES,重启vsftpd即可。 阅读全文
posted @ 2022-11-21 17:15 猪脚踏浪 阅读(1222) 评论(0) 推荐(0) 编辑
摘要: 错误提示: connect failed: Connection timed out. 注意开放允许客户端链接的端口,比如30001-30500.不然总是会提示超时。 /sbin/iptables -I INPUT -p tcp --dport 30001:30500 -j ACCEPT 阅读全文
posted @ 2022-11-21 17:13 猪脚踏浪 阅读(1208) 评论(0) 推荐(0) 编辑
摘要: 解决办法,关闭占用该端口进程 1. 以管理员的身份运行cmd命令窗口来查看端口占用情况(输入要查询的端口号) netstat -ano | findstr 8080 显示如下 TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING 6588 LISTENING 后面6588就是 阅读全文
posted @ 2022-11-08 15:08 猪脚踏浪 阅读(1600) 评论(0) 推荐(0) 编辑
摘要: 获取当前脚本目录 DIR="$( cd"$( dirname"${BASH_SOURCE[0]}" )" && pwd )" 详细解释如下: ${BASH_SOURCE[0]}表示bash脚本的第一个参数,获取当前执行的shell文件所在的路径及文件名 dirname表示提取参数里的目录,去除文件名 阅读全文
posted @ 2022-09-26 20:57 猪脚踏浪 阅读(1703) 评论(0) 推荐(0) 编辑
摘要: 解决方法一 <jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://xxxxxx/abc“ userId="root" password="xxxxxx"> <!--防止生成不同库同名表--> < 阅读全文
posted @ 2022-09-14 09:33 猪脚踏浪 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 方法一 npm install --ignore-scripts 阅读全文
posted @ 2022-05-07 18:18 猪脚踏浪 阅读(530) 评论(0) 推荐(0) 编辑
摘要: 配置 applicatioin.properties 方法一: Logback日志打印sql,出现在log中 logging.level.com.springboot.test.mapper=debug 方法二: 使用mybatis配置打印sql,但是不出现在log中 mybatis.configu 阅读全文
posted @ 2022-02-24 14:59 猪脚踏浪 阅读(421) 评论(0) 推荐(1) 编辑
摘要: Springboot框架,引入C3P0,启动出现Bug The Class-Path manifest attribute in D:\develop\maven\repository\com\mchange\c3p0\0.9.5.5\c3p0-0.9.5.5.jar referenced one 阅读全文
posted @ 2022-02-23 13:39 猪脚踏浪 阅读(912) 评论(0) 推荐(0) 编辑
摘要: 方法一 注意、服务也可以使用下面方法设置开机启动,如追加rc.local文件追加/usr/bin/rsync --daemon就是开启启动rsync服务 1、首先,脚本具有可执行权限 chmod 755 inotify.sh 2、然后将脚本存放的绝对路径+脚本全名追加到/etc/rc.d/rc.lo 阅读全文
posted @ 2022-01-09 17:22 猪脚踏浪 阅读(787) 评论(0) 推荐(0) 编辑
摘要: tsconfig.json 1.添加"noImplicitAny": false,即将你定义的数据类型 ,隐式具有“any”类型 2.或者 “strict”: true,改为false ,即关闭严格模式 阅读全文
posted @ 2021-12-17 00:41 猪脚踏浪 阅读(3751) 评论(1) 推荐(1) 编辑
摘要: const debug = process.env.NODE_ENV !== 'production' 提示 TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm 阅读全文
posted @ 2021-12-16 23:49 猪脚踏浪 阅读(6225) 评论(0) 推荐(0) 编辑
摘要: Symbols 的出现是为了什么呢? 翻译自 medium Symbols 是 JavaScript 最新推出的一种基本类型,它被当做对象属性时特别有用,但是有什么是它能做而 String 不能做的呢? 在我们开始探索 Symbols 功能之前,我们先来看一下被很多开发者忽略 JavaScript 阅读全文
posted @ 2021-12-13 23:01 猪脚踏浪 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 在使用vite 时,发现不能使用require.context 自动导入modules,可以使用import.meta.globEager替换 require 自动引入实现 const moduleFiles = require.context('./modules', false, /\.ts$/ 阅读全文
posted @ 2021-12-13 02:37 猪脚踏浪 阅读(4454) 评论(0) 推荐(0) 编辑
摘要: element-plus 安装 npm install element-plus --save 在main.js引用 import {createApp} from 'vue' import router from './router/index' import store from './stor 阅读全文
posted @ 2021-12-11 22:36 猪脚踏浪 阅读(988) 评论(0) 推荐(0) 编辑
摘要: 安装该软件需要使用最高用户(root)进行安装 一. 安装vsftp 查看是否已安装 [root@mariadb-10 ~]# rpm -q vsftpd vsftpd-3.0.2-21.el7.x86_64 或者 [root@mariadb-10 ~]# vsftpd -v vsftpd: ver 阅读全文
posted @ 2021-12-11 13:10 猪脚踏浪 阅读(1375) 评论(0) 推荐(0) 编辑
摘要: vuex 是一个专为 Vue.js 应用程序开发的状态管理模式 + 库。它采用集中式存储管理应用的所有组件的状态,并以相应的规则保证状态以一种可预测的方式发生变化。 安装 npm install vuex@next --save 直接使用 this.$store.state.xxx 首先在src目录 阅读全文
posted @ 2021-12-11 00:58 猪脚踏浪 阅读(1136) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 14 下一页