Blog

XMR – Monero Mining With CPU Windows

      Monero Mining in Windows CPU    Monero is the most highly growing Crypto Currency and as of today, Monero Mining is most profitable. We know everyone wants Bitcoin, but as of today, it’s very difficult to mine and require a very high-end hardware. Those who don’t want to invest and are eager to enter the digital currency should start mining alt coin with investing any cash. Best altcoin available for mining includes Ether , Monero , Dash , Zcash and Many more. Mining crypto currency is a new way to invest your computer power to earn more extra bucks especially for IT professional, or any one who has good knowledge of computer. Are you late in Monero Mining? The answer is NO, crypto currency is still at infant stage as well as the technology behind it. Many coins are available today to mine, this currency is widely used in countries like Japan, the US in India it has its presence in Bangalore and some more tier 1 cities.  Those are new to the concept of crypto currency and have missed the gold rushed of Bitcoin and Ether should start immediately without even minutes of delays.With every delay, the difficulty is increased and the award is reducing.But the good thing is the value of the crypto currency is increasing daily exponentially. Why should you mine monero? In the early days of Bitcoin in  2010, it was easy to mine Bitcoin but it was very costly since the value of Bitcoin was in few dollars. But in the span of few years the value rosed to $4500+, many became millionaires because of early action. It’s your turn start mining Monero or Ether or Zcash. Not it’s not possible to mine Bitcoin without heavy investment in hardware. The best option is to mine other currency.Best altcoin option available with the good return is Monero. It’s your turn start mining Monero or Ether or Zcash. Let’s Get Started Create  a Wallet Creating a monero wallet is mandatory before you start mining. The wallet can be created in many ways, for new user simplest way is to login into https://mymonero.com/  and click on create my wallet. You will be given a private login key, store that somewhere very very securely or write it down in your diary. Once you confirm you will get a wallet address,  something like this49nQhiueP1JgejXxua75QngNprtWMHmhQWxfxwDUAZohWTZuCvFjpuA4xsTB32De8UXjR8j9aM6kEFZuUp6C4Ak42E1fi45 How to Start Monero Mining in Windows CPU. Remember if you have the graphic cards on your system/server/vps/desktop/laptop, please click over here. Mining Monero with GPU – Graphics Card. There are many CPU miners available for Windows few of them include Minerd , ClayMore , YAM Miner  and many more. This tutorial will explain CPU mining using ClayMore CPU Mining Software. First download the software from here Claymore’s CryptoNote Windows CPU Miner v3.5 Right click on the respective file if your system is 32 bit right click on NsCpuCNMiner32 if it is  64 bit click on NsCpuCNMiner64 , In the Property Window set the permission as run as administrator. You can see two bat files over there , pool 32bit.bat and pool 64bit.bat over there. Choose one account to your windows operating system. Open the file and put following content to the file NsCpuCNMiner64.exe -o stratum+tcp://xmrpool.techaroha.com:3333 -u 47HbuFSvpvHfnE11t88jRGZ5TGG6QNv9b9s6c8w5e4kQH7LapjSDhsyMHKFKo9e34m8K32bZSg9JZ6uaKUYGTMfHRbBQxo7 -p x1 -p x1 #here try to understand the command # base command is NsCpuCNMiner64 -o [Pool Address] -u [your wallet address] -p [worker identifier or your email] Wait for Few Seconds Following Screen Will appear and this will ensure that mining has been started. To Start Monero Mining Click Here . Any queries, please contact us over here.

