Author

Topic: CentOS makinede altcoin için mining. (Read 2753 times)

aly
full member
Activity: 312
Merit: 103
Beşiktaş.
December 04, 2013, 07:42:21 AM
#22
boost kutuphanelerinde sıkıntı var, su scripti bi denermisiniz, sourcedan derlemeye calısyor;

CentOS 6.4 Final x64
Code:
# Get root access
su -

# Update repositories and install build tools & dependencies
yum update
yum groupinstall "Development Tools"
yum install gmp gmp-devel zlib zlib-devel

#  NOTE: This only works if you have no boost, openssl and db4 isntalled. remove them and clean your system first.

# Get openssl source, compile and install
wget http://www.openssl.org/source/openssl-1.0.1e.tar.gz
tar -xzvf openssl-1.0.1e.tar.gz
cd openssl-1.0.1e
./config --prefix=/usr/local enable-ec enable-ecdh enable-ecdsa
make
make install

# Get boost source, compile and install
cd
wget http://sourceforge.net/projects/boost/files/boost/1.54.0/boost_1_54_0.tar.gz
tar -xzvf boost_1_54_0.tar.gz
cd boost_1_54_0
./bootstrap.sh --prefix=/usr/local
./b2 install --with=all

# Get db4.8 source, compile and install
cd
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
tar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix
../dist/configure --prefix=/usr/local --enable-cxx
make
make install

# Pull the xolominer source from github
cd
git clone https://github.com/thbaumbach/primecoin.git xolominer

# Go to source and compile the code
cd xolominer/src
LDFLAGS="-Wl,-R/usr/local/lib" make -f makefile.unix

# Start mining
./primeminer -pooluser=[xpm-payout-address] -poolip=[choose-your-server] -poolport=1337 -genproclimit=[threads-to-use] -poolpassword=[some-random-password-for-protection]

origin: http://www.peercointalk.org/index.php?topic=798.msg7184#msg7184


saolasın, bunu dün denemiştim fakat olmadı.
Server'ın üzerinde radyo server, torrent server aynı zamanda Plesk kurulu, muhtemelen Plesk engelliyor olabilir.

neyse serverı tamamen torrent servera çevirince yeni bir Centos veya Debiant sürümü yükler en baştan denerim artık. İlgilenen arkadaşlara teşekkürler.
member
Activity: 84
Merit: 10
December 04, 2013, 07:28:24 AM
#21
boost kutuphanelerinde sıkıntı var, su scripti bi denermisiniz, sourcedan derlemeye calısyor;

CentOS 6.4 Final x64
Code:
# Get root access
su -

# Update repositories and install build tools & dependencies
yum update
yum groupinstall "Development Tools"
yum install gmp gmp-devel zlib zlib-devel

#  NOTE: This only works if you have no boost, openssl and db4 isntalled. remove them and clean your system first.

# Get openssl source, compile and install
wget http://www.openssl.org/source/openssl-1.0.1e.tar.gz
tar -xzvf openssl-1.0.1e.tar.gz
cd openssl-1.0.1e
./config --prefix=/usr/local enable-ec enable-ecdh enable-ecdsa
make
make install

# Get boost source, compile and install
cd
wget http://sourceforge.net/projects/boost/files/boost/1.54.0/boost_1_54_0.tar.gz
tar -xzvf boost_1_54_0.tar.gz
cd boost_1_54_0
./bootstrap.sh --prefix=/usr/local
./b2 install --with=all

# Get db4.8 source, compile and install
cd
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
tar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix
../dist/configure --prefix=/usr/local --enable-cxx
make
make install

# Pull the xolominer source from github
cd
git clone https://github.com/thbaumbach/primecoin.git xolominer

# Go to source and compile the code
cd xolominer/src
LDFLAGS="-Wl,-R/usr/local/lib" make -f makefile.unix

# Start mining
./primeminer -pooluser=[xpm-payout-address] -poolip=[choose-your-server] -poolport=1337 -genproclimit=[threads-to-use] -poolpassword=[some-random-password-for-protection]

origin: http://www.peercointalk.org/index.php?topic=798.msg7184#msg7184
aly
full member
Activity: 312
Merit: 103
Beşiktaş.
December 04, 2013, 07:14:43 AM
#20
yum update

