Installing a Linux system on VMware1. File menu select New Virtual machine2, select the classic type of installation, next.3, choose to install the operating system later, the next step.4, choose the Linux System, version select CentOS 64-bit.Take a
Chown the owner of the specified file to the specified user or group, the user can be either a user name or a user ID; a group can be a group name or a group ID; a file is a space-separated list of files to change permissions, and wildcard
Environment:VMware 12 Virtual MachinesCentos 7 (firewall off and SELinux)Epel Yum SourceNote:The default password for the newly installed operating system is admin123Install operating system default settings
Several ways to query the IP of the extranet under Linux. Curl Plain Text Format output:curl icanhazip.comcurl ifconfig.mecurl curlmyip.comcurl ip.appspot.comcurl ipinfo.io/ipcurl ipecho.net/plaincurl www.trackip.net/iCurl JSON format
Sed is a kind of stream codec, which is a very important tool in text processing, and it can be used perfectly with regular expression, so the work can be remarkable. When processing, the currently processed row is stored in a temporary buffer,
Nginx install one. Installing the compilation tools and library filesYum-y install make zlib zlib-devel gcc-c++ libtool OpenSSL openssl-develView CodeTwo. Install PCRE (PCRE function is to let Nginx support rewrite function)1. Download the PCRE
The history command is used to display a specified number of command commands, to read the directory from the historical command file to the history command buffer, and to write the directory in the history command buffer to the command file.When
OverviewIn the operation of Linux system operations, often encountered due to careless operations, operation errors and other causes of file data loss, especially for customers in the enterprise some novice. Of course, this refers to the total
Click Back to learn the path of the Linux command line and shell script14.3-Create temporary file mktemp
The Linux system retains a special directory location for temporary file use. Linux uses the/tmp directory to process files that do not
1. Download access to Linux tools SECURCRT Link: https://pan.baidu.com/s/1zTwzmnzUmnwbKUCNHCLN1g Password: kpyg2. Download the required JDK solr tomcat link: https://pan.baidu.com/s/1j32EHEh2peCntzLWBP54Ww Password: mg4a3. Use SECURCRT to enter
The chmod command is used to change access rights for Linux system files or directories. There are two ways to use this command:
One is a text-setting method that contains letters and operator expressions;
The other is a digital
Step 0Both this machine and the target machine need to be installed with Openssh-serverExecute as root on native and targetService SSH Status # Debian is sshd on Ssh,opensuse, you can click the TAB key immediately after typing SSH to automatically
Linux TelnetAlready understand the login process, learned to use SECURECRT to operateLinux File Basic PropertiesLinux to protect the system security, to different users, open different file access rights.In Linux, we can use the LL or LS-L command
Terminal some common shortcut keys
Key
function
Ctrl+d
Keyboard input end or exit terminal
Ctrl+s
Pause the current program, pause and press any key to resume running
Add the following to the/etc/profile for all users effectively. Valid only for the current user in the home directoryAdd the following to the. bashrc or. Bash_profile:(Note: Do not add a space before the equal sign, or command not found may
cut extracts text and outputs-D Specify delimiter-C in CharactersThe part of the-F partition after DExample:1-d and-F useRemove to: As delimiter, part 2nd[Email protected] tmp]# echo ni:hao|cut-d ":"-f2Hao2-c useTake a 2nd character[Email protected]
Types of Linux Nic aggregation:1.broadcast: Transfer each packet from all ports2.roundrobin: Transfer packets from each port on a carousel basis3.activebackup: Failover runner, monitoring changes and selecting active ports for data
Click Back to learn the path of the Linux command line and shell script11.3-Using variablesThe execution of a shell script can typically take several ways:1):bash script-name or sh script-name(recommended)2): Path/script-name or./script-name
readlink 显示文件的类型Syntax format: readlink "option" readlink [options] [file]Attention:
Readlink command and subsequent options, there must be at least one space between each elementOption Description:
parameter Options
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