흔자
반응형
[Linux] 특정한 이름의 프로세스 종료하기
Develop/Linux 2022. 3. 23. 18:47

kill `ps -ef | grep [process name] | grep -v grep | awk '{print $2}'` ps -ef | grep test 현재 실행중인 test라는 이름을 포함한 프로세스를 모두 보여준다. grep -v grep(패턴) : 지정된 패턴과 일치하는 항목을 제거, 1. ps -ef 2. grep 2개의 명령어 중 grep을 제거하기 위함이다. awk {print $2} : awk는 입력 값을 공백 문자로 분리해서 필드로 처리, ps -ef 명령어를 통해 나온 결과에서 PID를 추출한다. `명령어` : 치환 명령어 kill `ps -ef | grep [process name] | grep -v grep | awk '{print $2}'` 는 kill PID 형태로 실행된다.

article thumbnail
[이오스] net_plugin::plugin_startup failed to bind to port 오류 해결 방법
Blockchain/EOS 2022. 3. 22. 11:50

오류 nodeos를 아래 옵션으로 실행한 후에 재시작을 할 경우에 net_plugin::plugin_startup failed to bind to port 'port number' 오류가 발생했다. ./nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --replay-blockchain --hard-replay-blockchain 해결 방법 ps -ef | grep nodeos 로 실행중인 nodeos 포트 번호 확인 가능 kill -9 [포트 번호] 실행 중인 port number kill을 한 후에 nodeos 재실행하면 정상적으로 동작

[이오스] 13 N5boost10wrapexceptISt12system_errorEE: Database dirty flag set 오류 해결 방법
Blockchain/EOS 2022. 3. 22. 10:24

node 테스트를 위해 command로 EOS를 실행하니 Database dirty flag set 오류 발생 ./nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin 오류 warn 2022-03-21T06:33:22.186 nodeos chain_plugin.cpp:1321 plugin_initialize ] 13 N5boost10wrapexceptISt12system_errorEE: Database dirty flag set rethrow Database dirty flag set: {"what":"Database dirty flag set"} nodeos chain_plugin.cpp:1321 pl..

[이오스] Linux에 EOS 개발환경 구축하기
Blockchain/EOS 2022. 3. 21. 17:46

Linux에 EOS 개발환경 구축하기 github EOSIO/eos 소스 다운로드 git clone https://github.com/EOSIO/eos --recursive git submodule update --init --recursive 원본 소스 .sh으로 compile cd eos/scripts/ ./eosio_build.sh 서버 환경에 따라 소요 시간이 다를 수 있다. nodeos 실행 cd /eos/build/programs/nodeos ./nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin node 실행 옵션 -e : producer 투표 없이도 블록을 생성. -p eosio : 현재..

[Linux] cp: omitting directory 오류 해결 방법
Develop/Linux 2022. 3. 21. 15:47

cp: omitting directory cp [복사하고 싶은 파일명] [복사하고싶은 경로] cp copy_dir /home/user/dir # 오류 cp: omitting directory cp 뒤에 -r (recursive) 옵션을 붙여주면 해결된다. cp -r [복사하고 싶은 파일명] [복사하고싶은 경로] cp -r copy_dir /home/user/dir

코인 transaction을 탐색(scan)할 수 있는 사이트
Develop/기타 2022. 3. 18. 11:56

EOS https://eosflare.io/ eosflare.io - EOS Block Explorer EOSFlare reliable and superfast EOS block explorer eosflare.io https://bloks.io/ ETHEREUM https://etherscan.io/ Ethereum (ETH) Blockchain Explorer Etherscan allows you to explore and search the Ethereum blockchain for transactions, addresses, tokens, prices and other activities taking place on Ethereum (ETH) etherscan.io XRP https://xrpsc..

[리플] Linux에서 rippled 빌드하기
Blockchain/Ripple 2022. 3. 3. 15:26

Linux 서버 설치에 대한 가이드(ubuntu, centos) 버전이 다를 경우에 알맞은 패키지관리도구를 사용하여 적절한 종속성을 설치하는 단계가 작동해야 한다. Linux에서 rippled 빌드하기 사전 준비 ubuntu apt-get update apt-get install -y gcc g++ wget git cmake pkg-config libprotoc-dev protobuf-compiler libprotobuf-dev libssl-dev centos7 yum install -y gcc g++ wget git cmake pkg-config libprotoc-dev protobuf-compiler libprotobuf-dev libssl-dev /data/ripple/boost 경로 생성 후에 b..

