OS 12

[OS/macOS] WARN[0486] [hostagent] guest agent events closed unexpectedly error="rpc error: code = Unavailable desc = connection error: desc ...

// LIMA 1.0.1 업그레이드 후 에러 떴던 것 같음.// limactl create vm 후 limactl start 수행 중 에러 뜸.// INFO[0486] [hostagent] Forwarding "/run/lima-guestagent.sock" (guest) to "/your_lima_vm_directory/ga.sock" (host)// WARN[0486] [hostagent] guest agent events closed unexpectedly  error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial unix /your_lima_vm_directory..

OS/macOS 2024.12.24

[OS/macOS] FATA[0000] sudoers file "/private/etc/sudoers.d/lima" is out of sync and must be regenerated...

// socket_vmnet 업그레이드(1.1.4 -> 1.1.7) 후 FATA 에러 뜸.// FATA[0000] sudoers file "/private/etc/sudoers.d/lima" is out of sync and must be regenerated (Hint: run `limactl sudoers >etc_sudoers.d_lima && sudo install -o root etc_sudoers.d_lima "/private/etc/sudoers.d/lima"`)) $ vi /private/etc/sudoers.d/lima%everyone ALL= ...# Manage "bridged" network daemons%everyone ALL=(root:test) NOPASSWD:NOSETENV:..

OS/macOS 2024.12.24

[OS/macOS] FATA[0000] networks.yaml field `paths.socketVMNet` error: file "/opt/homebrew/.../bin/socket_vmnet" is not owned by "root" ...

// LIMA 1.0.1 upgrade 후 FATA 에러 발생 // vm 실행시키려고 하니까 FATA[0000] networks.yaml field `paths.socketVMNet` ... 에러 뜸.$ limactl start defaultINFO[0000] Using the existing instance "default"FATA[0000] networks.yaml field `paths.socketVMNet` error: file "/opt/homebrew/.../bin/socket_vmnet" is not owned by "root" ... // limactl list 확인 // networks의 shared가 정의 안되어있다고 함. (~/.lima/_config/networks.yaml을 못 읽..

OS/macOS 2024.12.24

[OS/macOS] FATA[0000] networks.yaml: "/opt/socket_vmnet/bin/socket_vmnet" (`paths.socketVMNet`) has to be installed

# LIMA 0.22.0 upgrade 후 FATA 에러 발생  -- socket_vmnet 설치$ brew search socket_vmnet==> Formulaesocket_vmnet$ brew install socket_vmnet                     :==> Summary🍺  /opt/homebrew/Cellar/socket_vmnet/1.1.4: 15 files, 125.8KB==> Running `brew cleanup socket_vmnet`...Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). $ vi ~..

OS/macOS 2024.06.08

[OS/macOS] 맥북 덮어도 화면 안꺼지게하는 명령어

/usr/bin or /usr/local/bin 에 실행권한 주고 넣어서 사용 # /bin/bash # pm COMMAND=$1 if [ -z "$COMMAND" ]; then echo "Please input [on/off/stat/show] at first variable"; else if [ "on" == "$COMMAND" ]; then sudo pmset -c disablesleep 0; elif [ "off" == "$COMMAND" ]; then sudo pmset -c disablesleep 1; elif [ "stat" == "$COMMAND" ]; then export SLEEP_STAT=`pmset -g | grep SleepDisabled | awk '{printf $2}'`; if..

OS/macOS 2022.07.07

[OS/macOS] macOS M1 Processor 환경에서 LIMA 를 이용한 oracle 설치

// LIMA (Linux on Mac) 는 qemu기반으로 동작하는 가상화 프로그램이다.-- LIMA is virtual program base on qemu. // 따라서,  qemu의 버전이 최신일 수 록 에러 확률이 적을 것으로 보인다.-- so, recommened as high as prossible, qemu version.// qemu 설치$ brew install qemu // 버전 확인 -- version check// 2022년04월 기준 QEMU emulator version 6.2.0_1 이상의 버전을 갖출 것을 권장하고 있다.-- On M1 macOS, Homebrew's QEMU 6.2.0_1 or later is recommended$ qemu-system-aarch64 --..

OS/macOS 2022.04.01

[Solaris] Oracle 설치 시 필요한 명령어

// solaris v.11.4// root// network interface 상태 확인# ipadm show-if  //  network 설정# ipadm delete-ip net0# ipadm create-ip net0# ipadm create-addr -T static -a local=192.168.0.1/24 net0 // default gw 및 interface 별 상태 확인# netstat -rn // default gw 설정# route -p add default 192.168.0.254 // (tcp,udp) smallest_anon_port, largest_anon_port 설정# ipadm set-prop -p smallest_anon_port=9000 tcp# ipadm set-pr..

OS/Solaris 2021.07.16

[OS/macOS] remote 서버 접근 ip 저장 script (vmgmt)

# vmgmt# 원하는 위치에 script를 놓고 사용한다.SCRIPT_DIR=/usr/local/scriptsCOMMAND=$1HEAD="###########################################\n################# My VM ###################\n###########################################";TAIL="###########################################";TXT_FILE="$SCRIPT_DIR/.remote_vmaddr.txt"SED=/usr/bin/sedSSH=/usr/bin/sshif [ -z $COMMAND ];thenecho 'ERROR : Please input your comman..

OS/macOS 2021.06.18