Β | nodeos | keosd |
---|---|---|
κΈ°λ³Έ μμΉ | (ν)/.local/share/eosio/nodeos/ | (ν)/eosio-wallet/ |
λ°μ΄ν° μμΉ | (κΈ°λ³Έ μμΉ)/data/ | (κΈ°λ³Έ μμΉ) |
μ€μ νμΌ | (κΈ°λ³Έ μμΉ)/config/config.ini | (κΈ°λ³Έ μμΉ)/config.ini |
μ λ€μμ€ νμΌ Β | (κΈ°λ³Έ μμΉ)/config/genesis.json | |
κΈ°λ³Έ ν¬νΈ | 8888 | 8900 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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