반응형

Content: 윈도우 터미널 항상 관리자 권한으로 여는 방법

Updates: 2024.09.09

 

Windows에서 터미널을 항상 관리자 권한으로 실행하려면 다음 단계를 따르세요:

  1. 시작 메뉴에서 터미널 찾기:
    • 시작 메뉴를 열고 '터미널'을 검색합니다.
    • 검색 결과에서 '터미널' 아이콘을 마우스 오른쪽 버튼으로 클릭합니다.
  2. 설정 열기:
    • 파일 위치가 열리면, '터미널' 바로 가기를 다시 우클릭하고 '속성'을 선택합니다.
  3. 이 프로필을 관리자 권한으로 실행 설정:
    • '설정' 창에서 '기본값' / '이 프로필을 관리자 권한으로 실행' 옵션을 체크하고 '저장'을 누릅니다.

 

외부 공유하실 경우, 출처 반드시 밝혀주시기 바랍니다!

도움이 되셨다면 공감 꾸욱 부탁드립니다👍

반응형
반응형

Update: 2024. 08. 02

Contents: V3 광고 제거 방법

 

AhnLab V3 Lite는 무료 프로그램이기에 저도 지금까지 광고 제거가 유료인 줄 알고 있었습니다.

하지만 무료이고 생각보다 간단하더군요.

 

V3 들어가셔 아래 톱니바퀴 (환경설정)

환경설정 안에서 기타 설정/사용환경/알림 설정/30일간 광고 보지 않기 체크해서 적용 및 확인 눌러주시면 됩니다!

 

 

도움이 되셨다면 공감 꾸욱 눌러주세요👍

반응형
반응형

Contents : MS Word, page mergeformat 오류 해결 방법

호완성이 맞지 않는 파일을 열거나 버전이 맞지 않을 때 주로 발생합니다.

해당 프로그램으로 작성한 파일에서도 같은 오류가 발생할 수 있는데, 일종의 깨짐 현상과 비슷한 것 같습니다.

해당 오류는 페이지 번호가 숫자로 나타나지 않고 필드 코드로 표시되는 오류보다는 다른 표시형태에 가깝습니다.

해결방법은 간단합니다

  1. 상단 파일 - 옵션 - 고급 - 문서 내용 표시
  2. 그 중 "값 대신 필드 코드 표시(F)"를 체크 해제합니다.

빈칸으로 만들고 확인 누르면 바로 적용됩니다.

간단하죠?

도움이 되셨다면 공감 및 많은 관심 부탁드립니다.

궁금한 내용은 댓글 또는 메일로 주시면 됩니다.

본 게시물을 사용하여 무단으로 영리행위를 하는 것을 금합니다.

무단 수정, 무단 배포를 금합니다.

반응형
반응형

상 : 외부 네트워크에서 와이파이 공유기 설정 페이지에 접속하고 싶으신 분

사용 기기 : LG유플러스 공유기(GAPM-7100)

내용 : 와이파이 공유기 DDNS 설정하기

 

이전 포스팅에서 노트북의 WOL 설정을 다루었습니다.

https://klue.tistory.com/2

 

[IT팁] 노트북(gram) WOL 설정하기

내용 : 노트북(무선 LAN을 설정한 PC)에서 한 대의 공유기로 WOL을 설정 = 유선 LAN을 연결하지 않고 노트북을 와이파이만으로 깨우고 싶은 분 = 외부 네트워크에서 노트북을 원격으로 깨우고 싶은

klue.tistory.com

 

 

​이제 공유기의 IP 주소가 바뀌는 일이 발생하여도 공유기 설정 페이지에 접속할 수 있도록 DDNS 설정 방법에 대해 알아보겠습니다.

먼저, 공유기 설정 페이지에 진입합니다.

공유기 설정은 공유기 뒷면 혹은 옆면에 'AP 설정 웹 페이지' 주소를 웹에 입력해서 들어가면 됩니다.

GAPM-7100 기준 http://192.168.219.1 입니다.

