上一页 1 2 3 4 5 6 7 8 ··· 14 下一页
摘要: 1、查看防火墙状态 # /etc/init.d/iptables status 2、启动/关闭防火墙 开启防火墙 # service iptables start 关闭防火墙 # service iptables stop 开机自启 开启: chkconfig iptables on 关闭: chk 阅读全文
posted @ 2021-11-17 17:39 猪脚踏浪 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 1. 查看是否安装vsftp # rpm -qa | grep vsftpd 如果没有提示则说明没有安装 如果提示版本号则说明已经安装 2. 下载vsftp http://rpmfind.net/linux/rpm2html/search.php?query=vsftpd(x86-64) 3. 安装 阅读全文
posted @ 2021-11-17 16:31 猪脚踏浪 阅读(801) 评论(0) 推荐(1) 编辑
摘要: 一 安装启动 1. 检查是否安装了 rsync rpm -qa rsync 已经安装会显示如下 [root@sem ~]# rpm -qa rsync rsync-3.0.6-9.el6_4.1.x86_64 2.如果没有安装可以使用yum安装 yum install -y rsync 3. 启动 阅读全文
posted @ 2021-11-16 17:38 猪脚踏浪 阅读(522) 评论(0) 推荐(0) 编辑
摘要: vi /etc/rc.local在其中加上一行 /usr/bin/rsync --daemon 即可 阅读全文
posted @ 2021-11-16 17:37 猪脚踏浪 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 命令 netstat -an | grep 873 结果 [root@sem home]# netstat -an | grep 873 tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN tcp 0 0 :::873 :::* LISTEN 有tcp 这一行返回说明已开放 阅读全文
posted @ 2021-11-16 17:37 猪脚踏浪 阅读(549) 评论(0) 推荐(0) 编辑
摘要: IDEA中本地MAVEN配置如图 查看仓库配置如图 配置第三方远程仓库,这里以阿里maven仓库为例,在pom.xml文件中添加配置 <repositories> <repository> <id>alimaven</id> <name>Maven Aliyun Mirror</name> <url 阅读全文
posted @ 2021-11-13 12:21 猪脚踏浪 阅读(2604) 评论(0) 推荐(0) 编辑
摘要: element-ui的change事件默认参数是一个value值,比如下拉框的change事件默认参数是选中的value值,但是实际项目中我们要传的一般不止这一个参数,如果直接追加两个参数可能获取不到,这时需要把参数中的默认参数名换成$event即可。 @change="handlerChange( 阅读全文
posted @ 2021-11-04 18:24 猪脚踏浪 阅读(1286) 评论(0) 推荐(1) 编辑
摘要: 环境centos6.5,数据库10.3.13-MariaDB ,确认 mysql远程登录没有问题,但备份报错。 远程备份错误信息如下 mysqldump: Got error: 2002: "Can't connect to MySQL server on '192.168.1.14' (115)" 阅读全文
posted @ 2021-10-31 18:11 猪脚踏浪 阅读(1132) 评论(0) 推荐(0) 编辑
摘要: 1、下载安装包 Node.js 官方网站下载:https://nodejs.org/en/ 选择操作系统对应的包: 点击下载。 2、安装 打开安装 选择安装位置,我这里装在D盘下: 安装成功,文件夹结构如下,并在上面安装过程中已自动配置了环境变量和安装好了npm包,此时可以执行 node -v 和 阅读全文
posted @ 2021-10-30 11:28 猪脚踏浪 阅读(3258) 评论(0) 推荐(0) 编辑
摘要: JPA提供的四种标准用法为 TABLE:使用一个特定的数据库表格来保存主键。 SEQUENCE:根据底层数据库的序列来生成主键,条件是数据库支持序列。 IDENTITY:主键由数据库自动生成(主要是自动增长型) AUTO:主键由程序控制。 GenerationType.TABLE 使用一个特定的数据 阅读全文
posted @ 2021-10-29 23:14 猪脚踏浪 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 1. 查看ip是否能访问 ping 192.168.0.1 2. 查看某ip的某端口是否能访问 telnet 192.168.0.1 80 3. 提示 -bash: telnet: command not found,说明没有安装telnet yum install telnet 阅读全文
posted @ 2021-10-28 18:41 猪脚踏浪 阅读(2900) 评论(0) 推荐(1) 编辑
摘要: 一个请求的响应包含以下信息 { // `data` 由服务器提供的响应 data: {}, // `status` 来自服务器响应的 HTTP 状态码 status: 200, // `statusText` 来自服务器响应的 HTTP 状态信息 statusText: 'OK', // `head 阅读全文
posted @ 2021-10-12 12:05 猪脚踏浪 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 在 activemq.xml 中给生产者和消费者配置了身份验证 <plugins> <simpleAuthenticationPlugin> <users> <authenticationUser username="user1" password="pas1" groups="users,admi 阅读全文
posted @ 2021-10-09 10:56 猪脚踏浪 阅读(1125) 评论(0) 推荐(0) 编辑
摘要: 管理后台地址http://localhost:8161/admin 或 http://127.0.0.1:8161/admin 默认用户名密码admin admin,端口默认是8161,且服务采用的是服务器,所以我们进入到conf/jetty.xml 一. 放开本地访问限制 将host由127.0. 阅读全文
posted @ 2021-10-09 10:55 猪脚踏浪 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 一,下载 http://activemq.apache.org/components/classic/download/ 上官网下载对应的版本 二,解压压缩包 linux下的解压命令 tar zxvf apache-activemq-5.16.3-bin.tar.gz 三,启动 进入相对目录,lin 阅读全文
posted @ 2021-10-09 10:54 猪脚踏浪 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 1. 进入安装目录 cd /opt/apache-activemq-5.16.3/bin 启动命令 ./activemq start [root@localhost linux-x86-64]# ./activemq start 如果提示 -bash: ./activemq: Permission 阅读全文
posted @ 2021-10-08 11:08 猪脚踏浪 阅读(2749) 评论(0) 推荐(0) 编辑
摘要: 类存在,项目编译,运行都没有问题,但是代码提示 cannot access com.xxx ,这是IDE的bug,可以点击清除缓存并重启命令后恢复正常。 阅读全文
posted @ 2021-10-06 20:54 猪脚踏浪 阅读(1467) 评论(0) 推荐(0) 编辑
摘要: windows环境下编写的shell脚本上传到linux执行报错 -bash: ./databasebak.sh: /bin/bash^M: bad interpreter: No such file or directory 怀疑是文件格式的问题,用vi databasebak.sh进入datab 阅读全文
posted @ 2021-08-25 18:12 猪脚踏浪 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 1. 查找大文件 例如 查找当前目录小大于1000M的文件 find . -size +1000M 2. 查找并删除 find . -size +1000M -exec rm {} \; 注意分号不能省略 阅读全文
posted @ 2021-05-11 12:06 猪脚踏浪 阅读(1347) 评论(0) 推荐(0) 编辑
摘要: 一、 查看磁盘空间使用情况, 使用命令 df -h 二、 查看文件目录大小 1、最简单的查看方法可以使用ls -ll、ls-lh命令进行查看,当使用ls -ll,会显示成字节大小,而ls- lh会以KB、MB等为单位进行显示,这样比较直观一些。但是不显示文件夹的真实大小 2、查询当前目录总大小可以使 阅读全文
posted @ 2021-05-11 12:02 猪脚踏浪 阅读(12221) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页