摘要:
阅读全文
摘要:
二、安装步骤 1.将下载的安装包放到c盘windows目录下(根据需要放置) 2.用命令行安装 以管理员身份打开cmd,输入以下命令(c:\windows即文件放置目录,即上一步放置目录) dism.exe /online /enable-feature /featurename:netfx3 /S 阅读全文
摘要:
可在pom文件中加入以下配置: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> 阅读全文
摘要:
Collections.sort()使用该方法实际是重写Comparator接口的compare方法实现排序: //传入参数list集合,Comparator接口 T:list的元素类型 //如List<Map<String, Object>> list = .............. Colle 阅读全文
摘要:
一、数据导入 (1)进入mysql [root@localhost mysql]# mysql -u root -p (2)转到对应数据库下 mysql> use zenith_star; (3)导入sql数据文件 mysql> source /home/mysql/zenith_star.sql; 阅读全文
摘要:
select * from (select alarm_content name, count(id) `count` from ai_alarm WHERE alarm_content IS NOT NULL AND state in (0,1,2) AND alarm_content != '人 阅读全文
摘要:
ssl证书代理: server{ listen 90 ssl; #对应你的域名 server_name xxx.com; ssl_certificate D:/nginx-1.8.0/ssl/yingde.com.crt; ssl_certificate_key D:/nginx-1.8.0/ssl 阅读全文
摘要:
在config文件夹下新增一个配置类即可 /** * @author cyl * @time 2022/10/25 */ @Configuration public class UrlConfig extends WebMvcConfigurationSupport { @Override publ 阅读全文
摘要:
设置该bat文件开机自启动 1、右键计算机–>管理,选择系统工具–>计划任务程序; 2、选择创建任务,在弹出窗口中,输入任务名称,并选择不管用户是否登录都要运行–>使用最高权限运行; 3、切换到触发器页面,开始任务选择启动时,勾选延迟任务时间(等待一些系统的初始化,避免出错); 4、切换到操作页面, 阅读全文
摘要:
代码语法: sc create ServiceName binPath= 路径 start= auto 示例语句: sc create Tomcat binPath= F:/tomcat/bin/startup.bat start= auto 删除服务: sc delete Tomcat 注意:等号 阅读全文