초기 패스워드는 옆에 적혀 있습니다. 유플러스 공유기는 접속하면 아래와 같이 나오게 됩니다.

로그인 한 첫 페이지에서, DDNS 설정 옆 톱니바퀴 버튼을 눌러 DDNS 설정 페이지에 들어갑니다.

DDNS는 바로 사용할 수 있는 것이 아닙니다. 개인 DDNS를 설정하기 위해서는 해당 사이트에 가입해서 DDNS 주소를 받아야 합니다. iptime의 경우, 호스트이름.iptime.org 가 DDNS로 무료로 설정된다고 합니다.

아쉽게도 저는 iptime을 사용하고 있지 않으므로, 새로 가입하였습니다. 다른 것은 사용해보지 않았고, 무료로 사용할 수 있는 no-ip.com 에서 가입했습니다.

Free Dynamic DNS - Managed DNS - Managed Email - Domain Registration - No-IP

Currently an Oracle Dyn Remote Access Customer? If Oracle Dyn will no longer be offering your service, is requiring you to move to their cloud service, or if you're simply looking for a change, we have a solution for you. Make the switch! Stay Connected Our Dynamic DNS solution makes it easy to remo...

no-ip.com

30일마다 접속을 해서 갱신해야 한다는 말이 있던데, 만약 접속이 안 된다면 로그인해서 이 계정을 계속 사용하고 있음을 확인해주면 될 것 같습니다.

어렵지 않기에 방법만 간단하게 소개하겠습니다.

no-ip 가입 (gmail로 가입 추천 : 다른 이메일은 등록이 잘 안 되더군요)

→ Activate Account

→ Create Hostname

→ DUC 설치 (계정 페이지 → Dynamics DNS → Dynamic Update Client → Download DUC)

→ DUC 실행 및 로그인 (Username에 이메일을 넣어도 로그인 됩니다. 로그인 안 된다고 당황하지 마세요)

→ DUC 전부 정상적으로 확인되는지 체크 (기다렸다가 3개의 체크표시 뜨면 끝)

설명이 다소 어렵게 느껴진다면 아래 유투브를 참고하면 될 것 같습니다.

https://www.youtube.com/watch?v=1eeMxhpT868 Create Hostname 까지

https://www.youtube.com/watch?v=gNWuYJs3suY&t=1s DUC 설명

가입을 완료했다면, DDNS 설정 페이지에 해당 내용을 넣어주기만 하면 됩니다! 저장 잊지 마세요!

출처 : 본인

본 게시물을 사용하여 무단으로 영리행위를 하는 것을 금합니다.

무단 수정, 무단 배포를 금합니다.

 

반응형
반응형

Update : 24.07.02

1. 다른 shell로 서버의 .vscode-server 폴더 삭제

 

그래도 안 된다면,

2. htop에 있는 vscode 관련 프로세스 kill

 

그래도 안 된다면,

3. 확장의 SSH 삭제 후 재설치

반응형
반응형

Update : 2024.05.04

Content : RunPod에서 원하는 이미지로 GPU Pod 만들기

                 Use the other docker image on RunPod

 

1. 먼저 Deploy 페이지에 들어갑니다 Go to the Deploy page

https://www.runpod.io/console/deploy

 

2. GPU나 CPU를 선택해줍니다 Select GPU or CPU

 

3. Change Template

- 만약 원하는 템플릿이 없을 경우, 원하는 이미지로 템플릿을 생성합니다.

-  If there is not what you want, go Templates.

- 생성하기 위해 아래의 페이지로 이동합니다.

https://www.runpod.io/console/user/templates

nvidia/cuda:12.1.0-devel-ubuntu22.04 example

 

4. 다시 1번부터 동일한 절차를 반복하고 Change Template에서 원하는 템플릿을 선택합니다.

    Return Change Template and select the image which you want

 

5. Edit Template로 돌아와서 반드시 Container Start Command를 추가합니다. 

    Go Edit Template and MUST ADD Container Start Command

 

아래 보여지는 문구가 Container Start Command입니다.

