会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
风林月影
博客园
首页
新随笔
联系
订阅
管理
2021年9月9日
maven命令打包依赖到本地仓库
摘要: 1.打包命令 mvn install:install-file -Dfile=C:/pdf/ojdbc6.jar -DgroupId=com.oracle.ojdbc6 -DartifactId=ojdbc -Dversion=1.0 -Dpackaging=jar 2.引用依赖 <dependen
阅读全文
posted @ 2021-09-09 16:48 风林月影
阅读(727)
评论(0)
推荐(0)
2020年10月5日
CentOS7设置内网时间同步
摘要: 1、yum 安装 NTP服务器 [root@master ~]# yum -y install ntp 2、启动ntpd服务 [root@master ~]# systemctl start ntpd 3、设置开机自启 [root@master ~]# systemctl enable ntpd 4
阅读全文
posted @ 2020-10-05 14:15 风林月影
阅读(1449)
评论(0)
推荐(0)
2020年9月27日
aarch64架构移动设备挂载移动硬盘
摘要: 添加yum源 wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo 安装ntfs yum install -y ntfs-3g 查看设备的信息: lsblk 查看盘符路径df -h 挂载# -t n
阅读全文
posted @ 2020-09-27 10:52 风林月影
阅读(176)
评论(0)
推荐(0)
centos7修改ssh端口及添加ssh监听端口
摘要: ssh 修改默认端口 [root@node-1 ~]# vi /etc/ssh/sshd_config 修改port 为 5522 重启[root@node-1 ~]# systemctl restart sshd 查看[root@node-1 ~]# netstat -ntlp | grep ss
阅读全文
posted @ 2020-09-27 10:47 风林月影
阅读(769)
评论(0)
推荐(0)
2020年9月14日
Linux设置主机名称与host映射
摘要: uname -n :查看host对应的域名 2.在 /etc/hostname 删除原来的重新配置需要的域名 3.在 /etc/hosts 中添加域名和映射ip 4.重启系统 5.其他主机相同操作
阅读全文
posted @ 2020-09-14 00:24 风林月影
阅读(2242)
评论(0)
推荐(0)
公告