deneyin bir kere.

yaptım onu fark etmedi bişe.
legendary
Activity: 1638
Merit: 1329
Stultorum infinitus est numerus
December 04, 2013, 07:12:24 AM
#19
yum update

deneyin bir kere.
aly
full member
Activity: 312
Merit: 103
Beşiktaş.
December 04, 2013, 07:08:31 AM
#18
Code:
yum install  db4-devel boost-devel

kurulumu başarılı bir şekilde tamamladı daha sonra " LDFLAGS="-Wl,-R/usr/local/lib" make -f makefile.unix " yaptım, aşağıdaki çıktıyı verdi.

Code:
[root@b8x src]# LDFLAGS="-Wl,-R/usr/local/lib" make -f makefile.unix
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/db.d -o obj/db.o                                db.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/keystore.d -o obj                               /keystore.o keystore.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/main.d -o obj/mai                               n.o main.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/net.d -o obj/net.                               o net.cpp
net.cpp: In function 'bool BindListenPort(const CService&, std::string&)':
net.cpp:1625: warning: dereferencing pointer 'sockaddr.1419' does break strict-a                               liasing rules
net.cpp:1625: note: initialized from here
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/protocol.d -o obj                               /protocol.o protocol.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/bitcoinrpc.d -o o                               bj/bitcoinrpc.o bitcoinrpc.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/rpcdump.d -o obj/                               rpcdump.o rpcdump.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/rpcnet.d -o obj/r                               pcnet.o rpcnet.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/rpcmining.d -o ob                               j/rpcmining.o rpcmining.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/rpcwallet.d -o ob                               j/rpcwallet.o rpcwallet.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/rpcblockchain.d -                               o obj/rpcblockchain.o rpcblockchain.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/rpcrawtransaction                               .d -o obj/rpcrawtransaction.o rpcrawtransaction.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/script.d -o obj/s                               cript.o script.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/sync.d -o obj/syn                               c.o sync.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/util.d -o obj/uti                               l.o util.cpp
util.cpp: In function 'void ShrinkDebugFile()':
util.cpp:1257: warning: ignoring return value of 'size_t fwrite(const void*, siz                               e_t, size_t, FILE*)', declared with attribute warn_unused_result
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/wallet.d -o obj/w                               allet.o wallet.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/walletdb.d -o obj                               /walletdb.o walletdb.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/hash.d -o obj/has                               h.o hash.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/bloom.d -o obj/bl                               oom.o bloom.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/noui.d -o obj/nou                               i.o noui.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/leveldb.d -o obj/                               leveldb.o leveldb.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/txdb.d -o obj/txd                               b.o txdb.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/prime.d -o obj/pr                               ime.o prime.cpp
prime.cpp: In member function 'bool CSieveOfEratosthenes::Weave()':
prime.cpp:919: warning: 'nFixedMultiplier' may be used uninitialized in this fun                               ction
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpointsync.d                                -o obj/checkpointsync.o checkpointsync.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet                               er  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/ro                               ot/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/                               primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-pro                               tector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/main_poolminer.d                                -o obj/main_poolminer.o main_poolminer.cpp
main_poolminer.cpp:19:31: warning: boost/uuid/sha1.hpp: No such file or director                               y
main_poolminer.cpp: In function 'int main(int, char**)':
main_poolminer.cpp:621: error: 'boost::uuids' has not been declared
main_poolminer.cpp:621: error: expected ';' before 'sha'
main_poolminer.cpp:622: error: 'sha' was not declared in this scope
make: *** [obj/main_poolminer.o] Error 1
member
Activity: 84
Merit: 10
December 04, 2013, 06:32:13 AM
#17
Code:
yum install  db4-devel boost-devel
aly
full member
Activity: 312
Merit: 103
Beşiktaş.
December 04, 2013, 06:26:57 AM
#16
Code:
yum install openssl-devel

openssl 'i update etti, sonra " LDFLAGS="-Wl,-R/usr/local/lib" make -f makefile.unix " yaptım hata verdi bayağı,

