Pages:
Author

Topic: [ANN][XMR][HOW TO] Install & use Monero on Linux - page 2. (Read 15831 times)

hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Ask for help in IRC #monero

This is quite an old guide.

Thanks!

Yeah, I know! I compiled with latest source code.

   -MZ

I think the latest source needs a few more dependencies. I am saying just in case...

"Dependencies: GCC 4.7.3 or later, CMake 2.8.6 or later, libunbound 1.4.16 or later (note: Unbound is not a dependency, libunbound is), libevent 2.0 or later, libgtest 1.5 or later, and Boost 1.53 or later (except 1.54, more details here). "

AFAIK all installed.

P.S. It is problem of Qt. Do you know how to install bitmonerod only?

   -MZ
legendary
Activity: 1428
Merit: 1001
getmonero.org
Ask for help in IRC #monero

This is quite an old guide.

Thanks!

Yeah, I know! I compiled with latest source code.

   -MZ

I think the latest source needs a few more dependencies. I am saying just in case...

"Dependencies: GCC 4.7.3 or later, CMake 2.8.6 or later, libunbound 1.4.16 or later (note: Unbound is not a dependency, libunbound is), libevent 2.0 or later, libgtest 1.5 or later, and Boost 1.53 or later (except 1.54, more details here). "
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Ask for help in IRC #monero

This is quite an old guide.

Thanks!

Yeah, I know! I compiled with latest source code.

   -MZ
legendary
Activity: 1428
Merit: 1001
getmonero.org
Ask for help in IRC #monero

This is quite an old guide.
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Code:
root@server:~/bitmonero/build/release# make
[  0%] Built target version
[  7%] Built target upnpc-static
[ 49%] Built target unbound
[ 50%] Building C object src/crypto/CMakeFiles/crypto.dir/aesb.c.o
cc1: error: -Werror=maybe-uninitialized: no option -Wmaybe-uninitialized
cc1: error: unrecognized command line option '-std=c11'
cc1: error: unrecognized command line option '-ffat-lto-objects'
make[2]: *** [src/crypto/CMakeFiles/crypto.dir/aesb.c.o] Error 1
make[1]: *** [src/crypto/CMakeFiles/crypto.dir/all] Error 2
make: *** [all] Error 2

Please help.

   -MZ
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Or just use the installation script for Monero

Does it install wolf cpu miner ?

Where can I find a script that install wolf cpu miner with it ?


Don't know if bumping this topic is right... Huh

It will do:

Code:
cd ~
clear
echo "This is the monero installation script. It will install monero with all it's requirements, starting with the latest boost-version, plus CPUMiner"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "[1] INSTALL Monero essentials (wallet + solominer)"
echo "[2] INSTALL Wolf's poolminer"
echo "[3] INSTALL Everything"
echo "[6] UPDATE  Monero essentials (wallet + solominer)"
echo "[7] UPDATE  Wolf's poolminer"
echo "[8] UPDATE  Everything"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"

P.S. Thanks for the guide! It was really helpful when installing on a VPS.

Edit: build-essential install command is two times in the OP and libbz2-dev and -y aren't separated. Smiley


 =snip=

Code:
sudo apt-get install libbz2-dev-y
  -MZ
legendary
Activity: 2142
Merit: 1131
Or just use the installation script for Monero

Does it install wolf cpu miner ?

Where can I find a script that install wolf cpu miner with it ?

member
Activity: 93
Merit: 10
Or just use the installation script for Monero
legendary
Activity: 2142
Merit: 1131
 
Updated

The very basic to use Monero on Linux.
It's a good start.

Installation

All-in-one installation script (may not work if the script is not updated) :

Code:
cd ~ && rm -f install_monero.sh && wget https://raw.githubusercontent.com/Quanttek/install_monero/master/install_monero.sh && bash install_monero.sh

If it doesn't work then :

Install some stuff you'll probably need

Code:
sudo aptitude install git cmake libboost-all-dev libssl-dev libevent-dev libdb++-dev


Install Monero the normal way (should always work)

Code:
cd
git clone https://github.com/monero-project/bitmonero.git
cd ../bitmonero && make


Remove Monero if needed (don't do that now)
Code:
cd
rm -r bitmonero

Create the blockchain folder and download the blockchain
Code:
cd
mkdir ~/.bitmonero
cd ~/.bitmonero
wget http://downloads.getmonero.org/blockchain/linux/blockchain.bin

Remove the Blockchain if needed (don't do that now)
Code:
cd
rm -r ~/.bitmonero


Use Monero

Run monero daemon

Code:
cd bitmonero/build/release/bin/ && ./bitmonerod

Run the wallet

Code:
cd bitmonero/build/release/bin/ && ./simplewallet
You cannot open two things at the same time in the same session, learn to use tmux to open bitmonerod + simplewallet simultaneously

Use tmux

Open a new tmux session to have multiple things running
Code:
tmux
Detach the current tmux session to go to an other one without interrupting the process
   press Ctrl + b
   then d
List all tmux sessions
Code:
tmux list-sessions
Open a tmux session
Code:
tmux attach -t 0
Open an other tmux session if they are two
Code:
tmux attach -t 1
Kill a tmux session
Code:
tmux kill-session -t 0

Other stuff

To be continued...
If you appreciate the tutorial, come and mine on monero.crypto-pool.fr
Pages:
Jump to: