SHELL: Compile NGINX automatic deployment script and shellnginx script
1. Function Description
1. Install the support package, download the custom NGINX package from the software source, and create NGINX users and user groups.
2. Install and initialize NGINX configuration.
3. Run NGINX and check the running status.
2. Implementation
The source code is as follows:
#!/bin/bash# eastmoney public tools# versio
Linux practical log analysis script and linux Log Analysis script
Log Analysis
Randomly tail an access_log file. Below is a classic access record
218.19.140.242--[10/Dec/2010: 09: 31: 17 + 0800] "GET/query/trendxml/district/todayreturn/month/2009-12-14/2010-12-09/haizhu_tianhe.xml HTTP/1.1" 200 1933 "-" "Mozilla/ 5.0 (Windows; u; Windows NT 5.1; zh-CN; rv: 1.9.2.8) Gecko/20100722 Firefox/3.6.8 (. net clr 3.
Shell script programming (strict terminal format control, beautiful output font color), shell script Programming
#! /Bin/bash # font output color and terminal format control # font color 30-37echo-e "\ 033 [30 m black character \ 033 [0 m" echo-e "\ 033 [31 m red word \ 033 [0 m "echo-e" \ 033 [32 m green word \ 033 [0 m "echo-e" \ 033 [33m yellow word \ 033 [0 m "echo-e" \ 033 [34m Blue Word \ 033 [0 m "ec
Name: satool PS: it can be called a "Silly Rabbit" by a colleague ")
Function: This script can run commands in batches, copy files, and perform simple logon. You can quickly log on without remembering the specific IP address of the application server.
Note: batch management can be performed by group, with a single thread. It is not applicable to the problem that hundreds of devices in each group can be used, that is, the duration of waiting for the re
Create Table space script in oracle and create script in oracle
Preface:
Previously, we used oracle tools to generate tablespaces. Today we see a more convenient and fast way to use database scripts.
/* Divided into four steps * // * Step 4: create a temporary tablespace */create temporary tablespace airforce34 tempfile 'd: \ date \ airforce34.dbf' size 1st m autoextend on; -- delete temporary TABLESPA
Write a script to create and manage LV:Note: During script execution, a menu is displayed to the user, as shown in the following figure:A create an LV.B create an LV in an existing VG.C extend an LV.D reduce an LV.
If you select item A, the following functions are completed:1) display information about all disks and disk cylinders on the current system: Total number of cylinders and the range of idle cylind
When using SSH to log on to the server with secure, if there are many servers, It is very troublesome to log on to the server at one time. Therefore, you can write VBScript on your own.
I. Introduction to the secure script
Secure is a VBScript, VB Script tutorial, please refer to the relevant documentation.
The built-in secure objects are as follows:
The application object, that is, CRT, is a top-level obje
encoding Example
The following is a short example that contains JScript code that needs to be protected:
The page, which is run after the script encoder, looks like this:
Important: After coding, if you change the encoded text, even if only one word change. The integrity of the script is lost and can no longer be used.
The Script property is an IDE-based series of compiler propertiesJS is accessed using the @script attribute method () in C # with [attribute Method ()] .There are only 9 ways to access the property:
Addcomponentmenu Adding a new menu item to the component
ContextMenu Adding context menu content to the components of the current script
Executeinedi
1. There are two ways to summarize shell script commands: Interactive and batch processing.Interactive (interrctive): The user executes each command as soon as it is entered.Batch: A complete shell script is written by the user beforehand, and the shell executes many commands in the script at once.The name of the shell script
What is gradle script from a programming perspective ?? Android Studio script construction and Programming
As the Android development environment changes from Eclipse to Android Studio, each of us has begun to have more or less access to gradle scripts. Most people regard gradle as a build tool. If there is a problem, I do not know how to proceed with the analysis, you can only hope that Baidu can find a so
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.