Code:
db.cpp:411: error: 'Db' was not declared in this scope
db.cpp:411: error: expected ';' before 'dbA'
db.cpp:412: error: 'dbA' was not declared in this scope
db.cpp:414: error: expected ';' before 'dbB'
db.cpp:415: error: 'dbB' was not declared in this scope
db.cpp: In member function 'void CDBEnv::Flush(bool)':
db.cpp:450: error: 'dbenv' was not declared in this scope
db.cpp:466: error: 'dbenv' was not declared in this scope
db.cpp:466: error: 'DB_ARCH_REMOVE' was not declared in this scope
make: *** [obj/db.o] Error 1
member
Activity: 84
Merit: 10
December 04, 2013, 05:11:25 AM
#15
Code:
yum install openssl-devel
aly
full member
Activity: 312
Merit: 103
Beşiktaş.
December 04, 2013, 04:22:25 AM
#14
tekrar derlemeyi deneyin.

Code:
[root@b8x src]# LDFLAGS="-Wl,-R/usr/local/lib" make -f makefile.unix

bu kod ile derledim ve şöyle bir çıktı aldım

Code:
[root@b8x src]# LDFLAGS="-Wl,-R/usr/local/lib" make -f makefile.unix
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/root/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
In file included from alert.cpp:12:
key.h:16:49: warning: openssl/ec.h: No such file or directory
In file included from alert.cpp:12:
key.h:112: error: ISO C++ forbids declaration of 'EC_KEY' with no type
key.h:112: error: expected ';' before '*' token
make: *** [obj/alert.o] Error 1
member
Activity: 84
Merit: 10
December 04, 2013, 03:50:12 AM
#13
tekrar derlemeyi deneyin.
aly
full member
Activity: 312
Merit: 103
Beşiktaş.
December 04, 2013, 01:41:13 AM
#12
sunu tekrar denermısınız

Code:
yum install gcc-c++

denedim, bir hata almadım.
Code:
Complete!
[root@b8x ~]#
member
Activity: 84
Merit: 10
December 03, 2013, 03:07:36 PM
#11
sunu tekrar denermısınız

Code:
yum install gcc-c++
aly
full member
Activity: 312
Merit: 103
Beşiktaş.
December 03, 2013, 01:11:26 PM
#10
İndirdiğiniz klasöre;
cd src
cd ./src (ikisinide deneyin biri olacaktır.)

Ardından

LDFLAGS="-Wl,-R/usr/local/lib" make -f makefile.unix

Code:
[root@b8x src]# LDFLAGS="-Wl,-R/usr/local/lib" make -f makefile.unix
Building LevelDB ...
make[1]: Entering directory `/root/primecoin/src/leveldb'
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin/src -I/root/primecoin/src/obj -DUSE_IPV6=1 -I/root/primecoin/src/leveldb/include -I/root/primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -c db/builder.cc -o db/builder.o
make[1]: g++: Command not found
make[1]: *** [db/builder.o] Error 127
make[1]: Leaving directory `/root/primecoin/src/leveldb'
make: *** [leveldb/libleveldb.a] Error 2
[root@b8x src]#

şeklinde bir çıktı aldım..
legendary
Activity: 1638
Merit: 1329
Stultorum infinitus est numerus
December 03, 2013, 01:07:27 PM
#9
eger xpm (primecoin) mning yapacaksanız, centos kullanmasam da yardım etmeye calısacagım.

Code:
yum -y install git
yum -y install gcc-c++ m4 openssl-devel db4-devel boost-devel wget ntp

yapın lutfen

sonrada

Code:
git clone  https://github.com/thbaumbach/primecoin.git .
yapın.

buraya kadar basarılı olursanız, devamını deneyelim.

