Linux服务加入systemctl|service管理 一.加入systemctl 1.添加 vim /usr/lib/systemd/system/user_timejob.service # copy to /usr/lib/systemd/system # systemctl enable ...
分类:
系统相关 时间:
2021-05-24 13:48:55
阅读次数:
0
1.git下载与安装 https://gitforwindows.org/ 一般一直下一步即可 任务栏 打开Git Bash,输入: # 配置用户名 git config --global user.name "username" //( "username"是自己的账户名,) # 配置邮箱 git ...
分类:
Web程序 时间:
2021-05-24 13:46:15
阅读次数:
0
vi and vim编辑器 1. 基本介绍 参看文档:Linux vi/vim | 菜鸟教程 (runoob.com) 所有的Linux系统都会内建vi文本编辑器 vim具有程序编辑的能力,可以看作是vi的增强版本,是一个程序开发工具 简单的来说, vi 是老式的字处理器,不过功能已经很齐全了,但是 ...
分类:
系统相关 时间:
2021-05-24 13:46:03
阅读次数:
0
安装 javaee jdk mysql apache ideaIU shell编程 x.sh脚本 格式要求: 1.脚本以#!/bin/bash开头 2.脚本要有可执行权限 vim hello.sh 写上: #!/bin/bash echo "hello,world" 保存退出 sh hello.sh ...
分类:
系统相关 时间:
2021-05-24 13:41:21
阅读次数:
0
写公钥 ssh-keygen -t rsa # 生成key (echo -e "\n\n"; cat id_rsa.pub; echo -e "\n\n") > /tmp/key.txt # 前后加换行 cat /tmp/key.txt | redis-cli -h 59.xx.xx.157 -x ...
分类:
其他好文 时间:
2021-05-24 13:41:02
阅读次数:
0
Document对象 通过Selenium获取元素属性.注释:Selenium获取元素属性,只能获取属性,不能修改属性值 1 # 通过Selenium获取元素属性 2 #将定位赋值给el 3 el = driver.find_element_by_xpath('//*[@id="ai-topsear ...
分类:
Web程序 时间:
2021-05-24 13:15:21
阅读次数:
0
valgrind使用 valgrind --tool=memcheck --leak-check=full --log-file=valgrind-log.txt ./build/executable --args gdb使用带参数 gdb --args ./build/executable --a ...
分类:
其他好文 时间:
2021-05-24 12:21:49
阅读次数:
0
第一步获取待下载文件列表. 解压缩到到执行目录下面 我这边使用Windows10 里面的 WSL的方式直接进行相关工作 ls *.zip > list.url 将需要下载的zip包变成列表文件. 第二步 使用shell脚本进行判断文件是否存在 #!/bin/bash echo " "> /deplo ...
分类:
其他好文 时间:
2021-05-24 12:11:03
阅读次数:
0
修改为2个空格 /etc/vim/vimrc或者末行模式 set tabstop=4 这一个就可以了 set shiftwidth=4 移动到行尾shfit + 4 移动到行首shfit + 6 上下左右 k h l j 行首插入I 行尾插入A 插销u 撤销一行修改U 前进ctrl + y 删除字符 ...
分类:
系统相关 时间:
2021-05-24 10:48:04
阅读次数:
0
ifdown br0 brctl delbr br0 rm ifcfg-br0 vim /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 ONBOOT=yes BOOTPROTO=static IPADDR=192.168.0.111 NET ...
分类:
其他好文 时间:
2021-05-24 10:45:19
阅读次数:
0