Mining litecoin with cpuminer

Lets look at how we can mind litecoin with cpuminer and litecoinpool.
1. Go to www.litecoinpool.org website and create an account.
2. Install cpuminer

# apt-get update
# apt-get install libcurl4-openssl-dev git
# apt-get install  build-essential
# apt-get install autotools-dev autoconf
# apt-get install libcurl3 libcurl4-gnutls-dev
# apt-get install automake
# mkdir /downloads
# cd /downloads
# git clone https://github.com/pooler/cpuminer
# cd cpuminer
# ./autogen.sh
# CFLAGS="-march=native" ./configure
# make
# make install

3. Start mining litecoin. Use your default worker credentials.

# minerd -o stratum+tcp://us.litecoinpool.org:3333 -u "myusername" -p "mypassword"