Install minerd on a linux server

root@yourpc:~# mkdir minerd

root@yourpc:~# cd minerd/

root@yourpc:~# apt-get install git

root@yourpc:~/minerd# git clone https://github.com/pooler/cpuminer.git

root@yourpc:~# cd cpuminer/

root@yourpc:~# apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm

root@yourpc:~# apt-get install build-essential

root@yourpc:~# ./autogen.sh

root@yourpc:~# ./configure CFLAGS=”-O3″

root@yourpc:~# make