[리플] CMake를 통해 ripple을 build할 때 발생하는 오류
Blockchain/Ripple 2022. 3. 3. 14:44

오류 -bash: cmake: command not found 해결 방법 cmake 설치 https://cmake.org/download/ 에서 cmake 최신 버전 확인 후 설치(현재 최신 버전 3.22.2) wget http://www.cmake.org/files/v3.22/cmake-3.22.2.tar.gz tar xvf cmake-3.22.2.tar.gz cd cmake-3.22.2 ./booststrap --prefix=/usr/local make make install 오류 # cmake -DCMAKE_BUILD_TYPE=Debug .. -- gch:72377e7bf25c4eaee5174186d2db3c6b4210946f -- Using 2 cores for ExternalProject bui..

[이오스] 서버에서 발생 할 수 있는 오류와 해결 방법
Blockchain/EOS 2022. 2. 28. 15:08

지갑 unlock이 이미 되어있을 경우 Error 3120007: Already unlocked Error Details: Wallet is already unlocked: 지갑을 생성 할 때 staking하는 계정의 key가 import 되어있지 않을 시 Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations Ensure that you have the related private keys inside your wallet and your wallet is unlocked. 해결 방법 cleos wallet import -n [지갑명] 을 통해서 계정의 key를 import해준다. key는 보..

스마트 컨트랙트 compile하고 deploy할 수 있는 사이트
Develop/기타 2022. 2. 25. 11:14

이더리움 Ethereum Remix - Ethereum IDE remix.ethereum.org 이오스 EOS Online Smart Contract Editor | Dev4eos dev4eos.com 트론 TRON 1. SHASTA 테스트넷 TRONSCAN | TRON BlockChain Explorer TRONSCAN is the first blockchain browser in the tron community. It supports multiple login methods and provides a complete browsing and search experience. Experience the tron-ecology in the TRONSCAN blockchain browser.TRONSCAN..

article thumbnail
[Go] 블록체인 만들면서 Go언어 공부하기 #3
Develop/Go 2022. 1. 26. 11:18

저번 포스팅에 이어서 작업 증명(Proof of Work) 알고리즘을 만들어 보도록 하겠다. 작업 증명에 대한 이해가 필요하다면 아래링크 참고 블록체인 이해하기 : 그래픽카드 가격은 왜 올라가는 것일까? 암호화폐 채굴로 인하여 그래픽 카드 가격이 많이 올랐다는 뉴스를 본 적이 있을 것입니다. 그래픽카드 대란, 채굴 전용카드로 막을 수 있을까 게임이나 콘텐츠 제작에 쓰여야 하는 고성능 그래 heun.tistory.com 환경설정, 기본적인 소스 구조는 이전에 작성했던 포스팅을 참고 위 링크를 보면 작업 증명에 대해 간단하게 설명되는데 추가로 설명하자면 작업 증명은 채굴을 하기 위한 알고리즘이라고 생각하면 된다. 그렇다면 암호화폐 채굴이라는 건 무엇을 하는 것일까? 비트코인의 경우 비트코인을 원하는 참가자들..

article thumbnail
블록체인 이해하기 : 그래픽카드 가격은 왜 올라가는 것일까?
Blockchain/기타 2022. 1. 7. 09:56

블록체인 이해하기 : 그래픽카드 가격은 왜 올라가는 것일까? 암호화폐 채굴로 인하여 그래픽 카드 가격이 많이 올랐다는 뉴스를 본 적이 있을 것이다. 그래픽카드 대란, 채굴 전용카드로 막을 수 있을까 게임이나 콘텐츠 제작에 쓰여야 하는 고성능 그래픽카드가 암호화폐 채굴에 동원되면서 품귀 현상과 가격 상승을 부채질하고 있다. 여러 번 업그레이드를 미뤄야 했던 일반 소비자의... zdnet.co.kr '이더리움' 채굴 방식 바뀐다...그래픽카드 수급난 개선될까 이더리움 채굴 방식이 이르면 내년 상반기부터 이더리움 확보 지분에 따라 보상을 받는 '지분 증명' 방식으로 전환된다. 이더리움 재단은 최근 '지분... zdnet.co.kr 다양한 뉴스들을 접하며 '가상화폐를 채굴할 때 그래픽카드가 필요하고 그래픽카드가..

반응형