Step one: Construct apps in index.html, pages, shellStep two: In the shell controller JS code in the OnInit method Addcontent (APP)
First Step code:
Sap.ui.localResources ("mobile");
var app = new Sap.m.app ({initialpage:
Hbase is a distributed, column-oriented, open-source database that is built on Google's bigtable theory and based on the Hadoop HDFs file system. HBase differs from a generic relational database (RDBMS). is a database that is suitable for
Preface
Pre-installation requirements, using Hadoop, basically do not need to change anything:
1. Java Environment
2. Hadoop (HBase-based HDFs)
3, zookeeper (I use the independent zookeeper here, because previously used has been installed, of
In what's a shell and what is Bash, it explains what the shell is, and then see what features it provides:1. Interoperable, and non-interactive use of the shell. In interactive mode, the shell receives input from the keyboard, and in non-interactive
On-line websites generate log data every day. If there is a requirement: Log files generated by the day before the start of the operation at 24 o'clock in the morning are expected to be uploaded to the HDFS cluster in real time.
How to do it?
Shell scripts are especially important in the daily operations, and often we write shel scripts that involve a lot of privacy information, including passwords, which requires the shell script to be encrypted and the results to be executed. The
1, test: the detection of the expression is established, the return value is 0, otherwise, not 0Method:1) test expression2) "Expression"2. File test:-D: Whether it is a directory-F: Whether it is a file-E: whether there is-r: Whether Read permission
Shell Programming Loop StatementsLearning Goals:Mastering the FOR Loop statement programmingMastering while looping statement programmingDirectory structure:For Loop statementL read different variable values to execute the same set of commands
1, determine whether a number is in the one-way.#!/bin/Bashread-P"pls input a number:"N Case "$n" inch 1) Echo "variable is 1" ;; 2) Echo "variable is 2" ;; 3) Echo "variable is 3" ;; *) Echo "pls
After a week, the progress seems a little slack, but after the weekend rallyShell (Shell)Gui:gnome,kde,xfceCli:sh,csh,ksh,bashBash (parent process)-----Bash (child process) they are independent of each other.Command history: HistoricalQuotes
Export Feature Description: Sets or displays environment variables.syntax:export [-fnp][variable name]=[variable setting value]Additional Note: when executing a program in the shell, the shell provides a set of environment variables. Export can add,
1. Download Peanut Shell 2. Find the Linux version to download3. Installation, the new version of the Linux version is in the form of SN code4. This is the start command of the peanut shell relatedNote: If you use the previous version, if you use
[TOC]V. Automatic synchronization of files 5.1 configuration scriptsThe core command is to use the Rsync service.[[email protected] sbin]# vim 4.expect#!/usr/bin/expectset passwd "123456"spawn rsync -av [email protected]:/tmp/12.txt /tmp/expect
all the process according to my experimentAnd I can accept the way to understand, we can refer to, if there is a problem, please leave a message.Sample Data[email protected] ~]$ cat
Special symbols
* Any character
? Any one character
Comment characters
Indicates that the order does not take effect, and explains
\ de-Semantic characters
| Pipe breaks, several commands related
Introduction of distribution System
When the business is bigger, the server needs more and more, a few servers is a bit better, when more than 10, dozens of, the workload is very large! And not specification, need a template machine to
1. List of files and directories 1.1 more common Linux top-level virtual directory names and their contents:
Directory
Use
/
The root directory of the virtual directory. Files are not usually stored here
Recently, I was going to review the shell, just to see the shell operation, and to write a simple 99 multiplication table like a beginner. It is suggested that you can run shell scripts directly in
A function in the shell1 understand several system variables of the script first$# 是传给脚本的参数个数$0 是脚本本身的名字$1 是传递给该shell脚本的第一个参数$2 是传递给该shell脚本的第二个参数[email protected] 是传给脚本的所有参数的列表$* 是以一个单字符串显示所有向脚本传递的参数,与位置变量不同,参数可超过9个$$ 是脚本运行的当前进程ID号$?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service