본문 바로가기

ops117

[other] npm 으로 yarn 설치하기 cmd를 관리자 권한으로 실행    npm install --global yarn 을입력해 주면은 된다. 2024. 10. 7.
[github] 로컬 리포지터리를 github에 푸쉬하기 https://docs.github.com/en/migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github Adding locally hosted code to GitHub - GitHub DocsIf your code is stored locally on your computer and is tracked by Git or not tracked by any version control system (VCS), you can import the code to GitHub using GitHub CLI or Git commands.docs.github.com 2024. 10. 7.
[other] ruby, rails 설치하기 https://rubyinstaller.org/ RubyInstaller for WindowsIs RubyInstaller for you? RubyInstaller is the easiest and most widely-used Ruby environment on Windows. And Ruby is a great language for beginners as well as professionals. It’s suitable for small scripts as well as large applications. RubyInstaller comrubyinstaller.org위의 링크에서 ruby 다운로드  파일을 실행해서 설치  finish를 누르면 위와 같은 터미널이 열리고,원하는 옵션을 선택  위와 같.. 2024. 10. 6.
[other] linux에 go 설치하기 터미널에서 위의 명령어를 입력하면은 에러가 발생   "--classic" 옵션을 추가해서 입력하여 설치   go의 버전이 정상적으로 확인이 된다.   go 명령어가 정상적으로 실행된다. 2024. 10. 3.
[docker] local 컴퓨터 비보안 레지스트리 등록하기 설정의 Docker Engine 탭에서  1. "insecure-registries":["registry.local:5000"]을 추가2. Apply & restart 클릭   docker info 명령어로  registry.local:5001이 정상적으로 등록된것을 확인할수 있다.  local registry로 이미지 푸쉬 성공  ps. /etc/hosts의 맨 아래에 위와 같이127.0.0.1 registry.local 을 추가해 주어서도메인 명으로 사용할수 있도록 하였다. 2024. 8. 31.
[other] Cisco DevNet으로 postman으로 요청 보내기 이렇게 요청을 보내면은  token을 보내준다. 전송 받은 토큰의 값만을 복사해서Headers에 X-Auth-Token를 key로토큰의 값을 value로 입력해서 get 요청을 보내면특정 장비?의 정보를 확인할수 있다고 한다. 2024. 8. 15.
[linux] ubnutu에 nameserver 설치하기 https://ubuntu.com/server/docs/domain-name-service-dns https://ubuntu.com/server/docs/domain-name-service-dns ubuntu.com 2024. 8. 4.
[docker] permission denied while trying to connect to the docker damon docket at unix:///var/run/docker.sock: docker images 명령 실행시 권한이 없다는 경고 발생  docker 정보 확인  ubuntu유저는 docker 그룹에 속해 있지 않다. ubuntu 유저를 도커 유저에 속하게 해준다.  ubuntu유저가 docker 그룹에 속하게 되었다.  병경사항을 적용하기 위해서ubuntu 계정에서 로그아웃한 후로그인  sudo 명령어를 사용하지 않아도 docker images 명령어를 사용할 수 있다. 2024. 7. 31.
[other] wireshark permission 관련 문제 해결하기 와이어 샤크 실행  현재 강조되어 있는 부분 선택   권한이 거부 되었다고 한다.   무언가 잘못된듯 하다  터미널에서 실행  자식 프로세스에서 문제가 발생했다는 내용인듯 하다   터미널에서도 같은 내용의 문구가 출력되었다.   superprivilege 로 실행    실행이 정상적으로 된다. -> 현재 강조되어있는 네트워크 카드 선택   정상적으로 트래픽을 모니터링 할 수 있다.  ps. 근데 왜 gateway라우터에서 중국 에서 ARP  패킷을 보내는 건지는 모르겠다. ... 2024. 7. 31.