해당 커맨드와 함께 실행하는 까닭은 해당되는 docker image에 ssh가 설치되어 있지 않아 바로 원격 접속하여 사용할 수 없기 때문입니다. 

bash -c 'apt update;DEBIAN_FRONTEND=noninteractive apt-get install openssh-server -y;mkdir -p ~/.ssh;cd $_;chmod 700 ~/.ssh;echo "$PUBLIC_KEY" >> authorized_keys;chmod 700 authorized_keys;service ssh start;sleep infinity'

 

 

6. Container Disk와 Volume Disk의 사이즈를 적절하게 조절합니다.

    Change Container Disk and Volume Disk size

 

- Container disk는 매번 실행할 때마다, 다시 말해 중지하고 다시 실행할 때마다 초기화되는 일시적인 저장소의 크기를 의미합니다. 이는 파이선의 라이브러리와 캐시 등을 포함합니다.

- Volume disk는 at /workspace에 저장된 영구적인 저장소의 크기를 의미합니다.

 

- Container disk is temporal storage including python libs and caches.

- Volume disk is persistant storage which is stored in /workspace.

 

7. Set Overrides하고 모든 것이 잘 설정되었다면, Deploy On-Demand하여 마칩니다.

    Click Set Overrides and Deploy On-Demand if everything is fine.

 

Reference : https://docs.runpod.io/pods/configuration/use-ssh

반응형
반응형

Update : 2024.05.01

Content : RunPod을 사용할 때 scp를 사용하여 로컬 컴퓨터와 파일을 다운로드 / 업로드 하는 방법

 

Reference : https://docs.runpod.io/pods/storage/transfer-files-with-scp

 

Transfer files with SCP | RunPod Documentation

Prerequisites

docs.runpod.io

 

1. RunPod에서 Pod을 먼저 실행해야 합니다. 컨테이너가 실행이 안 되어 있으면 scp 사용이 불가능합니다.

2. RunPod과 ssh로 연결되어 있는 기기에서 cmd나 powershell 등의 터미널을 하나 엽니다.

3. 아래의 스크립트를 상황에 맞추어 터미널에 입력하여 사용합니다.

    터미널에 적여 있는 포트 번호나 도메인 주소는 RunPod 컨테이너에 ssh를 사용하여 연결할 때 썼던 숫자들을 그대로 다시 사용하면 됩니다. 아래 스크립트의 첫 번째 파일 주소는 다운로드를 원하는 파일 주소이며, 두 번쨰 파일 주소는 다운로드를 받을 위치를 의미합니다.

# 로컬 컴퓨터로 파일 다운로드
scp -P PORT_NUM -i ~/.ssh/id_ed25519 root@DOMAIN:FILE_PATH DOWNLOAD_PATH (YOUR COMPUTER PATH)

# 로컬 컴퓨터로 폴더 다운로드
scp -P PORT_NUM -i ~/.ssh/id_ed25519 -r root@DOMAIN:FILE_PATH DOWNLOAD_PATH (YOUR COMPUTER PATH)

# RunPod 컨테이너로 파일 업로드
scp -P PORT_NUM -i ~/.ssh/id_ed25519 FILE_PATH (YOUR COMPUTER PATH) root@DOMAIN:DESTINATION_PATH

# example (로컬 컴퓨터로 파일 다운로드)
scp -P 13111 -i ~/.ssh/id_ed25519 -r root@123.141.122.13:/workspace/TensorRT-LLM/examples/gemma/NSYS1 C:\Users\klue\download
반응형
반응형

update : 2024.04.25

contents :  VS Code에서 SSH를 사용하여 원격 접속하는 방법

 

1. 확장에 Remote-SSH, ssh를 설치해주세요

 

2. Ctrl+Shift+P를 눌러주세요

 

3. 아래 그림에서 보이는 항목 중에서 Remote-SSH: 호스트에 연결... 을 눌러주세요

# Remote-SSH: Get Started with SSH
# 이 항목은 이전에 연결했던 주소로 연결합니다

