摘要:
使用vim命令在/etc/init.d目錄下新建一個(gè)xx.sh,文件名可自定義,以test.sh為例 vim /etc/init.d/start.sh 也可以用 touch start.sh 命令創(chuàng)建文件(Python和Java主要區(qū)別在于啟動(dòng)命令不一樣,其他操作是一樣的) #!/bin/sh ##
閱讀全文
posted @ 2025-03-14 11:19
田坤坤
閱讀(13)
推薦(0)
摘要:
<build> <finalName>demo</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <ver
閱讀全文
posted @ 2024-10-22 10:36
田坤坤
閱讀(10)
推薦(0)
摘要:
遠(yuǎn)程copy 命令我們要從遠(yuǎn)程服務(wù)器172.22.125.30上復(fù)制/usr/local/sql/yjs_menu_insert_20231228.txt文件到本地/root/opt/目錄下 scp root@172.22.125.30:/usr/local/sql/yjs_menu_insert_
閱讀全文
posted @ 2024-08-06 11:38
田坤坤
閱讀(20)
推薦(0)
摘要:
nacos啟動(dòng)報(bào)錯(cuò)信息 ERROR Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating
閱讀全文
posted @ 2024-07-01 10:15
田坤坤
閱讀(681)
推薦(0)
摘要:
Springboot瘦身(lib和程序分開(kāi)打包) 1. 首先用mvn clean package正常打出jar包 這個(gè)jar包可能有幾百兆大小,lib占了絕大多數(shù)將jar包解壓,將 BOOT-INF 下的 lib 包拿出單獨(dú)存放 2. 修改pom重新打包 <plugin> <groupId>org.
閱讀全文
posted @ 2024-05-07 11:33
田坤坤
閱讀(118)
推薦(0)
摘要:
-- 查詢(xún)表名SELECT table_name FROM dba_tables WHERE owner = '所有者' ORDER BY table_name -- 查詢(xún)表注釋SELECT T.table_name,U.COMMENTS As table_comment FROM DBA_TABL
閱讀全文
posted @ 2024-03-27 16:48
田坤坤
閱讀(460)
推薦(0)
摘要:
1.編輯/etc/firewalld/zones/public.xml 2、加入一下內(nèi)容 <!--開(kāi)放指定ip的監(jiān)控客戶(hù)端端口--!> <rule family="ipv4"> <source address="172.31.18.81/32"/> <port port="9273" protoco
閱讀全文
posted @ 2024-03-26 16:32
田坤坤
閱讀(51)
推薦(0)
摘要:
cmd用管理員身份運(yùn)行 mvn install:install-file -DgroupId=org.apache.activemq -DartifactId=activemq-all -Dversion=5.8.0 -Dpackaging=jar -Dfile=activemq-all-5.8.0
閱讀全文
posted @ 2024-03-13 11:46
田坤坤
閱讀(43)
推薦(0)
摘要:
PgSchoolCalendarWeekManagePageQry pgSchoolCalendarWeekManagePageQry = new PgSchoolCalendarWeekManagePageQry();pgSchoolCalendarWeekManagePageQry.setPgS
閱讀全文
posted @ 2024-01-16 14:43
田坤坤
閱讀(70)
推薦(0)
摘要:
官方文檔地址:https://easyexcel.opensource.alibaba.com/docs/current/主代碼:try { XsxExportTitleVO xsxExportTitleVO = new XsxExportTitleVO(); xsxExportTitleVO.se
閱讀全文
posted @ 2024-01-16 11:09
田坤坤
閱讀(42)
推薦(0)