Thursday 8 November 2018

Why should i use docker? container?

Docker is operating-system-level virtualization also know as containers.

Why should i use docker?

Ans: It's gives you want you want ( literally ). It run all application as an instance.


How to use Docker? ( eg if you want to run httpd on docker)

1. Install Docker on linux or windows box ( Linux preferred )

2. docker pull httpd

3. docker run -p 80:80 -d -v /var/www/html:/usr/local/apache2/htdocs:Z httpd
    (This will mount your local /var/www/html to /usr/local/apache2/htdocs of docker instance)



Other useful commands :

 ls -l /var/lib/docker/
 ls -l /var/lib/docker/containerd/

docker pull centos
docker run -it -d centos
docker container ls
docker commit 4f0b435cdbd7 man-centos
docker kill container_id
docker rm  container_id
docker exec -it [container-id] bash
docker run -p 80:80 -d -v /var/www/html:/usr/local/apache2/htdocs:Z httpd   - :Z

docker run ubuntu:14.04 echo "hola"


Thursday 20 September 2018

Simple Control Panel for webhosting - opensoruce

Simplest way to manage your webhosting/email/SSL

# Create new vm

# Connect to your server as root via SSH
ssh root@your.server

# Download installation script
curl -O http://vestacp.com/pub/vst-install.sh

# Run it
bash vst-install.sh

You will get he admin username and password at the end of installation.

Friday 19 January 2018

Mining Bytecoin(BCN) on raspberypi 2, Ubuntu, Linux

Mining Bytecoin on Linux(ubuntu , raspberypi 2) :

Bytecoin pool : http://bytecoin-pool.org/t/en/

1. git clone https://github.com/tpruvot/cpuminer-multi

2. cd cpuminer-multi

3. ./build.sh ( cpuminer file will be created)

4. ./cpuminer -a cryptonight -o stratum+tcp://bytecoin-pool.org:3333 -u Your_Bytecoin_Adress -p x -t 3


-t 3 = use only 3 core
-u   = Your wallet address (Create wallet address)

Run mining in background :

screen -A -m -d -S mycpumine ./cpuminer -a cryptonight -o stratum+tcp://bytecoin-pool.org:3333 -u Your_Bytecoin_Adress -p x -t 3

Note for Debian/Ubuntu users:

apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++

Note for pi64 users:

 ./configure --disable-assembly CFLAGS="-Ofast -march=native" --with-crypto --with-curl

Raspberry 2 mining (3 core):

Hashrate : 5-6H/s
Estimated earning: 1.19 BCN/day

Wednesday 3 January 2018

Top 12 cryptocurrency to buy in 2018

Top 12 cryptocurrency to buy in 2018

1. Ubiq (UBQ 6.4$) - (Smart contracts, stable than Ethereum, community)
2. Cardano (ADA -0.99$) - (Smart contracts, community)
3. NEM (XEM 1.1$) - (Smart contracts, community)
4. Bytecoin (BCN 0.006145$) - (Cheapest privacy coin, community)
5. Golem (GNT 1$)(super computing)
6. Ripple (XRP 2.5$) -(Fast,Most bank will be using it in future, community)
7. Verge (XVG 0.141010) - (Cheap privacy option coin)
8. Komodo (KMD 9.9$) - (Smart contracts, community)
9. XTRABYTES (XBY 0.801641$) - (STATIC Nodes,security, scalability and decentralization)
10. Stellar (XLM 0.850339$) - (Fast, Reliable, less transaction fee,Cross Borders payment)
11. BitShares (BTS 0.816756$) - (Stable currency, Decentralized Asset Exchange,Dynamic Account Permissions)
12. IOTA (MIOTA 4$) - (Free transaction, blockless distributed ledger)

Price as of 3rd Jan 2018

Note : Buy at your own risk.


Where to buy :

https://poloniex.com
https://cryptopia.co.nz/
https://www.cryptonator.com