# Remote-SSH: Add New SSH host
# 이 항목으로 들어가면 ssh 명령어를 사용해서 연결할 수 있어요
ssh ROOT@EXAMPLE.COM -p PORT_NUM

    

     

 

참고자료 : 

https://code.visualstudio.com/docs/remote/ssh#_getting-started

 

Developing on Remote Machines using SSH and Visual Studio Code

Developing on Remote Machines or VMs using Visual Studio Code Remote Development and SSH

code.visualstudio.com

 

 

 

반응형
반응형

update : 2024.04.23

contents : Using SSH on VS Code

 

1. Install Remote-SSH of extenstions

 

2. Press Ctrl+Shift+P

 

3. Connect with SSH

# Remote-SSH: Get Started with SSH
# Connect the previous SSH connection

# Remote-SSH: Add New SSH host
# example
ssh ROOT@EXAMPLE.COM -p PORT_NUM

    

     

 

reference : https://code.visualstudio.com/docs/remote/ssh#_getting-started

 

Developing on Remote Machines using SSH and Visual Studio Code

Developing on Remote Machines or VMs using Visual Studio Code Remote Development and SSH

code.visualstudio.com

 

 

 

반응형
반응형

Update : 2024.04.13

Target Software : Questa*-Intel® FPGA and Starter Editions

of Intel® Quartus® Prime Standard Edition Design Software Version 23.1 for Windows

 

"The English guide is embedded in italics throughout the document."

 

 

Intel® Quartus® Prime Standard Edition Design Software Version 23.1 for Windows

Intel® Quartus® Prime Standard Edition Design Software Version 23.1 B991 for Windows

www.intel.com

이 페이지에서 가장 최신 소프트웨어의 윈도우 버전을 다운로드 할 겁니다.

On this page, you will download the most recent version of the software's Windows version.

 

 

먼저, ModelSim은 Windows 11에서 지원하지 않습니다. 또한 ModelSim은 업데이트가 종료되고 Questa가 새로 릴리즈되었습니다. ModelSim에서 지원하지 않았던 OVM / UVM 용 SystemVerilog 또한 지원한다고 합니다. 그래서 우리는 Individual Files에서 Questa*-Intel® FPGA and Starter Editions를 설치할 겁니다.

 

**설치 경로에 한글이 있으면 안 됩니다!!**

아마 다운 받아서 설치하고 나면, 실행이 안 될 겁니다 (?)

대부분 환경 변수가 설정이 안 되어 있어서 그렇습니다.

환경 변수 설정을 위해서는 먼저 License 데이터가 필요합니다. 아래에 intel에서 제공한 환경변수 설정을 위한 license 발급 방법이 나와 있습니다. 따라가 보도록 하죠.

 

First, ModelSim is not supported on Windows 11. In addition, ModelSim is no longer updated and Questa has been newly released. It also supports SystemVerilog for OVM/UVM, which was not supported by ModelSim. So we're going to install Questa*-Intel® FPGA and Starter Editions in Individual Files.

 

Maybe after installing it like this, it won't work (?).

This is because environment variables are not set.

License data is first required to set environment variables. Below is how to issue licenses for setting environmental variables provided by intel. Let's try to catch up.

 

Follow these steps to generate the license:

 

5.4.3. Questa*-Intel® FPGA Edition and Questa*-Intel® FPGA Starter...

 

www.intel.com

