官术网_书友最值得收藏!

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Installing Cassandra on your local machine for experimental or development purposes is as easy as downloading and unzipping the tarball (the .tar compressed file)."

A block of code is set as follows:

cqlsh:weblog> INSERT INTO blogs (id, blog_name, author, email, password) VALUES ( blobAsUuid(timeuuidAsBlob(now())), 'Random Ramblings', 'JRR Rowling', 'rowling@yahoo.com', 'someHashed#passwrd');


cqlsh:weblog> SELECT * FROM blogs;


 id           | author      | blog_name        | email             | password

 ------------+-------------+------------------+-------------------+--------------------

  83cec... | JRR Rowling | Random Ramblings | rowling@yahoo.com | someHashed#passwrd



  (1 rows)

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

# Cassandra Node IP=Data Center:Rack
# Data-center 1
10.110.6.30=DC1:RAC1
10.110.6.11=DC1:RAC1
10.110.4.30=DC1:RAC2

# Data-center 2
10.120.8.10=DC2:RAC1
10.120.8.11=DC2:RAC1

# Data-center 3
10.130.1.13=DC3:RAC1
10.130.2.10=DC3:RAC2

# default for unknown nodes
default=DC1:RAC0

Any command-line input or output is written as follows:

# Check if you have Java
$ java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this:

"Choose the Linux x64-rpm.bin version to download in order to install it on RHEL-like systems."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 运城市| 安国市| 郓城县| 集安市| 平泉县| 涞水县| 望谟县| 恩平市| 巴彦县| 尼勒克县| 石嘴山市| 漯河市| 全椒县| 土默特左旗| 孟村| 婺源县| 怀柔区| 水城县| 富阳市| 内江市| 讷河市| 黎川县| 渝中区| 星子县| 五家渠市| 博白县| 西华县| 耿马| 桦南县| 建始县| 江孜县| 中宁县| 若羌县| 屏东县| 建德市| 广昌县| 龙海市| 西平县| 金山区| 荆门市| 尉氏县|