리눅스에서 실시간 로그를 확인 할때
tail -f log.txt
윈도우에서 실시간 로그를 확일 할때
Get-Content log.txt -Tail 100 -Wait -Encoding UTF8
'Server > Windows' 카테고리의 다른 글
bitvise - windows 터널링 (0) | 2023.03.29 |
---|---|
bitvise - windows 터널링 (0) | 2023.03.29 |
리눅스에서 실시간 로그를 확인 할때
tail -f log.txt
윈도우에서 실시간 로그를 확일 할때
Get-Content log.txt -Tail 100 -Wait -Encoding UTF8
bitvise - windows 터널링 (0) | 2023.03.29 |
---|---|
bitvise - windows 터널링 (0) | 2023.03.29 |
토렌트를 vpn을 결합해서 구동할수 있다.
도커 이미지는 haugene/transmission-openvpn
vpn은 이전 구매한 VPNunlimited
내가 구매한 VPNunlimited (lift time)
KEEPSOLID Company - Productivity & Security Solutions
KeepSolid provides top-notch ✔️productivity and ✔️privacy solutions used by millions globally 🌍Ensure online security and simplify business and everyday routines with us!
www.keepsolid.com
여기서 VPN 정보 셋팅
셋팅 후 ovpn 설정파일이 다운로드 된다.
dfjkdfjklfdijfff_ca-tr_openvpn.ovpn
docker-compose.yml로 transmission-openvpn 구동
version: '2'
services:
transmission:
image: haugene/transmission-openvpn
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
restart: always
ports:
- "9091:9091"
volumes:
- ./data/:/data # where transmission will store the data
- ./config/:/config # where transmission-home is stored
- ./openvpn/:/etc/openvpn/custom #다운로드받은 인증서파일 위치
environment:
- TZ=Asia/Seoul
- OPENVPN_PROVIDER=CUSTOM
- OPENVPN_CONFIG=D8D8B16A-F982-4ED4-A7CD-5A71723A2086_ca-tr_openvpn #다운로드받은 인증서 파일명 확장자(.ovpn)제외
- OPENVPN_USERNAME=VPN인증서USERNAME
- OPENVPN_PASSWORD=VPN인증서PASSWORD
- OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
- LOCAL_NETWORK=192.168.0.0/24
- TRANSMISSION_RPC_USERNAME=TRANSMISSION유저아이디지정
- TRANSMISSION_RPC_PASSWORD=TRANSMISSION유저암호지정
- TRANSMISSION_RPC_AUTHENTICATION_REQUIRED=true
실제 vpn으로 transmission이 구동되는지 확인
IP/DNS Detect
What is your IP, what is your DNS, check your torrent IP, what informations you send to websites.
ipleak.net
해당 사이트에서 Activate > this Magnet Link 복사
https://nordvpn.com/ko/ip-lookup/ 에서 해당 아이피 확인
docker-compose guacamole + tailscale (0) | 2023.12.21 |
---|---|
APM scouter-server 및 scouter-paper 설치 (0) | 2023.04.06 |
Zabbix - 오픈 소스 모니터링 (Tomcat) (0) | 2023.04.05 |
FeatherWiki (0) | 2023.04.03 |
tiddlyhost - tiddlywiki - FeatherWiki (0) | 2023.04.03 |
# node 다운로드
https://nodejs.org/download/release/latest-v20.x/node-v20.11.1-win-x64.zip
# C:\dev 폴더생성
# node
C:\dev\node-v20.11.1-win-x64 에 압축풀기
# yarn 설치
C:\dev\node-v20.11.1-win-x64\npm install yarn --global
아래 에러 발생시
C:\dev\Veltrix_React_v5.1.0\Admin>C:\dev\node-v20.11.1-win-x64\yarn install
yarn install v1.22.21
[1/4] Resolving packages...
warning Lockfile has incorrect entry for "moment@^2.29.4". Ignoring it.
error Error: certificate has expired
at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket.emit (node:events:518:28)
at TLSSocket._finishInit (node:_tls_wrap:1085:8)
at ssl.onhandshakedone (node:_tls_wrap:871:12)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
ssl/tls 인증서가 만료 https 경고 해제 후 다시 설치
npm config set strict-ssl false
npm install -save react-scripts
npm install -g react-scripts
npm install yarn --global
ssl/tls 인증서가 만료 https 경고 해제 후 다시 설치
yarn config set strict-ssl false
# React 테마 Veltrix_React_v5.1.0 (유료)
구매한 테마가 있어서 그냥 사용. 다른 테마 사용 등 선택사항
https://themeforest.net/item/veltrix-react-js-admin-dashboard-template/32471505
Veltrix - React Js Admin & Dashboard Template
Veltrix is a fully featured premium admin dashboard template built in React Redux Saga with firebase / fake-backend authentication and multi-language supports with developer-friendly code...
themeforest.net
React 테마 Veltrix_React_v5.1.0 아래경로에 복사
C:\dev\Veltrix_React_v5.1.0
#React install
CMD로 cd C:\dev\Veltrix_React_v5.1.0\Admin 이동
C:\dev\Veltrix_React_v5.1.0\Admin>C:\dev\node-v20.11.1-win-x64\yarn install
#React start
C:\dev\Veltrix_React_v5.1.0\Admin>C:\dev\node-v20.11.1-win-x64\yarn start
#http://localhost:3000/
리액스 테마 샘플구동 까지 작성...
계속 업데이트 예정...
#vscode 설치
https://code.visualstudio.com/Download
Download Visual Studio Code - Mac, Linux, Windows
Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications.
code.visualstudio.com
설치파일이아닌 zip파일로 받음 (선택사항)
압축을 풀어준뒤 실행하면 된다.
#vscode spring-boot 플러그인 설치
Extension Pack for Java
Spring Boot extension pack
Lombok Annotations Support for VS Code
#자바 17버전 다운로드 및 설정
Archived OpenJDK GA Releases
Archived OpenJDK General-Availability Releases This page is an archive of previously released builds of the JDK licensed under the GNU General Public License, version 2, with Classpath Exception. WARNING: These older versions of the JDK are provided to he
jdk.java.net
#자바 HOME 설정
file > Preferences > Settings
java:home > Edit in settings.json
#Spring Boot 프로젝트 생성
[Ctrl] + [Shift] + [P]
Spring Initializr 엔터
#vscode 테마변경
Ctrl + K, T
#vscode node 터미널 새창에서 실행이 아닌 기본창에서 실행 설정
#vscode 패키지 구조가 아닌 폴더구조로 보기
(단축키: Ctrl + ,) Compact Folders 검색 > Explorer: Compact Folders 해제
#vscode 폴더 아이콘 표시
파일 아이콘 테마 설정
폴더별 아이콘이 직관적으로 표시 된다.
#rest api 호출을 위한 Thunder Client 설치 (postMan 대신)
#Database manager
#Open in browser (alt + b)
이클립스로 소스 수정 후 SVN commit를 하려는데 아래 에러 발생.
commit -m "" -N 커밋하려는 파일들 ...
URL access forbidden for unknown reason
svn: Commit failed (details follow):
svn: Access to '/svn/프로젝트경로/!svn/me' forbidden
해당 에러는 나의 svn계정에 해당 프로젝트 권한이 없어서 발생한 문제였다.
SVN 담당자에게 해당 프로젝트 SVN 권한 요청 후 정상 commit를 할 수 있었다.
이클립스 화면설계 플러그인 (0) | 2023.08.16 |
---|
guacamole로 원격을 접속시에 tailscale로 묶어있는 VPN으로 원격을 설정하고 싶을때 같이 설치 후
네트워크를 묶어주면된다.
docker-compose.yml
version: "3"
services:
guacamole:
image: flcontainers/guacamole
container_name: guacamole
environment:
TZ: 'Asia/Seoul'
EXTENSIONS: 'auth-totp,auth-ldap'
volumes:
- postgres:/config
- /etc/localtime:/etc/localtime:ro
ports:
- 8787:8080
tailscale:
image: tailscale/tailscale
network_mode: host
privileged: true
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
environment:
- TAILSCALE_AUTH_KEY=key
restart: always
volumes:
postgres:
TAILSCALE_AUTH_KEY=key 발급은
해당 guacamole는 tailscale로 묶어있는 네트워크에 접속할 수 있다.
transmission-openvpn에 VPNunlimited 설정 (1) | 2024.02.18 |
---|---|
APM scouter-server 및 scouter-paper 설치 (0) | 2023.04.06 |
Zabbix - 오픈 소스 모니터링 (Tomcat) (0) | 2023.04.05 |
FeatherWiki (0) | 2023.04.03 |
tiddlyhost - tiddlywiki - FeatherWiki (0) | 2023.04.03 |
spring boot suite 4.20.1.RELEASE 버전에서
navigator (Deprecated)가 제공되지 않는다
그래서 구글링 결과 Project Explorer로 보면 기존 navigator과 같은 모습을 볼 수 있다.
Window > Show View > Project Explorer
View Menu > Filter and Customization...
Content > Resources (해당 리소스만 체크)
navigator와 같은 모습인것을 확인할 수있다.
Resources외에 다른것을 체크하면 폴더생성 및 파일 생성시에 트리 구조가 이상하게 나오거나
리프레쉬가 빠르게 적요안되므로 Resources만 체크 하도록 하자.
Spring boot 3.x 버전 jstl 에러
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Wed Nov 08 13:23:16 KST 2023
There was an unexpected error (type=Internal Server Error, status=500).
The absolute uri: [http://java.sun.com/jsp/jstl/core] cannot be resolved in either web.xml or the jar files deployed with this application
org.apache.jasper.JasperException: The absolute uri: [http://java.sun.com/jsp/jstl/core] cannot be resolved in either web.xml or the jar files deployed with this application
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:294)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTldResourcePath(TagLibraryInfoImpl.java:251)
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:122)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:487)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
at org.apache.jasper.compiler.Parser.parse(Parser.java:138)
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:245)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:106)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:211)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:396)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:372)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:396)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:814)
...
spring boot의 내장 톰켓의 버전이 9.x에서 10.x로 변경되어서 의존성 라이브러리 변경이 필요하다.
spring boot 시작시 로그에서 확인가능
2023-11-08T13:25:59.432+09:00 INFO 404506 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2023-11-08T13:25:59.442+09:00 INFO 404506 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2023-11-08T13:25:59.443+09:00 INFO 404506 --- [ restartedMain] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.5]
gradle에서 라이브러리는 변경한다.
//기존
//implementation 'org.apache.tomcat.embed:tomcat-embed-jasper'
//implementation 'org.springframework.security:spring-security-taglibs'
//변경
implementation 'org.apache.tomcat.embed:tomcat-embed-jasper'
implementation 'jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api'
implementation 'org.glassfish.web:jakarta.servlet.jsp.jstl'
net.sf.json-lib pom.xml에 등록시 에러 (0) | 2023.08.23 |
---|---|
spring mybatis 특정 sql log 숨기기 (0) | 2023.08.04 |
Interceptor에서 request url에 jsp 경로로 여러번 호출될때 (0) | 2023.08.04 |
톰캣 9.0 한글 깨짐 및 logback 한글깨짐 (0) | 2023.07.26 |
spring 전자 정부 파일이미지 (0) | 2023.04.01 |
MicroPython base64 패키지 설치 후
import base64 에서 'NoneType' object has no attribute 'func' 에러 발생
Traceback (most recent call last):
File "<stdin>", line 7, in <module>
File "/lib/base64.py", line 9, in <module>
File "/lib/re.py", line 11, in <module>
AttributeError: 'NoneType' object has no attribute 'func'
/lib 폴더에 같이 설치된 re.py, ffilib.py 파일삭제 후 에러 해결
보이지는 않지만 microPython에 re.py, ffilib.py가 있어서 내장된 패키지 사용해야함
https://github.com/micropython/micropython-lib/issues/395
AttributeError: 'NoneType' object has no attribute 'func' · Issue #395 · micropython/micropython-lib
When I import multiprocessing, there is an error saying that: File "main.py", line 5, in File "multiprocessing.py", line 3, in File "select.py", line 14, in AttributeError: 'NoneType' object has no...
github.com
LILYGO T5 - ESP32 MicroPython - REST API CALL (1) | 2023.10.10 |
---|---|
LILYGO T5 - ESP32 MicroPython 설치 (0) | 2023.10.10 |
LILYGO T5-4.7 Inch S3 E-Paper (0) | 2023.10.10 |