Linux Environment RPM installation MYSQL5.6System Environment CentOS7.21. Turn off SELinux service "SELinux is a domain-type model (DOMAIN-TYPE)-based mandatory access control (MAC) security system"[root@OperationsAnalysis ~]# vim
File LookupFind eligible files on the file system;Implementation tools: Locate, findLocateRely on the pre-built index library;Automatic implementation of the system (periodic tasks);Manually update the database (UPDATEDB);Operating
We often use virtual machine installations (the Linux version I use is CentOS6.5) and then configure the server's Web environment for program debugging. By default, Linux uses dynamic IP, and every time Linux is started, its IP address is likely to
Disk
Dumpe2fs
Dump EXT2/EXT3/EXT4 filesystemInformation
# DUMPE2FS/DEV/SDA1
Df
Report file system disk space usageOverall disk usage
-k:kb-h:human-i:inode-T: File system name
Du
1.suse Linux program starts automaticallyWhen the deployment surface is installed, you need to go to tomcat/bin/startup.sh to execute the startup script after the reboot.Set boot auto-start the service adds the script that needs to be started under
paste [filename 1 [file name 2] ...] Options-S stitching the files in a row-D Set delimiter, Tab delimited by default[Email protected] ~]#seq 5>1. Txt[[email protected]~]#seq 6 Ten>2. Txt[[email protected]~]#seq One the>3. Txt[[email protected]~]#
1. SSH InstallationService side: Openssh-serverClient: Openssh-clientCan be installed directly using Yum Install2. SSH using ssh-l user_name-p port host3. SSH configurationConfiguring the SSH service's operating parameters is done by modifying the
Terminal Equipment: TerminalMulti-tasking, multi-userPhysical terminal, console: ConsoleVirtual Terminals: 6, TTYCTRL+ALT+F[1-6]Graphics Terminal:CentOS 6:Ctrl+alt+f7CentOS 7:In which virtual terminal is launched, which is located in which virtual
Choose from Blogger's Youdao Cloud notes:Linux Common commandsBecause the picture is not easy to see, please visit the link Linux common commandsWhoAmI See who the current user isHostname View the name of the current hostPWD View current pathLS
Linux nginx Load Balancer cluster:Experimental environment: 10.72.4.37 (DR, is LNMP environment), 10.72.4.48 (rs1), 10.72.4.39 (RS2, lamp environment), three machines are installed Nginx. [Rpm-qal nginx view nginx MO installation directory]"If the
A part of the Linux command is already very familiar, not many listed, on the record some may use more, their not familiar, only serve their own!1, Finger: Display system user information.The finger displays information about the system users.Finger
File View class commands: Cat, TAC, head, tail, more, lessSplit-screen view commands: More and lessMore commands:More FILEFeatures: Turn the screen to the end of the file automatically exit;Less command:Less FILEHead command:View the first n rows of
The Chkconfig command is primarily used to update (start or stop) and query run-level information for system services. Keep in mind that Chkconfig does not immediately automatically disable or activate a service, it simply changes the symbolic
MBR: Master boot RecordMaster Boot Record446bytes:bootloader64bytes:Identifies one primary partition per 16bytes, so it can identify up to 4 help zones2bytes:magic numberMark MBR is validLink file:Soft Link: Equivalent to create a shortcut, save the
Ubuntu system when locating files or directory locations, use "/" to separate them (different from the anti-\ in Windows). Throughout the tree structure, a separate "/" is used to denote the root directory, which is the starting point of the Ubuntu
Directory: path mapping;File: Storage space Storage of a stream of data, the data can be accessed by name;File system: Hierarchical structure, indexed;/: Original starting point;Inverted tree-like structure;/DEV/PTS/2:Leftmost/: Represents the root
I. How to represent a file pathUnder Windows, C:\Hjing\test.txtUnder Linux,/hjing/test.txtRelative path representation methodCat Test.txt, default is the file under the current directory, if not explainedCat./test.txt explicitly specifies that the a.
Use C ++ to implement the ls function of shell in Linux.
Output the file name in the current directory
Ls function:
Method 1:
#include #include #include #include #include #include #include #include using namespace std;bool cmp( string s1,string s2){
TCP/IP Nagle algorithm and 40 ms latency, and tcpnagle algorithm 40 ms
The Nagle algorithm is designed for small groups on the network that may cause congestion on the wide area network. This algorithm requires that only one unconfirmed small group
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