01. Download the specified JDK to the official website02. Use XFTP to transfer downloaded files to a Linux specific folder03. Enter the specified folderEnter TAR-ZXVF file name04. Discovery Files05. Enter the fileCD jdk1.8.0_12106. Go To Bin
MV: Moving commands and modifying file and directory names moving files and directories example: Move the lists file in the current directory to its subdirectory babydog command: MV lists Babydog Renaming files and directories: Change
1. The jdk1.8 download packageHttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html2. Unzip the installation We install the JDK in the/usr/local/jvm/jdk1.8 directory, and if the directory does not exist, create aAfter
Linux vmstat CommandsThe Vmstat command is the most common Linux/unix monitoring tool that can represent the state values of a server at a given time interval , including the server's CPU usage, memory usage, virtual memory exchange situation , IO
One, the VMware Workstation 11 installation of the CentOS systemVMware Workstation 11 installation of the CentOS system (i)VMware Workstation 11 installation of the CentOS System (ii)Twoenable virtual machine vmware to copy and paste Linux with
Linux kernel parameter tuning is achieved primarily by modifying the parameters of the/proc pseudo-file system and the/etc/sysctl.conf configuration file.The/PROC directory structure is as follows:/proc/driver information related to drives/PROC/FS
Recently the company's test server Ubuntu server memory has been high, originally 1G of memory, the results of available memory suddenly accounted for 937M, resulting in a small amount of memory available:The Final Solution:1. View
The Linux directory structure is simpler than Windows, and the Linux directory is a slash/root and the overall structure is a tree-like structure with/roots.View Level 1 directory structure using TREE-L 1/bin common binary command directories. such
Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and
Installation EnvironmentLinux (CentOS7.0 version)JDK InstallationTar.gz is the version that can be used after decompression, here I will use jdk-8u111-linux-x64.tar.gz version, install to/home/program/Step OneMove the file jdk-8u111-linux-x64.tar.gz
Single-File operation:Zip index.zip demo (Zip compress demo file, name Index.zip)Unzip Index.zip (unzip zip file)gzip Demo (gzip compression for demo files, get demo.gz, the original demo file will disappear )gzip-d demo.gz (demo.gz file for gzip
Manage Service CommandsIn RHEL7, the operation of the service command is not the same as CENTOS7 and Rhel6, RHEL6 uses the service, Chkconfig, and so on, while the RHEL7 command is systemctl.650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00
Shutdown--h now shutdown reboot restartStartX into the graphical interfacechmod +x 777 file name authorization and executable 777 for binary 111-111-111 (System user-current user-other user)Ls-a-s-color Show All Files (a shows all, s display size,
Read the file header to match the file type according to the signature.Official: http://mark0.net/soft-trid-e.htmlWindows release Gadget: FileanalysisThe following is the Linux
First, the basic commandLS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p (
Thread Cancellation (pthread_cancel)Basic conceptsThe Pthread_cancel call does not wait for the thread to terminate, it only requests. The thread will continue to run after the cancellation request (PTHREAD_CANCEL) is issued.Until a cancellation
1 How to activate Linux subsystem see Baidu;2 Open PowerShell, enter bash to start subsystem terminal; Enter exit to exit;3 input Tmux attach connection session; Ctrl-b+d return to terminal; Ctrl-b+s list session;4 Enter ctrl-b+c new window;ctrl-b+&
Some commands that are not commonly used but are useful in Linux systems.
Which command
It is used to find and display the absolute PATH of the given command. The environment variable PATH stores the directory to be traversed when searching the
Test commands in bash shell and bashshell
Test commands in bash shell
TestThe command providesIf-ThanStatement. IfTestThe conditions listed in the command are true,TestCommand to exit and return the exit status 0. This wayIf-ThanStatement in other
Linux vi command quick operation summary, linuxvi command Summary
Part 1: buttons available in the general instruction mode: cursor movement, copy and paste, search replacement, etc.
I. How to move a cursorH or move a byte to the left by the cursorJ
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