1.定时备份mysql数据库 注意 mysqldump需要加上mysql全路径 不然在 crontab下找不到 # 主机 HOST=localhost # 用户名 DB_USER=root # 密码 DB_PWD=password # 需要备份的数据库列表(逗号分隔) DATABASES="data1,data2" # 循环遍历…
转载:https://blog.csdn.net/xtho62/article/details/118194873 1 touch touch指令,很常用的一种方法 1.1 创建一个文件 touch yyTest.ini 1.2 同时创建两个文件 touch test1.txt test2.txt 1.3 批量创建文件(如创建2000个文件) to…
Ubuntu 20.04 LTS docker安装 x-ui https://xtrojan.pro/bgfw/xray/x-ui-build-node.html https://github.com/vaxilu/x-ui 安装docker curl -fsSL https://get.docker.com | sh 安装x-ui mkdir x…
如何在 Ubuntu 20.04 上安装 Java sudo apt update sudo apt install openjdk-11-jdk 复制 一旦安装完成,你可以通过检查 Java 版本来验证它: java -version Ubuntu安装lrzsz sudo apt-get install lrzsz 一、Ubuntu安装Docke…
安装 apt install samba 命令 systemctl restart smbd systemctl status smbd systemctl enable smbd https://blog.csdn.net/iduzy/article/details/121710923 sam.conf配置 vi /etc/samba/smb.c…
debian环境 java 自带 maven apt-get install maven 启动时指定配置文件 java -jar gathernews-0.0.1-SNAPSHOT.jar --spring.profiles.active=prod 后台运行 nohup java -jar XXX-0.0.1-SNAPSHOT.jar > l…
https://github.com/hectorqin/reader docker安装 hectorqin/reader:openj9-latest 单用户 docker run -d --restart=always --name=reader -e "SPRING_PROFILES_ACTIVE=prod" -v /hom…
服务器端 [common] bind_port = 7000 token = XX-需要保存一致 #web vhost_http_port = 8081 客户端 [common] server_addr = 公网ip server_port = 7000 token = XX-需要保存一致 [ssh] type = tcp local_ip = 1…
https://www.jianshu.com/p/5c8c4495827f 安装RabbitMq 可以参照RabbitMq官网的安装教程(Installing on Debian and Ubuntu),来进行安装。 这里我们使用apt-get来安装,就简单的几条命令: 1.由于rabbitMq需要erlang语言的支持,在安装rabbitMq之…
https://cloud.tencent.com/developer/article/1999411 https://www.cnblogs.com/guojikun/p/15092696.html 设置WSL的版本为WSL2 wsl --set-default-version 2 执行更新wsl命令已确认wsl为最新版 wsl --update…