XMR – Monero Mining With CPU in Ubuntu or Linux

                               Monero Mining in Ubuntu       Monero is the most highly growing Crypto Currency and as of today, Monero Mining is most profitable. Mining crypto currency is a new way to invest your computer power to earn more extra bucks especially for IT professional, or any one who has good knowledge of computer. Are you late in Monero Mining? Those are new to the concept of crypto currency and have missed the gold rushed of Bitcoin and Ether should start immediately without even minutes of delays.With every delay, the difficulty is increased and the award is reducing.But the good thing is the value of the crypto currency is increasing daily exponentially. Why should you mine monero? In the early days of Bitcoin in  2010, it was easy to mine Bitcoin but it was very costly since the value of Bitcoin was in few dollars. But in the span of few years the value rosed to $4500+, many became millionaires because of early action. It’s your turn start mining Monero or Ether or Zcash. Let’s Get Started Create  a Wallet Creating a monero wallet is mandatory before you start mining. The wallet can be created in many ways, for new user simplest way is to login into https://mymonero.com/  and click on create my wallet. You will be given a private login key, store that somewhere very very securely or write it down in your diary. Once you confirm you will get a wallet address,  something like this49nQhiueP1JgejXxua75QngNprtWMHmhQWxfxwDUAZohWTZuCvFjpuA4xsTB32De8UXjR8j9aM6kEFZuUp6C4Ak42E1fi45 How to Start Monero Mining in Ubuntu or Any other Linux Machine. Remember if you have the graphic cards on your system/server/vps/desktop/laptop, please click over here. Mining Monero with GPU – Graphics Card. Open the Terminal of Ubuntu Install the necessary packages with the following command sudo apt-get install git libcurl4-openssl-dev build-essential libjansson-dev autotools-dev automake Download CPU miner from git repository git clone https://github.com/hyc/cpuminer-multi Change to the new directory cd cpuminer-multi Do the initial Configuration with below code ./autogen.sh CFLAGS=”-march=native” ./configure make Install the CPU miner sudo make install Execute the Command to start mining (Don’t forget to replace with your wallet address after -u parameter) sudo ./minerd -a cryptonight -o stratum+tcp://xmrpool.techaroha.com:3333 -u 49nQhiueP1JgejXxua75QngNprtWMHmhQWxfxwDUAZohWTZuCvFjpuA4xsTB32De8UXjR8j9aM6kEFZuUp6C4Ak42E1fi45 -p themissingfloor_myproject_55 > output.log 2>&1 & #here try to understand the command # base command is sudo ./minerd -a cryptonight -o [Pool Address] -u [your wallet address] -p [worker identifier or your email] > output.log 2>&1 & # Remeber we have added this ” > output.log 2>&1 &” to make miner runner in backgroup and you don’t have to keep it watching To Start Monero Mining Click Here . Any queries, please contact us over here.

Migrate the SugarCRM to AWS(Amazon Web Service) server (Part II)

Migrate the SugarCRM to AWS(Amazon Web Service) server (Part II) In Part I of Migrate the SugarCRM to AWS server, we have seen how to create an instance of the production server and a database server instance. Continuing the process, now we will see Apache configuration and migrate the SugarCRM database from the old database server to the new database server, which we have created in Part I. So let’s continue the process. Logging Into AWS EC2 instance using WinSCP/Putty We have to gain access to files and folders on the server. So here we are using WinSCP and Putty editor. Generating .ppk file 1. Install WinSCP 2. Install Putty 3. Run WinSCP and Click on New Session. 4. Run WinSCP->Tools->PuttyGen 5. Load .pem file created in Part I. Note: We had created a .pem file in Part I at the end of launching the production server instance. The same file we are using and converting .pem to .ppk file. 6. Set Key Passphrase 7. Confirm Key Passphrase 8. Save private key as .ppk file Logging in Using .ppk file Run WinSCP and select New Session. Select New Site Note: The hostname is the IP address of production server instance, which we created in Part I.  Enter Hostname(host IP) and Username (Ubuntu or see AWS AMI documentation) Click Advanced->Authentication and select private key (.ppk file generated in above steps.) OK->Login Basic setup using Putty Start Putty from WinSCP. Press Ctrl+p to start Putty. Enter key phrase. Fire the following commands on Putty. sudo apt-get update //to update ubuntu to latest sudo apt-get upgrade //to upgrade ubuntu to latest sudo apt-get install tasksel sudo tasksel //install LAMP sudo apt-get install php5.6-curl Upgrade to PHP 5.6 Fire the following commands as per the sequence. When we installed LAMP it provides PHP 5 but if anyone wants to use the latest version of PHP, say PHP5.6, so we add PHP 5.6. sudo apt-get install python-software-properties sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install -y php5.6 // Install PHP 5.6 php -v sudo a2dismod php5 //Disable PHP 5 sudo a2enmod php5.6 //Enable PHP 5.6 sudo apt-get install php5.6-mbstring php5.6-mysql sudo service apache2 restart Copying files from Old Server To AWS We have to compress project folder on the old server using zip command. Go to the old server console and enter the root path of the project (eg. /var/www/html/blogs/techaroha_wordpress/project) and execute the following command. cd /var/www/html/blogs/techaroha_wordpress/project                    //root directory sudo zip -r project.zip project              //make zip file of project folder Now go to the putty console of the new server instance. Here go to the root directory, execute the following commands. cd /var/www/html               //root directory sudo wget http://old_server_ip_address/project.zip         //to download the project.zip from the old server sudo apt install zip               //install zip software on ubuntu sudo unzip project.zip          //unzip project.zip folder Copying Database from Old MySQL server to new MySQL server Dumping Mysql DB on the old server: sudo mysqldump -h MY_SQLHOST_IP -u root -p DBNAME>DBNAME.sql Restoring Mysql DB on the new server: mysql -h MYSQL_HOST -u root -p      //login to MySQL CREATE DATABASE DBNAME;          //create database sudo mysql -h MYSQL_HOST_IP -u root -p DBNAME<DBNAME.sql     //restoring database Note: MYSQL_HOST in above command is the database server instance address which was created in Part I. Configuring Apache Use the following command to create a file. vim /etc/apache2/sites-available/project.conf Add the following configuration in the above file. <VirtualHost *:80> ServerAdmin webmaster@crm.techaroha.com //email id of the admin of respective SugarCRM ServerName crm.techaroha.com //crm web address ServerAlias crm.techaroha.com //crm web address DocumentRoot &nbsp;/var/www/html/blogs/techaroha_wordpress/techaroha/Application/crm //path to crm project folder ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> Restart the Apache server Sudo service apache2 restart Server set up is done with above steps. The last thing to do is domain pointing. Check the IP address of AWS server instance, which was created in Part I of this process. Enter that IP address in domain pointing IP address. If you need more help contact us here.