bu komutları çalıştırdım bir sıkıntı olmadı, devam edebiliriz (:
İndirdiğiniz klasöre;
cd src
cd ./src (ikisinide deneyin biri olacaktır.)

Ardından

LDFLAGS="-Wl,-R/usr/local/lib" make -f makefile.unix
aly
full member
Activity: 312
Merit: 103
Beşiktaş.
December 03, 2013, 12:48:17 PM
#8
eger xpm (primecoin) mning yapacaksanız, centos kullanmasam da yardım etmeye calısacagım.

Code:
yum -y install git
yum -y install gcc-c++ m4 openssl-devel db4-devel boost-devel wget ntp

yapın lutfen

sonrada

Code:
git clone  https://github.com/thbaumbach/primecoin.git .
yapın.

buraya kadar basarılı olursanız, devamını deneyelim.

bu komutları çalıştırdım bir sıkıntı olmadı, devam edebiliriz (:
member
Activity: 84
Merit: 10
December 03, 2013, 10:59:34 AM
#7
eger xpm (primecoin) mning yapacaksanız, centos kullanmasam da yardım etmeye calısacagım.

Code:
yum -y install git
yum -y install gcc-c++ m4 openssl-devel db4-devel boost-devel wget ntp

yapın lutfen

sonrada

Code:
git clone  https://github.com/thbaumbach/primecoin.git .
yapın.

buraya kadar basarılı olursanız, devamını deneyelim.
sr. member
Activity: 252
Merit: 251
December 03, 2013, 10:10:53 AM
#6
Yabanci kaynaktan copy paste dir

fakat bu kodlar içinde pool olayı nasıl oluyor acaba?

Code:
mkdir -p .primecoin
echo 'server=1
gen=1
rpcallowip=127.0.0.1
rpcuser=primecoinrpc
rpcpassword=SOME_SECURE_PASSWORD

en sonda şöyle birşeyler yazmış ama nedir onlar?

okumadan copy paste ettim benim hatam,

solo mining anlatilmis orada.
aly
full member
Activity: 312
Merit: 103
Beşiktaş.
December 03, 2013, 10:08:53 AM
#5
Yabanci kaynaktan copy paste dir

fakat bu kodlar içinde pool olayı nasıl oluyor acaba?

Code:
mkdir -p .primecoin
echo 'server=1
gen=1
rpcallowip=127.0.0.1
rpcuser=primecoinrpc
rpcpassword=SOME_SECURE_PASSWORD

en sonda şöyle birşeyler yazmış ama nedir onlar?
aly
full member
Activity: 312
Merit: 103
Beşiktaş.
December 03, 2013, 09:27:46 AM
#4
eyvallah saolasın, bunu da evde bir deneyeyim.
sr. member
Activity: 252
Merit: 251
December 03, 2013, 07:20:39 AM
#3
Yabanci kaynaktan copy paste dir
kanagin orjinali  :  http://www.primecoiner.com/centos-auto-install-servers/


Want to find out how to setup CENTOS Servers on Auto Pilot to start Primecoin XPM mining? Perfect, here is instructions on this page to get started.

Steps to copy the shell script:
1) Open a file for writing

Code:
vi build-primecoind-centos.sh

2) Press ‘i’ to enter edit mode, and paste the large snippet below:

Code:
#!/bin/sh

echo 'NOTICE: Switching to /root directory…'
cd /root

echo 'NOTICE: Installing dependencies via yum…'
yum -y install gcc-c++ m4 openssl-devel db4-devel boost-devel wget git ntp
yum -y groupinstall "Development Tools"

echo 'Configuring and starting NTPd...'
chkconfig ntpd on
ntpdate 0.pool.ntp.org
service ntpd start

echo 'NOTICE: Clearing work environment…'
rm -rf gmp-5.1.2.tar.bz2 gmp-5.1.2
rm -rf openssl-1.0.1e.tar.gz openssl-1.0.1e
rm -rf primecoin-0.1.1-hp8.tar.bz2 primecoin-0.1.1-hp8
rm -rf miniupnpc-1.6.20120509.tar.gz

echo 'NOTICE: Downloading OpenSSL 1.0.1e...'
wget ftp://ftp.pca.dfn.de/pub/tools/net/openssl/source/openssl-1.0.1e.tar.gz
tar xzvf openssl-1.0.1e.tar.gz
cd openssl-1.0.1e
echo 'NOTICE: Configuring OpenSSL 1.0.1e...'
./config shared --prefix=/usr/local --libdir=lib
echo 'NOTICE: Compiling OpenSSL 1.0.1e...'
make
echo 'NOTICE: Installing OpenSSL 1.0.1e…'
make install

