previous section review:The basic usage of some of the commands commonly used in Linux is mainly described in the previous blog post. See Linux Common Commands (a) and Linux common commands (ii). This section focuses on the main uses of the Vim text
A few simple steps:1, upload the Tomcat compression package to the Linux related directory. (FTP or WINSCP or SECURECRT)2. Enter the directory and unpack the Tomcat installation package.Cd/usr/tomcat Execute command TAR-XZVF apache-tomcat-8.5.33.tar.
The Linux directory structure and common file processing commands are mainly introduced in the Linux common Commands (a) . Commonly used file processing commands include: CD, LS, PWD, mkdir, CP, MV, RM and other commands. In addition to the file
L1: Create a new user and join a group # useradd student1 # groupadd caiwubu # useradd -g caiwubu student2 # useradd -G caiwubu student3 # id student1 # id student2 # id student3L2
Architecture of adding three disks to a single serverView disk status with Free-l in a Linux systemDescription1) The characteristic of a Linux system is to cache the physical memory that the system does not use, so that 3940 is not the real memory
To create a logical Volume:1. Create a physical volumePVCREATE/DEV/SDA8/DEV/SDA9/DEV/SDA8/DEV/SDA9 (next two is the physical volume name)Pvdisplay displaying a physical volume that has been built2. Create a volume groupVgcreate Vg0 (Volume group
CENTOS7 uses the XFS format as the default file system,XFS provides xfsdump backup, Xfsrestore recovery
XFS's backup and recovery process can be interrupted and then resumed without freezing the file, without freezing the file system
Summarize:
To view the alias of a command with which
Alias to view all aliases in the system
Custom aliases alias mdzz= ' Ls-lha 'To cancel an alias:Unalias Mdzz1. Use which to view the alias of the command.[email protected]/]# which
Yum configuration fileYum RepolistYum ListYum Install Vsftpd-ySystemctl Start VSFTPDSystemctl Enable VSFTPDIn the middle of some difficulties, see the reason is the firewall is not closedAllow Anonymous user accessAnonymous_enable=yesAllow anonymous
1, using the root user login system, in any directory to create folders cdromMkdir/mnt/cdrom2. Execute the following command in any directory:Mount-o loop/dev/cdrom/mnt/cdrom/3, modify the Yum source configuration file, it is recommended to delete
View Tomcat logs usually use tail-n or tail-f or grep or VI cat and other commands to see the exception information, but the log is constantly brush screen, tail is dynamic in the change, we often expect from the last line of the Log page forward
Install: Installing the RPM software package;Update: Updated RPM software package;Check-update: Check if there is an updated RPM package available;Remove: Deletes the specified RPM software package;List: Displays information about the package;Search:
Recent work often uses Linux commands. A lot of not very familiar with the department, are temporary Baidu;1 About firewalls:Service iptables Status View network firewall. After MySQL is primarily enabled, MySQL deployed with navicat link liunx is
Find commandThe Find command is used to locate files under the specified directory. Any string that precedes the parameter will be treated as the name of the directory you want to find. If you use this command without setting any parameters, the
Recently, when debugging Uboot's code, the new version of the Uboot,lowlevel_init function is empty, and no links to LOWLEVEL_INIT.O are found in the link file.Two lights were added before and after BL Lowlevel_init, and it was found that the part
One, two servers password-free login:1. Generate KeySsh-keygen Command Manual, the "man Ssh-keygen" command to view the instructions:Create a pair of keys, including the public key and the private key, from the command "ssh-keygen-t RSA" , which
In the Linux command, we can't have all the commands to remember. What if you encounter a command that you have not seen? You have to look at the command Help documentation, which not only improves your ability to learn, but also makes you feel more
1. Compile a single file
Write the source file hello. C.
Compilation: GCC hello. c
Generate a. Out
Specify the file name to be generated: gcc-O test hello. c
Generate Test
2. compile it into the target file
Compile: gcc-C hello. c
Generated: Hello.
When operating on Linux terminals, we all know that using the arrow keys can find commands previously executed. In fact, this is the simplest history.
In fact, commands executed on the terminal are recorded if history is enabled.
If you often use
I. Briefly introduce the early memory implementation: (skipped)
1. In early computers, running a program was characterized:
(1) All these programs will be loaded into the memory,
(2) The program runs directly in the memory, that is, the memory
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