개발+공부
-
Automatic network detection ifconfig command 네트워킹이 설정되었다면, ifconfig 명령어로 네트워크 인터페이스를 확인할 수 있다. root # ifconfig Testing the network ping을 통해 네트워크를 테스트한다. ping -c 3 www.gentoo.org Automatic network configuration 네트워크가 즉시 실행되지 않는다면, 설치를 해준다. Default: Using net-setup root # net-setup eth0 ifconfig에서 확인한 네트워크 인터페이스의 이름을 eth0 자리에 넣는다. net-setup 이 끝나면, 네트워크 연결은 잘 작동할 것이다. 네트워크 연결을 테스트하고, 결과가 정상이라면 Prep..
[Gentoo] Gentoo Handbook: Installation (1) Configuring the networkAutomatic network detection ifconfig command 네트워킹이 설정되었다면, ifconfig 명령어로 네트워크 인터페이스를 확인할 수 있다. root # ifconfig Testing the network ping을 통해 네트워크를 테스트한다. ping -c 3 www.gentoo.org Automatic network configuration 네트워크가 즉시 실행되지 않는다면, 설치를 해준다. Default: Using net-setup root # net-setup eth0 ifconfig에서 확인한 네트워크 인터페이스의 이름을 eth0 자리에 넣는다. net-setup 이 끝나면, 네트워크 연결은 잘 작동할 것이다. 네트워크 연결을 테스트하고, 결과가 정상이라면 Prep..
2022.03.07 -
Gentoo Linux Handbook을 따라 설치하는 방법을 정리한다. (ㄹㅇ 정리용; 다시 깔 일도 없을 것 같은데, 혹시나) https://wiki.gentoo.org/wiki/Handbook:AMD64 Gentoo AMD64 Handbook - Gentoo Wiki The Gentoo Handbook is an effort to centralize documentation into a coherent handbook. This handbook contains the installation instructions for an Internet-based installation and some additional sections for working with Gentoo's native software..
[Gentoo] Gentoo Handbook: InstallationGentoo Linux Handbook을 따라 설치하는 방법을 정리한다. (ㄹㅇ 정리용; 다시 깔 일도 없을 것 같은데, 혹시나) https://wiki.gentoo.org/wiki/Handbook:AMD64 Gentoo AMD64 Handbook - Gentoo Wiki The Gentoo Handbook is an effort to centralize documentation into a coherent handbook. This handbook contains the installation instructions for an Internet-based installation and some additional sections for working with Gentoo's native software..
2022.03.07 -
안드로이드 앱 개발을 하면서 테스트 도중 다음과 같은 FirebaseException 에러가 발생하면서 OAuth 로그인이 안 되는 현상이 발생했다. An internal error has occurred. [ Failed to generate/retrieve public encryption key for Generic IDP flow. 원인 캐싱 문제가 발생한 듯하다. 해결방법 앱의 로컬 데이터와 캐시를 삭제한다. (설정 > 애플리케이션) 이후, 다시 앱을 실행하면 OAuth Provider가 정상적으로 작동하는 것을 확인할 수 있다. 참고 사이트 https://githubhot.com/index.php/repo/robingenz/capacitor-firebase-authentication/issues..
[Firebase] Error: Failed to generate/retrieve public encryption key for Generic IDP flow.안드로이드 앱 개발을 하면서 테스트 도중 다음과 같은 FirebaseException 에러가 발생하면서 OAuth 로그인이 안 되는 현상이 발생했다. An internal error has occurred. [ Failed to generate/retrieve public encryption key for Generic IDP flow. 원인 캐싱 문제가 발생한 듯하다. 해결방법 앱의 로컬 데이터와 캐시를 삭제한다. (설정 > 애플리케이션) 이후, 다시 앱을 실행하면 OAuth Provider가 정상적으로 작동하는 것을 확인할 수 있다. 참고 사이트 https://githubhot.com/index.php/repo/robingenz/capacitor-firebase-authentication/issues..
2022.03.05 -
로컬 저장소 프로젝트의 변경 사항을 github으로 push하면서 에러가 발생했다. 발생 원인 push하려는 branch가 생성되지 않은 경우 발생한다. 원격 저장소에 올릴 때 명령어가 꼬이는 경우 발생한다. 해결 방법 default branch로 main 이 생성된다. 이 때 생성되지 않은 branch master로 push를 하려는 경우 해당 에러가 발생할 수 있다. 1. main branch로 push하기 : main branch로 push를 하는 방법을 사용할 수 있다. git push -u origin main 2. 새로운 branch 만들기 :아래 명령어를 사용해 master branch를 만들어 사용한다. git checkout -b 'master' git push origin master ..
[git/github] error: src refspec master does not match any로컬 저장소 프로젝트의 변경 사항을 github으로 push하면서 에러가 발생했다. 발생 원인 push하려는 branch가 생성되지 않은 경우 발생한다. 원격 저장소에 올릴 때 명령어가 꼬이는 경우 발생한다. 해결 방법 default branch로 main 이 생성된다. 이 때 생성되지 않은 branch master로 push를 하려는 경우 해당 에러가 발생할 수 있다. 1. main branch로 push하기 : main branch로 push를 하는 방법을 사용할 수 있다. git push -u origin main 2. 새로운 branch 만들기 :아래 명령어를 사용해 master branch를 만들어 사용한다. git checkout -b 'master' git push origin master ..
2022.03.03 -
React.js를 사용해 개발한 웹사이트가 localhost의 npm 또는 yarn에서 정상적으로 작동한다. 따라서 이 사이트를 netlify에 배포하려는 상황이다. 이런! 에러가 발생했다! Page Not Found Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site. React Router를 사용하는 React 사이트를 netlify에 배포하는 경우 다음과 같은 에러가 발생할 수 있다. 왜 Page Not Found가 발생할까? React Router는 client에서 라우팅을 처리한다. 따라서 root가 아닌 페이지(ex: https://yoursite.netlify.com/login 등)에..
[netlify] Page Not Found Error (React Router)React.js를 사용해 개발한 웹사이트가 localhost의 npm 또는 yarn에서 정상적으로 작동한다. 따라서 이 사이트를 netlify에 배포하려는 상황이다. 이런! 에러가 발생했다! Page Not Found Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site. React Router를 사용하는 React 사이트를 netlify에 배포하는 경우 다음과 같은 에러가 발생할 수 있다. 왜 Page Not Found가 발생할까? React Router는 client에서 라우팅을 처리한다. 따라서 root가 아닌 페이지(ex: https://yoursite.netlify.com/login 등)에..
2022.01.03 -
Netlify로 배포 도중 다음과 같은 에러가 발생했다. Treating warnings as errors because process.env.CI = true. Most CI servers set it automatically. 공식 netlify docs에서 해결법을 확인할 수 있었다. https://docs.netlify.com/configure-builds/troubleshooting-tips/#build-fails-on-warning-message 프로젝트마다 설치된 라이브러리들이 warning을 error로 감지할 수 있다고 한다. 해결 방법 굉장히 간단하다. Site settings> Build & deploy> Edit settings Build command의 npm run build를 ..
[Netlify] Treating warnings as errors because process.env.CI = true.Netlify로 배포 도중 다음과 같은 에러가 발생했다. Treating warnings as errors because process.env.CI = true. Most CI servers set it automatically. 공식 netlify docs에서 해결법을 확인할 수 있었다. https://docs.netlify.com/configure-builds/troubleshooting-tips/#build-fails-on-warning-message 프로젝트마다 설치된 라이브러리들이 warning을 error로 감지할 수 있다고 한다. 해결 방법 굉장히 간단하다. Site settings> Build & deploy> Edit settings Build command의 npm run build를 ..
2022.01.03