cd /root
echo 'NOTICE: Downloading GMP 5.1.2…'
wget http://mirrors.kernel.org/gnu/gmp/gmp-5.1.2.tar.bz2
tar xjvf gmp-5.1.2.tar.bz2
cd gmp-5.1.2
echo 'NOTICE: Configuring GMP 5.1.2…'
./configure --enable-cxx
echo 'NOTICE: Compiling GMP 5.1.2…'
make
echo 'NOTICE: Installing GMP 5.1.2…'
make install

cd /root
echo 'NOTICE: Downloading miniupnpc 1.6.2…'
wget http://miniupnp.tuxfamily.org/files/download.php?file=miniupnpc-1.6.20120509.tar.gz -O  miniupnpc-1.6.20120509.tar.gz
tar xzvf miniupnpc-1.6.20120509.tar.gz
cd miniupnpc-1.6.20120509
echo 'NOTICE: Compiling miniupnpc 1.6.2…'
make
echo 'NOTICE: Installing miniupnpc 1.6.2…'
INSTALLPREFIX=/usr/local make install

cd /root
echo 'NOTICE: Downloading XPM -hp8…'
wget http://sourceforge.net/projects/primecoin-hp/files/0.1.1-hp8/primecoin-0.1.1-hp8.tar.bz2/download -O primecoin-0.1.1-hp8.tar.bz2
tar xjvf primecoin-0.1.1-hp8.tar.bz2
cd primecoin-0.1.1-hp8/src
sed -i -e 's/$(OPENSSL_INCLUDE_PATH))/$(OPENSSL_INCLUDE_PATH) \/usr\/local\/include)/' makefile.unix
sed -i -e 's/$(OPENSSL_LIB_PATH))/$(OPENSSL_LIB_PATH) \/usr\/local\/lib)/' makefile.unix
sed -i -e 's/$(LDHARDENING) $(LDFLAGS)/$(LDHARDENING) -Wl,-rpath,\/usr\/local\/lib $(LDFLAGS)/' makefile.unix
echo 'NOTICE: Compiling XPM -hp8…'
make -f makefile.unix BOOST_LIB_SUFFIX=-mt
echo 'NOTICE: Installing XPM -hp8…'
strip primecoind
cp -f primecoind /usr/local/bin/

cd /root
echo 'NOTICE: Writing configuration for XPM -hp8…'
mkdir -p .primecoin
echo 'server=1
gen=1
rpcallowip=127.0.0.1
rpcuser=primecoinrpc
rpcpassword=SOME_SECURE_PASSWORD
sievesize=1000000' > .primecoin/primecoin.conf
sed -i -e "s/SOME_SECURE_PASSWORD/`< /dev/urandom tr -cd '[:alnum:]' | head -c32`/" .primecoin/primecoin.conf

echo 'NOTICE: Finished'

3) Save and exit Vim by pressing ESC, then typing ‘:x’ (without quotes) and pressing Enter.

4) set the shell script as executable, and run it (as root).

Code:
chmod +x build-primecoind-centos.sh
./build-primecoind-centos.sh
newbie
Activity: 56
Merit: 0
December 03, 2013, 07:17:58 AM
#2
Bende bu vps de mining yapmaya çalışıyorum fakat dediğin gibi çok yüzeysel anlatılmış.
aly
full member
Activity: 312
Merit: 103
Beşiktaş.
December 03, 2013, 07:05:07 AM
#1
Burada birçok mining işlemi yapılıyor/anlatılıyor, bir çoğunu denemeye çalıştım fakat başarılı olamadım. Özetle, benim atıl duran bir sunucum var ve üzerinde CentOS kurulu bu sunucu ile altcoin mining işlemi yapmak istiyorum, yapabilir miyim? Yapan bir arkadaş varsa yardımcı olursa çok memnun olurum. Mining işini bir türlü anlayamadım, bu forum dahil bir çok yerde okudum fakat saolsun anlatan arkadaşlar çok yüzeysel anlatmış yada bana öyle geldi.

Mining olayı Centos makinede nasıl yapılır bir arkadaş en başından detaylı bir şekilde anlatırsa bu benim gibi bu konuyu merak edecek arkadaşlara çok fayda sağlayacaktır.
Jump to: