Advanced Directives1.hostname instruction function: Operation server hostname (read settings)Hostname output the full host nameHostname-f to output the fully qualified domain name of the current host2.id instruction function: View some basic
First, prepare
MAVEN is configured
JDK is configured
Second, modify the relevant HBase codeThird, use MAVEN to compile hbase-2.0.0
Under the HBase src root directory, execute the following command
MVN Clean package-dskiptestsMVN
Linux Tomcat Deployment Common commands1. Connect to the server2. Enter WebApps directory: cd/usr/local/tomcat8080/webapps/3, Upload files (war package, etc.): RZ4. Delete folders and files: Rm-rf Aa.war5, back to the parent directory: CD. /6. View
Wide limit to work hard to lag Xuesaitong one, the user:When you create a user, you specify a user group for the new user, and if you do not specify a workgroup to which the user belongs, automatically generates a workgroup with the same name as the
1, three kinds of time correspondence relation tableColumn Column columnAccessing Time Access AtimeModification Time Modify MtimeState Change time Changes CTime2. How to view three timestamp of file fileStat filename3, three kinds of time stamp
Under Linux system, reboot tomcat to use command to operate!1. First, enter the bin directory under Tomcat
1
cd /usr/local/tomcat/bin
2. Use Tomcat to close commands
1
./shutdown.sh
3.
Kernel module DM can achieve the following functionsSnapshot: Preserves data at that time state, providing additional access to the data path. If the data in the access snapshot does not change, the original path is used and the snapshot data is
Hostnamectl-h-H--help Display Help--version Displays the version of the installation package--transient Modifying the temporary host name--static Modifying a static host name--pretty Modifying a flexible host name-P--privileged privileges obtained
Here's how to install the LNMP environment under Linux using Yum.Tools/Materials
Server One
One PC for personal use
Putty Software One
Installing Nginx
1 Check if the program is installed:which Nginx #查看nginx是否存在which PHP
Most of the Linux servers we operate are operated remotely, so we need to use the Remote connection tool.There are three kinds of tools commonly used, PUTTY,XSHELL,SECURECRT.Let's talk about putty first.
First you need to download putty
One: Clone the virtual machine.On the virtual machine you want to clone, right-click "Manage-" clone.Follow the prompts to select Link clones, and then start the cloned virtual machine when you are finished.After entering the Linux system, edit the
20.10 for LoopSyntax: for variable name in condition; Do ...; DoneCase 1#!/bin/bashSum=0For I inseq 1 100Doecho "$sum + $i"sum=$[$sum + $i]Echo $sumDoneEcho $sumCase 2File list loop#!/bin/bashcd/etc/For a in ls/etc/DoIf [-D $a]ThenLS
awk 3-tuple expression, if...else structure can be overridden with a 3-tuple expression[Email protected]:~/linux/awk$awk-V fs=":" '{type=$3>=1000? " Normal user ":" System User ";p rint $1,type}'/etc/passwdroot System User Daemon system User Bin
20.1 Shell Script IntroductionWhat is a shell?shell是一种脚本语言 aming_linux blog.lishiming.net可以使用逻辑判断、循环等语法可以自定义函数shell是系统命令的集合shell脚本可以实现自动化运维,能大大增加我们的运维效率20.2 shell script Structure and
One, Mount commandRole: Loading an external device into a Linux system can be understood as an allocation letter on Windows. The device can be used properly when mounted.1, query and automatic mountMount #查看已经挂载好的设备Mount-a #自动挂载设备, Boot
User account management mainly has the following several configuration files:/etc/passwd,/etc/shadow,/etc/group and user mailbox/var/spool/mail, today is important to explain/etc/passwd and/etc/ Shadow two configuration files/ETC/PASSWD: Records all
User identity and file permissionsTo differentiate by UID:Administrator UID is 0: Administrator user of the system.System User UID is 1~999:linux system in order to avoid the vulnerability of a service program by hackers to the entire server, the
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