Two important environment variables in Linux:1) Path: The Find path of executable program, Echo $PATH to view.Setup method: Export PATH = path:xxx but fails after logout.setenv PATH = path:xxx the child shell is invalidated after execution.Write
Linux file extension: A Linux file can be executed, and his first column of the 10 attributes, and the file name is not at all related.Common extensions:*.sh: script or batch file (scripts), because the batch file is written using the shell, so the
Linux network card can be a life temporarily modified, or can be a GUI modification, but our most commonly used is to edit the configuration file to make it permanent, so that we do not need to be like a temporary modification of every boot to reset
1 * Copyright (c) Level 2012, Yantai University School of Computer Science2 * All rights reserved.3 * Pay Record Super4 * Completion Date: February 5, 20155 * Version number: v1.06 * Topics of study:7 * Usage Environment: Linux command line8 *
We see the lvs+keepalived high load scenario where the VIP is bound to the Realserver interface, and haproxy/hearbeat/nginx+keepalived does not have to be manually bound to the backend server interface.This is because LVS does not have a forwarding
Today encountered to find a table name in which Python file, the online Search command, run no problem, so take it out to share with you:Case: Find the contents of the table named Rs_all_user_pv_category in which Python fileFind. -name "*.py" |
1. First load the BIOS (Basic Input Output System), self-test, read the bootable device sequence (usually hard disk). 2. Each hard drive has an MBR (Master Boot Record) area, and the MBR is the first sector of the hard disk area 446B. Set the boot
1) Use uname-a to see that the machine is in the first place.2) JDK official network http://www.oracle.com/technetwork/java/javase/downloads/index.html Download3) Unzip the installationWe install the JDK to this path:/USR/LIB/JVMIf there is no
PS Process StateUnix System VBsdPS-E Show All processes (TTY related is the foreground process?) TTY independent)-U user-related-F Full Format listing-F Print extra information-o Command Select display fieldPS auxPs-efPs-efBSD StyleAXStateS SleepS
In the Windows system, we can use the TreeSize tool to find some large files or folders, very convenient and efficient, in the Linux system, how to search for some of the larger files? Now I've sorted out how to find large files or folders on a
TAR-ZXVF apache-tomcat.tar.gz-c/home/poka Note: Install the tar.gz installation packageSet system Auto-start tomcat switch to root user, execute command#chkconfig--add Tomcat#chkconfig--level 23456 Tomcat onCheck whether the boot succeeds can enter
The contents come from bird's private cuisine. 1.Linux file Properties 1) First column file type and permissions The first character represents the type of file:
[d] means directory
[-] indicates file
[L] Indicates the connection
Just had a problem: uploading a folder from the local file system to HDFS as input data for the Hadoop program, but the program was wrong because Ubuntu generated a. txt~ backup file for each. txt file, so I'm going to batch delete these backup
This original article belongs to "Linux greenhouse" blog, the blog address is http://roclinux.cn. The author of the article is rocrocket.In order to prevent the vicious reproduction of some websites, special in each article before adding this
In Ubuntu 14.04, the recycle bin cannot be cleared.Problem
I encountered a problem where I could not clear the recycle bin in Ubuntu 14.04. Right-click the recycle bin icon and select clear recycle bin, as I have always done. I can see that the
CentOS6.5 startup interface changes
I. Cancel the Boot Image
I have long wanted to say goodbye to the graphic interface. I just don't need a boot screen. The black screen displays a large volume of boot information to give people a cool feeling,
Common linux commands: packaging, copying, and so onBackup File
Tar-cf/home/app20140703bak.tar/home/app/uat/test. war
Copy the file to the target folder.Example:Cp-af/app/wasapp/appname_uat.ear/appname.
Modify the system default language in CentOSChange the original Chinese environment to an English environmentModify the i18n File# Vi/etc/sysconfig/i18nLANG = "en_US.UTF-8"Another way is to change the environment variable LANG.# Export LANG = "en_US.
Copy files remotely on two linux servers1. copy the files from the remote machine to the local machine.
Scp-r root@10.10.15.25:/bea/gg copy remote/bea to/gg
-R Recursively copy entire directories. Recursively copy the entire directoryRoot@10.10.15.
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