# Specify the time of the format date + '%y-%m-%d%h:%m:%S '2017-11-29 10:42:55# Timestamp -to seconds date + '%s '1511925242# Timestamp converted to time date + '%y-%m-%d%h:%m:%s '-d @15119252422017-11-29 11:14:02+ '%y%m%d%h:% m:%s '-d @ ' date +%S
If a Linux server ping does not pass the domain name, the following prompt:[[email protected] ~]# Ping www.baidu.comPing:unknown Host Www.baidu.comFirst determine that the router is connected and the router has access to the extranet, which can be
Installation Environment:
Centos7_x86_64
JDK8
Hadoop-2.9.0
Installation steps:1. Install the configuration jdk.2. Download Hadoop-2.9.0.3. Extracting Hadooptar zvxf hadoop-2.9. 0. tar. gz4. Add the bin directory and the Sbin
environment variable settings under Linux1, under the Windows system, many software installations need to configure environment variables, such as installing the JDK, if you do not configure environment variables, run the JAVAC command in a
I. Downloads of related Resources①debian series Ubuntu is more suitable for desktop version of the operating systemHttp://www.ubuntu.org.cn/desktop②redhat series Red Hat operating systemCentOS( Same as community maintenance version of Redhat source
Linuxdaily operation and maintenance management skillsMonitor system Status1.w/uptime View the status of the system, execute this command to know who is currently logged into the system, and what programs they are executing , and what the current
01. See if the partition Ackl support =/dumpe2fs-h/dev/sda3The DUMPE2FS command is a command that queries the specified partition detail file system Information-H: Close display of information in the super block without displaying the details of the
Linux increased swap partition size 2016-08-2 13:54:58 Category: LINUXknow Linux, the standard Linux installation, swap partition is twice times the size of memory, if the memory is added, the swap partition will also increase If you add 1G of
Linux releases the memory command:SyncEcho 1 >/proc/sys/vm/drop_cachesThe value of drop_caches can be a number between 0-3 and represents a different meaning:0: Not released (system default)1: Free Page cache2: Release dentries and Inodes3: Release
The birth of Unix, January 1, 1970User--------> Kernel-------"HardwareThe name/version of the release is determined by the issuer–red Hat Enterprise Linux 5/6/7–suse Linux Enterprise 12–debian Linux 7.8–ubuntu Linux 14.10/15.04is a complete Linux
1th ChapterThe display failure is:the login system is displayed as: -bash-4.2$ fault2nd ChapterHow to resolve:Failure reason: The current user's environment variable file is missing or corrupt,Solution: Copy the correct files to the user's home
1, Environment Introduction:Set the time synchronization under root user rightsStandard clock synchronization3 Sets of equipment
Ip
Node
Role
192.168.128
Master Node
NTPD server for synchronizing
wget deploymentJDK Website: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlSelect the downloaded version on the official website:Red section for, bypassing user authenticationwget
Linux system LVM partition capacity reduction and linuxlvm partition Capacity Expansion
Linux LVM partition capacity reduction
Goal: scale down the VolGroup-lv_home to 20 GB and add the remaining space to the VolGroup-lv_root
1. First check the disk
How to install nginx and centos7nginx in Centos7
1. Add the nginx yum Source(Installation instructions on the official website)
Vi/etc/yum. repos. d/nginx. repo
Add the following content to the file:
[Nginx]Name = nginx repoBaseurl =
Linux terminal configuration: Color and fontIn linux, the terminal window is initially written in black and white. After reading it for a long time, it is easy to hurt your eyes. We recommend that you use this black and green text for your own
CentOS automatically deletes logs n days ago
Linux is a system that automatically generates files, such as logs, emails, and backups. Although hard disks are cheap now, we can have a lot of hard disk space to waste these files, so that the system
Problems related to CentOS server performance, troubleshoot these parameter indicators
A Linux-based server also represents various parameter information while running. Generally, O & M personnel and system administrators are extremely sensitive to
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