nodeos | keosd | |
---|---|---|
기본 위치 | (홈)/.local/share/eosio/nodeos/ | (홈)/eosio-wallet/ |
데이터 위치 | (기본 위치)/data/ | (기본 위치) |
설정 파일 | (기본 위치)/config/config.ini | (기본 위치)/config.ini |
제네시스 파일 | (기본 위치)/config/genesis.json | |
기본 포트 | 8888 | 8900 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NODEOS_ROOT_DIR=/root/eos_data/nodeos | |
CONFIG_DIR=/root/eos_data/nodeos/config | |
DATA_DIR=/root/eos_data/nodeos/data | |
LOG_DIR=/root/eos_data/nodeos/log | |
## WALLET DIR 은 config.ini 파일 안의 datadir 로 정의!!! | |
## plugin들도 config.ini 파일 안에 정의!!! | |
## server address 도 config.ini 파일 안에 정의!!! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NODEOS_ROOT_DIR=/root/eos_data/nodeos | |
CONFIG_DIR=/root/eos_data/nodeos/config | |
DATA_DIR=/root/eos_data/nodeos/data | |
LOG_DIR=/root/eos_data/nodeos/log | |
## WALLET DIR 은 config.ini 파일 안의 datadir 로 정의!!! | |
## plugin들도 config.ini 파일 안에 정의!!! | |
## server address 도 config.ini 파일 안에 정의!!! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./cleos.sh push action eosio updateauth '{"account": "eosio", "permission": "owner", "parent": "", "auth": {"threshold": 1, "keys": [], "waits": [], "accounts": [{"weight": 1, "permission": {"actor": "eosio.prods", "permission": "active"}}]}}' -p eosio@owner | |
./cleos.sh push action eosio updateauth '{"account": "eosio", "permission": "active", "parent": "owner", "auth": {"threshold": 1, "keys": [], "waits": [], "accounts": [{"weight": 1, "permission": {"actor": "eosio.prods", "permission": "active"}}]}}' -p eosio@active | |
./cleos.sh push action eosio updateauth '{"account": "eosio.bpay", "permission": "owner", "parent": "", "auth": { "threshold": 1, "keys": [], "waits": [], "accounts": [{ "weight": 1, "permission": {"actor": "eosio", "permission": "active"} }] } } ' -p eosio.bpay@owner | |
./cleos.sh push action eosio updateauth '{"account": "eosio.bpay", "permission": "active", "parent": "owner", "auth": { "threshold": 1, "keys": [], "waits": [], "accounts": [{ "weight": 1, "permission": {"actor": "eosio", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
device_name="Logitech M705" | |
prop_name="Natural Scrolling Enabled" | |
device_number=$( xinput | grep "${device_name}" | awk -F '\t' '{ print $2 }' | awk -F '=' '{ print $2 }' | tr -d '[:blank:]' ) | |
echo "device number is $device_number" | |
prop_number=$( xinput list-props $device_number | grep "${prop_name}" | head -n 1 | sed 's/.*(\(.*\)).*/\1/' ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"threshold": 2, | |
"keys": [], | |
"accounts": [ | |
{ | |
"permission": { | |
"actor": "grandlion111", | |
"permission": "active" | |
}, | |
"weight": 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./cleos.sh multisig propose givemoney '[{"actor": "grandlion111", "permission": "active"},{"actor": "grandlion112", "permission":"active"}]' '[{"actor": "babylion1234", "permission": "active"}]' eosio.token transfer '{"from":"babylion1234", "to":"lazylion1234", "quantity":"25.0000 EOS", "memo":"We love you"}' -p grandlion111@active |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" no VI compatible mode | |
set nocompatible | |
" indentation | |
set autoindent | |
filetype plugin indent on | |
" numbers to be saved commands, search patterns | |
set history=100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Assume you are ROOT! | |
vim /etc/ssh/sshd_config | |
# ClientAliveInterval 300 | |
# ClientAliveCountMax 6 | |
service ssh status | |
service ssh restart | |
vim ~/.bashrc | |
# HISTSIZE=-1 (수정) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 2TiB 이상의 파티션은 기존 MBR 방식의 파티션테이블에선 인식을 못함. (fdisk에서 지원하는 방식) | |
# 따라서, GPT 방식 파티션테이블을 생성해줘야하기 때문에 parted 유틸리티를 사용해야 함 | |
# 디스크 연결 | |
# 디스크, 파티션 확인 | |
fdisk -l | |
# 디스크 정보 확인 (MBR or GPT) | |
parted /dev/sdb print |
OlderNewer