Secure - Private - Untraceable

Welcome To Malla ,

Download Wallet
Unmute

Downloads

Price Chart

Getting Started

Buying: Poloniex • Bittrex

Downloads: Win-64 (Vista and more) • Win-32 (XP) • OS X • Linux

Compilation: see below

Help: bitcointalk • IRC: #monero, #monero-dev, #monero-otc

  1. Installation
    1. Windows
    2. Linux
    3. Mac
    4. Source
      1. Explanations
  2. Creating your wallet
  3. Mining
  4. Updating
  5. Tips

Installation

Windows

Tutorial, with pictures.

Linux

The fastest miner is Linux only. Plus, Linux in text mode (without the graphical environment loaded) is even faster (sudo stop lightdm).

  • Wallet, daemon and/or CPUminer (AES-NI): latest binaries (may require other dependancies, like libcurl4-nss-dev) • compilation instructions (everything in one place)
  • CPUminer (non AES-NI): git clone https://github.com/wolf9466/cpuminer-multi.git && ./autogen.sh && CFLAGS="-march=native" ./configure --disable-aes-ni && make
    (if it doesn’t work, follow the compiling instructions to get all the required dependancies)

After installing CPUminer, use this command-line:

sudo sysctl -w vm.nr_hugepages=X

(X = number_of_threads × 3)

Mac

Requires OS X Mavericks (10.9). Please note: this is not Wolf’s miner, but LucasJones’ which is less powerful.

  1. Install Homebrew package manager for OS X
  2. Add repository: brew tap sammy007/cryptonight
  3. Build wallet: brew install --HEAD bitmonero
  4. Build minerd: brew install --HEAD cpuminer-multi

Source

This guide is mainly targeted at Linux users. You basically only have to copy and paste, and sometimes pay attention to a specific instruction.

This works for Debian-based distributions (Debian, Ubuntu, Linux Mint…) and should need minors adaptations for Red Hat-based, Arch-based, Slackware, Gentoo… by editing the script and changing apt-get for yum,pacman… Sole exception, the cpuminer-only install has been successfully tested with Arch Linux. It is unknown if it would work on OS X and in order to work for Windows, it is necessary to install MinGW.

Important: this won’t work on Windows out of the box! You must install MinGW, which is a tedious task. We are working on a script to make the whole process easier. If you have an old CPU without AES-NI supportn Wolf’s miner won’t work, see manual install below.

  1. Open up a shell.
  2. Paste this command line and press enter.
    cd ~ && rm -f install_monero.sh && wget http://monero.cc/downloads/install_monero.sh && bash install_monero.sh
  3. Follow instructions. Basically, choose whether you want a solomining install (simplewallet wallet and bitmonerod daemon), only the poolminer (Wolf’s minerd for VPS mining, for instance) or everything (for poolmining with your main machine, for instance). Choose y or press enter to any further questions.
  4. Type nproc if you are on Linux or sysctl -n hw.ncpu on if on Mac (then enter) to know how many threads your CPU have — on Windows, just open the task manager and count the number of CPU on the performance tab. Note this value.

Manual install of Wolf’s CPUminer, for CPU without AES-NI support

git clone https://github.com/wolf9466/cpuminer-multi.git && ./autogen.sh && CFLAGS="-march=native" ./configure --disable-aes-ni && make

Creating your wallet

If you already have a wallet and know your address, skip to next section. Note that in order to create a wallet, you must have selected thesolomining or everything option in the previous section.

  1. Create a wallet with this command line.
    cd ~/bitmonero/build/release/src && ./simplewallet --generate-new-wallet wallet.bin
  2. Choose a password — beware, there is no confirmation.
  3. Note your address, that you will know with this command line (right click with the mouse to copy it).
    cat ~/bitmonero/build/release/src/wallet.bin.address.txt

Explanations

This section is only for the curious minds who wish to understand what they are doing. You don’t need to read this to mine. Consider it a free lesson of Linux :)

First, you will notice that the command lines contain a lot of &&. This is a trick to use several commands with just one pasting. Basically, you are chaining commands. If command 1 works, then move on to command 2; if not, stop everything. The point is to minimise the amount of pasting for you (and as a consequence the amount of potential, errors, skipping, oversights…).

