When to use:We need to build a software project in the process of testing, in order to avoid repetitive manual downloads and decompression operations, we need to build a test environment that can be built automatically, and when the code is updated,
View Swap Occupation ScriptsFor I in $ (cd/proc;ls | grep "^[0-9]" | awk ' $0>100 '); Do awk '/swap:/{a=a+$2}end{print ' "$i" ', a/1024 "M"} '/proc/$i/smaps;done| Sort-k2nrWhy is there a swap partition, and what does the swap partition do?In fact,
Basic Daily CommandsInit 3 (Go to command line page)Steup (set up network)PWD (view your current directory)Date (view current system time)Example: (date +%y-%m-%d) Displays the current system time in the format of month and day, and (date-s "2018-02-
In the previous section, the C language was used to understand the processing of the signal, so how is it understood in bash?First, let's meet the trap command.#type trapO_o was originally a shell built-in command, can you think of why it is
Linux cluster Architecture
Cluster introduction
keepalived Introduction
Configuring High Availability with keepalived
Introduction to load Balancing clusters
LVS Introduction
The debugging algorithm of LVS
LVS NAT
How to upgrade GCC to 6.3.0 on CentOS, centos6.3.0
Virtual Machine Environment Information:
[Root @ localhost/] # cat/etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[Root @ localhost/] # cat/proc/version
Linux version 3.10.0-514. el7.x86 _
In ubuntu15, tomcat is automatically started upon startup and ubuntu15tomcat is started upon startup.
Prerequisites: tomcat and jdk have been installed in the system. I have installed tomcat 9 :? /Data/server/tomcat/apache-tomcat-9.0.5
Jdk 1.8 is
Detailed explanation of the use of music commands for linux basic commands and the use of linuxmv commands
Mv (option) (parameter) cut, or move and rename in the same directory
1. If the target file is a folder, the source file is directly moved
Basic Shell parsing and basic linuxshell parsing in LinuxShell basics 1. Shell Overview
1. Shell IntroductionShell is a command line interpreter that provides users with an interface system-level program that sends requests to the Linux kernel to
Notes for common Linux knowledge points and notes for linux
1. ps-ef | grep mysql query whether the mysql service exists
2. sudo/etc/init. d/mysql. server-P 3306 start the mysql service on the beta machine, if the PID file exists is started. Delete
Common commands in linux
The full name of Common commands in linux.
Su: Swith user? Switch to the root user
Cat: Concatenate? Series
Uname: Unix name? System name
Df: Disk free? Spare Hard Disk
Du: Disk usage hard Disk usage
Chown: Change
Use extundelete in Linux to restore accidentally deleted files
When data in a partition is deleted by mistake, the first thing to do is to immediately unmount the partition where the deleted file is located, or re-mount the partition in read-only
Linux User Creation and permission-related operation demonstration, linux operation demonstrationBasic command operations
The procedure is as follows:
Groupadd testgroupuseradd-d/usr/test-g testgroup-m testuserpasswd testuser # query user group #
Tomcat installation tutorial in Linux environment, linuxtomcat
1. Install JDK
2, upload pressure tomcat shrink package apache-tomcat-7.0.85.tar.gz to linux
Enable FTP service
3. Unzip the installation package to the/usr/share directory.
[Root
Basic tcp and udp protocols for Linux socket network programming, socketudp
Socket TCP network communication programming
First, the server must make the following preparations:
(1) Call the socket () function. Create a socket object and specify the
Install Ubuntu Server 16.04 and use two hard disks as RAID 1.
In order to centrally manage project data, the company required to build a file Server. After multiple attempts, we finally completed the setup. Here, we will share the installation
Tomcat redirection using UrlRewriteFilter
By default, domain names without www in Tomcat do not jump to domain names with www, and cannot be implemented by configuring. htaccess Like Apache. If you want to redirect a domain name without "www" to a
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