摘要:
新建用户x,组为root, useradd x -g root 用pdbedit -a x 命令添加x到samba服务中,输入密码,即为共享连接时的密码 在配置完毕后,可以用testparm /etc/samba/smb.conf来检查是否正确 网上邻居不显示,是因为网卡的ip设置问题,用offic 阅读全文
摘要:
springboot 加载外部yml nohup java -jar warehouse-0.0.1-SNAPSHOT.jar --Dspring.config.location=/root/www/application.yml & mysql 开启远程访问 grant all privilege 阅读全文
摘要:
几个要记住的地方 1. 主键策略 @TableId Auto 自动数据库自增 private Long id 2. 乐观锁 @Version @Bean public MybatisPlusInterceptor mybatisPlusInterceptor() { MybatisPlusInter 阅读全文