1. Go to the Intel® FPGA Self-Service Licensing Center (SSLC).

  • 이 작업을 위해서는 먼저 Intel에 가입해야 합니다.
  • 가입하고 동일한 메일 계정으로 MS account도 들어가줍니다 (Azure Cloud를 사용해서 그런가 봅니다)
  • You must first subscribe to Intel for this task.
  • Sign up and enter the MS account with the same mail account (maybe it's because I use Azure Cloud)

 

2. Select the Sign up for Evaluation or Free Licenses option on the menu bar.

  • 최신 화면은 아래와 같이 뜨는데, Sign up for Evaluation or No-Cost Licenses를 클릭합니다.
  • The latest screen appears as follows, and click Sign up for Evaluation or No-Cost Licenses.

 

3. In the list of products displayed, select the Questa* Intel® FPGA Starter Edition SW-QUESTA option.

  • Questa* Intel® FPGA Starter를 선택하시면 됩니다. 이 친구의 License가 SW-QUESTA입니다.
  • Choose Questa* Intel® FPGA Starter. His license is SW-QUESTA.

 

4. Under the # of Seats column, enter the number of seats you require.
5. Read the license terms of use.
6. Select the "I have read and agree to the terms of use of this license as listed below" check box.

7. Click Get License. A popup window displays asking you to which computer should the license be assigned. You can use one of the following options:

  • Option 1: Click Create a New Computer if you want to assign the license to a new computer. You must provide information about the required hardware and license type. For information about the license type, refer to Intel® FPGA Software License Types. For information about how to extract information about your computer hardware, refer to Hardware Information Required When You Request a License.
  • Option 2: Click Assign an Existing Computer and search for the computer name/NIC ID that you have created previously in your My Intel® account. To view your list of computers, use of the following options:
  • Visit the License Assistant and select Regenerate License by Primary Computer > View all computers and select.
  • On the SSLC menu bar, click Computers and License Files and select the desired option.

 

  • License를 만들 때 컴퓨터를 등록해야 합니다. 아래와 같은 창인데, 컴퓨터 이름은 계정 이름으로 해주시면 됩니다.
  • License Type은 개인 컴퓨터라면 FIXED를 추천드립니다.
  • Computer Type은 NIC ID를 추천드립니다 (Network Interface Card).
  • Primary Computer ID에 ipconfig /all (명령 프롬포트에 입력하면 나옵니다)로 확인할 수 있는 마지막 문단의 물리적 주소를 - 없이 알파벳과 숫자만 연속해서 입력해주면 됩니다.
  • You must register your computer when you create the license. It's the window below, and the computer name can be the account name.
  • For License Type, FIXED is recommended for personal computers.
  • Computer Type recommends NIC ID (Network Interface Card).
  • In the primary computer ID, enter the physical address of the last paragraph, which can be identified as ipconfig /all, in succession, and only the alphabetic and numeric characters.

8. Click Generate. You receive an email with the license attached to your registered email address.


9. Save the license.dat file on your computer (for example, ~/intelFPGA_pro/LR-xxxxxx_License.dat).

위 과정을 전부 마무리하면 메일로 라이센스 데이터가 나옵니다! 그 파일 다운로드 받아주세요.

When you complete all of the above process, you will get license data by mail! Please download that file.

 

이렇게 라이센스 LR-xxxxxx_License.dat 파일을 Questa 설치를 했던 폴더에 넣고 윈도우에 시스템 환경 변수라고 검색을 하면 시스템 속성\고급\환경 변수가 바로 나옵니다. 먼저 LM_LICENSE_FILE 이름의 시스템 변수가 있는지 먼저 확인해주세요. 그 후에 시스템 변수(S)에 새로 만들기(W)를 하셔서

변수 이름은 LM_LICENSE_FILE

변수 값에는 라이센스 파일 경로를 입력해주면 됩니다.

제 경우에는 이렇습니다

C:\intelFPGA\LR-******_License.dat (*에는 파일 이름 그대로 입력해주세요)

 

환경변수 설정을 다 하고 Questa를 다시 실행해 보면, 아래와 같이 잘 나타나는 것을 확인할 수 있습니다!

 

When you place the license LR-xxxxxx_License.dat file in the folder where Questa was installed and search Windows for System Environment Variables, the System Properties\Advanced\Environment Variables appear immediately. First, please check if there is a system variable named LM_LICENSE_FILE. After that, make a new (W) in the system variable (S).

Variable name is LM_LICENSE_FILE

For variable values, you can enter the license file path.

In my case, it's like this.

C:\intelFPGA\LR-****_License.dat (* enter the file name as it is)

 

If you complete setting the environment variables and run Questa again, you can see that it appears well as below!

 

반응형

+ Recent posts