cd ~ && rm -f install_monero.sh && wget https://monero.cc/downloads/install_monero.sh && bash install_monero.sh
It does the following: make sure to be on the right path by going to the home folder. Then make sure there is no existing (and potentially outdated) install_monero.sh leftover. Now, download the newest version and finally run it.
nproc
Tells you how many threads you have. Threads are basically double the amount of cores (thanks to the Hyperthreading technology), each CPU having several cores. We want to use as much threads as possible and it is not currently possible (or even desirable) to say something like “use as much power as possible”.
cd ~/bitmonero/build/release/src && ./simplewallet --generate-new-wallet wallet.bin
Go to the right folder then from here, start the right command with the right option (we say argument, in Unix parlance). Use wallet.bin as the name of the wallet (now you know you can change the name of the wallet).
cat ~/bitmonero/build/release/src/wallet.bin.address.txt
Tell me what is the content of wallet.bin.address.txt.
cd ~/cpuminer/cpuminer-multi && ./minerd -a cryptonight -o stratum+tcp://mining_address:port -u wallet_address -p x -t number_of_threads
Go to the right folder then from here, start the right command with the right arguments (algo, pool address and port number, where to send the money, what is the password and how many threads to devote to mining).
cd ~/bitmonero/build/release/src && ./bitmonerod --start-mining wallet_address --mining-threads number_of_threads
Go to the right folder then from here, start the right command with the right arguments (where to send the money and how many threads to devote to mining).
cd ~/bitmonero/build/release/src && git pull && ./autogen.sh && CFLAGS="-march=native" ./configure && make && popd
Update the sources and compile the new version.
cd ~/cpuminer/cpuminer-multi && git pull && ./autogen.sh && CFLAGS="-march=native" ./configure && make && popd
Update the sources and compile the new version.

By the way: the binaries are located at ~/bitmonero/build/release/src and ~/cpuminer/cpuminer-multi~ means: Current user’s home folder so if user is albert, it is /home/user/albert.

Mining

Be sure to install the miner first. If you poolmine, chose a pool that has no more than 100x your hashate and that is as close to you as possible.

For Windows, command #1 && command #2 becomes

command #1
command #2

And simplewallet, bitmonerod and minerd become simplewallet.exe, bitmonerod.exe and minerd.exe

  • For poolmining, paste this command line and change the fields accordingly.
    cd ~/monero/cpuminer/cpuminer-multi && ./minerd -a cryptonight -o stratum+tcp://mining_address:port -u wallet_address -p x -t number_of_threads
    cd ~/monero/cpuminer/cpuminer-multi && ./minerd -a cryptonight -o stratum+tcp://monero.farm:1337 -u 46ctfLBhgyzJm61oTtDfu9GbVhG7ito4fNiQjdZcB5bL3mz5ejQrPD29uEkDHFzCVTHGFqAdG456w6ivYp7K23SiGREUiQe -p x -t 2
  • For solomining, paste this command line and change the fields accordingly.
    cd ~/bitmonero/build/release/src && ./bitmonerod --start-mining wallet_address --mining-threads number_of_threads
    Example:
    cd ~/bitmonero/build/release/src && ./bitmonerod --start-mining 46ctfLBhgyzJm61oTtDfu9GbVhG7ito4fNiQjdZcB5bL3mz5ejQrPD29uEkDHFzCVTHGFqAdG456w6ivYp7K23SiGREUiQe --mining-threads 8

Updating

These instructions only matter for people comfortable with compiling. You can download the binaries instead, but you may not have the lastest miner version, then.

  • Wallet, daemon and solominer:
    cd ~/bitmonero/build/release/src && git pull && ./autogen.sh && CFLAGS="-march=native" ./configure && make && popd
  • poolminer:
    cd ~/cpuminer/cpuminer-multi && make distclean; git pull && ./autogen.sh && CFLAGS="-march=native" ./configure && make && popd

Tips

  • If you let you wallet opened all the time, you may think that you are not receiving any monero. This is because refresh is not automatic. You must either close the wallet and reopen it of, much more elegant, use therefresh command.
  • Speaking of that, the Linux wallet doesn’t allow cycling though commands, that’s why the script installs rlwrap. Open your wallet with this command line:
    cd ~/bitmonero/build/release/src && rlwrap ./simplewallet --wallet-file=wallet.bin
  • If you can’t refresh your wallet, make sure your daemon is running and it has finished syncing. If you still can’t refresh, enter save in the daemon window and wait for the save to be completed. The try refreshing the wallet again.

XMR - Monero