Deploying Javaweb projects in Linux virtual machines
What you need:
VMware virtual Machines
CentOS System Mirroring
WINSCP Tools
Pietty tools (or No)
Begin:
After installing the virtual machine, it is best to set up a static IP to facilitate
The two-day project online
I've been busy.
Three days overtime.
But there's still a harvest.
Premise:
When you write the startup script start.sh, cycle to start the change process
While True
Java-jar Xxx.jar
Done
When starting, of
From: http://www.ixdba.net/a/os/linux/2010/0422/35.html
"When reprinted, please indicate the source of the article and the author's information and this statement in the form of a hyperlink"Original link: http://www.ixdba.net/a/os/linux/2010/0422/35
14.2 reading user input
14.2.1 Variable
In the previous chapter we talked about how to define or cancel variables, which can be set to the current shell's local variables, or environment variables. If your shell script does not need to invoke other
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
The first step: Download Tomcat 7.0.27 Click the Open link, this is a no-install compression package, decompression can be used.
The second step: Apply for dynamic domain name, you can go here to register a peanut shell account, registered well
With the popularity of Docker, the application of Docker is more and more, the work is certainly not necessary, but the individual feel that some of Docker commands require a bit more parameters, such as running a container, –name to the container
The difference between/bin/sh and/bin/bashSH: If there is an error in the previous statement, the command after the error statement does not executeBASH: If there is an error in the previous statement, the following command will also executeThe
CTRL + A//move to the beginningCtrl+e//Move to end of line===========linux System with ============Alt+a//move to the word header where the cursor is locatedAlt+e//move to the end of the word where the cursor isAlt+d//delete cursor at end of
The test command in the shell is used to check if a condition is true, and it can be tested in three aspects of numeric, character, and file.Numerical Test-eq equalsis True-ne Not equal tois True-gt greater thanis True-ge greater than or equal tois
1. As an executable programSave the above code as test.sh and CD to the appropriate directory:+./test. #使脚本具有执行权限./test. #执行脚本 Note, be sure to write ./test.sh, not test.sh, run other binary programs also, the direct write Test.sh,linux
Color output via echo output, need to add-EECHO-E "\033[background color; font Color \033[0m"Background color40 Setting a black background41 Setting the red background42 Setting the green background43 Setting the brown background44 Setting the blue
Add the following code to the ~/.bash_profile, if none of the files can be created by yourself: Java code
VI ~/.bash_profile
#加入
#export ps1=' [[email protected] w]$ '
Uppercase W represents the last path, and lowercase w for
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
Shell special characters: 1. Wildcard character 2. Piping1. Wildcard characters1.1 asterisk (*): matches any length1.2 Question mark (? ): Matches a length of characters1.3 square brackets ([...] ): matches the character specified in it1.4 Square
The testing Test command in shell programming can basically be divided into 3 data types, each of which is different. Individuals are more inclined to understand the rules of writing conditional statements, that is, test plus conditional plus
A fragrant chestnut is better than words#!/bin/bashfoo= "Good" # Without spaces bar= "Hello World" # with spaces awk ' BEGIN {print ' $foo ' "; "'" $bar "'"} 'The pest above maintains the usual practice of enclosing the awk code in single
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