Migrate the SugarCRM to AWS(Amazon Web Service) server (Part I)

Migrate the SugarCRM to AWS(Amazon Web Service) server (Part I) To Migrate SugarCRM to AWS server first we have to create an instance of the production/test server and a database server instance on AWS server. So we will see the same step by step. Create Basic AWS EC2 On-Demand instances : Login to Amazon console. Go to All Service -> Compute -> ECS2   Click Launch Instance.   Choose AMI (Amazon Machine Image): Here we choose the operating system of the server instance. I choose the Ubuntu Server. Anyone can choose other option as per the needs.   Choose Instance Type: Select the instance type as per requirement. There is the range of types of the instance which varies in the cost as well as in terms of the performance. Here we are selecting t2 micro. You can change the instance type in future.    See Charges using AWS Calculator. Configure Instance: Here we don’t have to do any changes. Simply move to the next step to add storage. If any changes are needed, do it carefully.   Add Storage: Specify the size of storage you need, it will be allocated the respective server instance. Select the volume type > General Purpose (SSD).   Add Tags: Here no need to do anything. Simply move to next step.   Configure Security Group Add Rule for SSH, Mysql, https, HTTP, SMTP, SMTP, etc. Here if you are not sure about the rules just add All Traffic option from the drop down. Later you can alter the security groups as per the needs.   Review & Launch Create Server then Generate and save .pem file. (Keep Backup of .pem file it will be required for logging in to server using WinSCP which we will see in Part II).   Go to EC2 -> Instance Here you can see that new instance is being initialized.   Add Elastic IP: Go to EC2 Dashboard -> Elastic IPs -> Allocate New Address We don’t have to do anything click on Allocate button and it will automatically assign an elastic IP.   Associate Address: After this, we have to associate the address with elastic IP. Select the instance and the click on the Associate address in Actions. Select Instance and Private IP then click Associate. Goto ES2 Dashboard -> Instance Check the status of the new instance. If it is “running“. Basic AWS EC2 instance is ready to use.   Create RDS (Relational Database Server) Instance  Go to Services -> Database -> RDS   Launch a DB Instance   Select Engine As we are using the MySQL Database so select the database engine. Select database engine as per the needs. Select MySQL -> MySQL Community Edition   Do you plan to use this database for production purpose or testing? Select Production or Dev/Test according to requirement. Then Press Next.   Specify DB Details Select DB Instance : db.t2.micro Storage Type: General Purpose (SSD) Allocated Storage: 15 GB (As per the requirement) DB Instance Identifier (MySQL server instance name) Master Username (DB Username eg. root) Master Password (DB password) Confirm Password (DB password) (Note down this password, it will be used in later MySQL configuration.)   Configure Advanced Settings Database Name: (DB name)   Launch DB Instance.  Basic RDS instance is ready to use. Go to RDS -> Instance and you can see that new database instance is being created. After the instance is activated, it is ready to use. Above red marked is the database host address which you will need later, to restore the database.  This is the first part of Migrate SugarCRM to AWS. Further, we have to install LAMP on the production server which includes Linux, Apache, MySQL, PHP. We also have to configure Apache. As well as we have to dump the database of SugarCRM on the new database server. We will see it in Part II. If any queries, please contact us here.