There are two types of workspace settings file environment settings file: System environment settings file and personal environment settings file 1. User working environment settings file in System: Login environment settings file:/etc/profile
Single quotation marks: can only display general characters, no special symbols, variables only display the name, do not display the value;Double quotation marks: The contents of the variable can be retained;Inverted single quotation marks (the
MBR (boot grub) lost (dd If=/dev/zero OF=/DEV/SDA bs=446 count=1) Erase MBR1) Enter rescue mode2) Chroot/mnt/sysimage put the real root on the hook3) Start repairing grub and loading grub onto the hard drive. Grub2-install/dev/sdaAfter the
1 Call TrackingTrace system call Strace ls–l Trace Library Call Ltrace2 lsof (list open file)See what files The program commands open lsof–p PID; Lsof–c CMD View files opened by a user lsof–u root See which program a file is accessed by lsof
Preparation environment:Installed VMware, download a good CentOS image file.To start the installation:
Go to the virtual machine and click on "File"--"new virtual machine"
Pop Up the dialog box, select "Typical", then click Next. Such as650)
Installing MAVEN under Linux1. First download the installation file to MAVEN official website, the latest version is 3.0.3, download file is apache-maven-3.0.3-bin.tar.gz, download can use wget command;2. Go to the Download folder, locate the
First Use ifcongigUse the command:ifconfigeth0 192.169.1.137 To configure the IP address,Note: This method is used to bridge the way that the virtual machine configuration is bridgedIf this is not successful, go tothe virtualNetwork editor , edit,
Install the JDK before you start installing MAVEN, see my other blog: Configuring the JDK Environment under Linux1.maven Download:MAVEN's official address: http://maven.apache.org/Need the latest version of their own to the official download, here I
Before installing Jenkins, make sure the JDK and Tomcat,maven are configured.Specific configuration method, please look at my blog;Installation and configuration of JDK:JDKInstallation and configuration of Tomcat:tomcatInstallation and configuration
1. Tomcat Download:Tomcat official website: http://tomcat.apache.org/tomcat8.0 Linux version: http://tomcat.apache.org/download-80.cgiSelect the red line to mark the link compression package:2. Put the installation path to your own, unzipI will
1.JDK Download:Links: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlDownload the tar.gz compressed package that is marked with a red line.Copy the downloaded compressed package to your own environment variable
1. Relative path and absolute pathAbsolute path: Must start from the root directory, such as:/usr/share/docRelative path: If you want from/usr/share/doc/to/usr/share/man, you can write a CD. /man, the reference to the relative path is the path that
Execute more than one command at a time, separated by a number of commandsCmd1;cmd2;cmd3So there is no dependency on the implementation, if the following requirements1. CMD1 execution failure then do not execute the following command.2. Cmd1 failed
1. Linux ProgramsLinux applications behave as two special types of files: executables and script files .Executable: is a program that calculates the ability to run directly, equivalent to a Windows. exe file.Script file: A collection of sets of
2nd Chapter Linxu How to Learn1. Linux's current application roleThe current Linux common application can be divided into enterprise application and personal application two aspects.First, we discuss the use of enterprise environment .1) network
1, create a folder and copy all the RPM packages in the disc # mkdir/Rpms_yum2, copy all the RPM packages on the CD to Rpms_yum # CD/mnt/cdrom/packages/# CP*/rpms_yum/3, install Createrepo software to make a Yum index database using the software #
What are special permissions :In Linux, the commonly used permissions are: Read, write, execute, these 3 permissions can in most cases ensure data security and to meet our use, but in some special cases, we must use some special permissions to do
1. Backup overviewLinux systems need to back up data and/root,/home,/var/spool/mail,/etc and other directories such as logs.The data for the installation service needs to be backed up, such as the data that Apache needs to back up, the configuration
Next we go into the world of LinuxLearning Focus:
Introduction to Linux Systems
Application of Linux System
Characteristics and composition of Linux systems
Linux Version Introduction
Learning content:1.0 What is LinuxLinux
1. System operating level
Run level
Meaning
0
Shutdown
1
Single-user mode, which can be imagined as a safe mode for Windows, primarily for system repair
2
Incomplete command-
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