- install Req. programs
-
MysqlDB
sudo apt-get install mysql-client mysql-server python-mysqldb python-crypto
-
PostgreSQLDB
sudo apt-get install python2.7 python-crypto postgresql-8.4 python-psycopg2
- Create Database
-
Mysql
mysql -u root -p create database abe; CREATE USER '%USERNAME%'@'localhost' IDENTIFIED BY '%PASSWORD%'; grant all on abe.* to %USERNAME%; quit
-
PostgreSQL
sudo -u postgres createdb abe sudo -u postgres createuser %USERNAME%
Add the following line to /etc/postgresql/*/main/pg_hba.conf:
local abe %USERNAME% ident
Issue:
sudo service postgresql reload
- Install Scrypt Crypto Module
sudo apt-get install python-all-dev
cd litecoin_scrypt
sudo python setup.py install
- Modify some field in abe-bgc.conf
-
MYSQL DB
dbtype MySQLdb connect-args {"user":"%USERNAME%","db":"abe","passwd":"%PASSWORD%"}
(Change to YOUR DB ACCOUNT)
-
PostgreSQL DB
dbtype psycopg2 connect-args {"database":"abe"}
-
Common
default-loader = blkfile upgrade port 12345 host 127.0.0.1 datadir = /home/%USERNAME%/.bitgoldcoin
- Install & Run
sudo python setup.py install
python -m Abe.abe --config abe-bgc.conf --commit-bytes 100000 --no-serve
python -m Abe.abe --config abe-bgc.conf
- Connect from Your Internet Browser
- Service With Nginx Proxy.
-
"apt-get install nginx" or "pkg_add -r nginx"
-
All you need in nginx.conf, if running on localhost, is:
server { listen 80; server_name some.domain.org; location / { proxy_pass http://127.0.0.1:8081; } }
-
Enjoy your Life!!!