#! /bin/bash#the Scripts would return the system Infomation#returnhostnameand version infomation//returns host name and system version informationEcho-E"\e[31;43m/////HOSTNAME infomation *****\e[0m"hostnameuname-RCat/proc/versionEcho ""#File system
Chapter 1-3Auto-Completing$ with environment variable ~ followed by username @ followed by host name man command-f XXX can show all the XXX documents, such as some C is some sh. Similar Whatis[Email protected] ~]# man-f mkdirmkdir (1)-Make
Several problems have recently been encountered in the ES5 standard library.One, write write failed but returned successfullyCheck the multi-threaded, found that the log inside the number of printing problems, careful examination, found before and
Locking critical system files can increase system security, use the CHATTR command to lock, and here are a few files that need to be locked:Chattr +i/etc/passwd User fileschattr +i/etc/shadow User Password fileChattr +i/etc/group User Group
First, synchronization between threads there is also a situation where thread a needs to wait for a certain condition to continue to execute, now that the condition is not established, thread A is blocking the wait, and thread B is in the process of
Awk usage and website Log Analysis Awk usage and website Log AnalysisAwk IntroductionOverviewAwk is a powerful text analysis tool. Compared with grep search and sed editing, awk is particularly powerful in data analysis and report generation. To put
(UNIX basics)1. Unix Architecture
Vc/U2tfuuvOjqTwvcD4NCjxoMiBpZD0 = "2-List the names of all files in a directory, that is, the implementation of the command ls"> 2. List the names of all files in a directory, that is, the implementation of the
Linux Kernel missing page
The entire page missing Exception Processing process is very complicated. Here we will only briefly introduce the kernel functions involved in the page missing.
When the CPU generates an exception, it will jump to the
Shyaml: Process YAML in the command line
YAML is a friendly data exchange format for humans. If you need to process YAML in the Linux Command Line, use shyaml.
Through shyaml, you can directly obtain the key, value, key-value pair, or corresponding
Install JDK and environment variable configuration in Ubuntu
Objective: To install JDK and environment variable configuration in Ubuntu
1. getconf LONG_BIT: view the number of system digits and download the corresponding jdk.My Ubuntu system is
Managing learning notes using systemd in CentOS 7A major change to CentOS 7 is to replace the original System V init with systemd. Systemd is a complete software package. After installation, many physical files are generated. The configuration file
Highlight Vim configuration syntax in MacSet the terminal font color
, Open the terminal, select preference settings, select the description file, and then select the system configuration on the left side of the window, or you can customize it,
Linux boot guide process and Service Control
Just getting started, are you still confused about how the system runs step by step from the moment we press the power key, knowing that we enter the user name and password to enter the system and operate
Detailed explanation of the DSA commands of the OpenSSL asymmetric encryption algorithm1. Overview of DSA Algorithms
The DSA algorithm is a national standard digital signature algorithm in the United States. It can only be used for digital
Hadoop-2.0.0-cdh4.1.2 upgrade to hadoop-2.7.2
Requirement: Hadoop-2.0.0-cdh4.1.2 upgrade to hadoop-2.7.2
Preparations before Upgrade:
Configure a new hadoop-2.7.2 to each cluster server
Configure new environment variable backup
Start upgrade:
1.
Configuration of Apache Virtual Hosts in Linux
The httpd version selected in this article is also the httpd-2.2.4.Access to web Services is essentially a port (80 by default) on the host that accesses an IP address ). Generally, you need to access
In Linux, Apache configures web page access control permissions
The httpd version number in this article is httpd-2.4.4, with Firewall and selinux turned off beforehand.In Linux, apache needs to modify/etc/httpd to set the web page access control
Use telnet to manage remote Linux servers
SSH requires public/private key pair configuration, which is cumbersome. In order to quickly log on to a remote Linux host from any device, you can use telnet to connect to it.
Warning telnet is transmitted
In Windows and Linux, the Tomcat process is killed and other ports are occupied.
1. application scenarios
In Windows or Linux, when we start a tomcat server, we often find that port 8080 is occupied, and we do not know how to stop the tomcat server.
Compile and install Zabbix source code in Linux
Zabbix is an enterprise-level open-source distributed monitoring software. I plan to learn about it. This article introduces the diagram of Zabbix source code compilation and installation in Linux.I.
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