In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Without saying much, go straight to the detailed steps:
First of all, you have to have a WindowAzure account.
Create a virtual machine for Linux, this time we use a machine from CentOS6.5 A4
Select the standard image from the library.
Download the PuTTY tool from Baidu and open PuTTY
4. Enter the public network IP address of the newly created machine in PuTTY, so how to find the IP address of the newly created machine (public network)?
Go to the main page, click on the virtual machine, and select the machine just now.
Click on the dashboard, the middle right-hand side is the public network IP ~ write it down and enter it into the PuTTY, and then click "OPEN".
5Magic putty starts to connect to your virtual machine. Enter your user name and password. Just enter it directly.
6. The login is successful.
The first thing is to go to azure portal and mount the disk, and then format the disk. I won't demonstrate formatting the disk here.
Type in the command sudo wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz
Tar xvfzunixbench-5.1.2.tar.gz
Cd unixbench-5.1.2
7, type in the vi test.sh new text document. Type sudo sh test.sh to create a new text document in the virtual machine.
8. After the establishment is successful, it is the last step.
Directly tap in
#! / bin/bash
Yum install-y perl-Time-HiRes # for centos 6.5
Yum install-y gccyum-plugin-priorities git
Yum install-y http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
Git clone https://github.com/kdlucas/byte-unixbench.git
Cd byte-unixbench/UnixBench/
Make
. / Run | tee.. /.. / UnixBench.txt
Cd.. /..
Yum install-y fio
Fio-filename=/dev/sdc1-- direct=1--rw=read-- ioengine=psync-- size=100%-- bs=1024k-- runtime=30--group_reporting-- name=read | tee io-throughput-read.txt
Fio-filename=/dev/sdc1-- direct=1--rw=write-- ioengine=psync-- size=100%-- bs=1024k-- runtime=30--group_reporting-- name=write | tee io-throughput-write.txt
Fio-- filename=/dev/sdc1-- direct=1--ioengine=libaio-- iodepth=32-- thread-- numjobs=1-- rw=randread-- bs=4k--size=100%-runtime=30s-- group_reporting-- name=randread | teeio-random-read.txt
Fio-- filename=/dev/sdc1-- direct=1--ioengine=libaio-- iodepth=32-- thread-- numjobs=1-- rw=randwrite-- bs=4k--size=100%-runtime=30s-- group_reporting-- name=randwrite | teeio-random-write.txt
It was followed by a long wait
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.