Linux operating system is a multi-user operating system, it allows multiple users to log in to the system at the same time, the use of system resources, in order to make all users work smoothly, protect each user's files and processes, but also for
Readn function function: In the network programming reading data, usually will need to use a read the specified byte to return the function, the Linux system call did not give, need to own encapsulation.READN Implementation code:intREADN
1, explain the PV, UV, IP is what meaningPV (traffic) that is, Page view, pageviews, or clicks, which are calculated once each time the user refreshes or clicksUV (Independent visitor) A unique Visitor that accesses a computer client of your website
In actual production use, such as performing bulk operations, we do not want to create SSH authentication, need to use a password login or link, you can use expect to operate the automatic add password:Expect is not installed on the CentOS system by
What is Samba?The Samba service is similar to the sharing feature on Windows, which enables you to share files on Linux, access them on Windows, and, of course, access them on Linux.is a kind of communication protocol that share files and printers
NFS = Network File systemRole: Allows a system to share directories and files with others.Lab requires a virtual machineInstalling NFS[Email protected]# yum install-y nfs-utils rpcbindThe rpcbind is used for communication.[Email protected] ~]#
When the client close closes the connection, if the server side then sends the data, according to the TCP protocol, the server side receives the RST response, when the server side sends the data to the client again, the system sends a SIGPIPE signal
If the system is found to have a large number of time_wait state connections, by adjusting the kernel parameters to resolve,Vim/etc/sysctl.confEdit the file and add the following:Net.ipv4.tcp_syncookies = 1Net.ipv4.tcp_tw_reuse =
Why Learn Linux?Why learn Linux, everyone has their own reasons:Linux is free without spending a penny, can save a lot of costs;Linux is open source, you can modify the source code according to your own needs;Linux is open and has a wide community,
First, Ptree: View the file directory hierarchySecond, pgrep process name: can view process IDThird, Chkconfig--list: Check the service open status; Chkconfig--list |grep process Name: view the specified process;Chkconfig--level 2345 sshd on/OFF:
-a displays all files and directories (LS default starts the filename or directory name as ".") As hidden files, will not be listed)-l In addition to the file name, but also the file type, permissions, owners, file size and other information
Tar is responsible for packaging, Gzip is responsible for compressingTar-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
Edit with Crontab-e, then edit the routine tasks, then save and exit.The specific format is described below:The format of each line is: time-sharing Week commandThe 1th column represents minutes 1~59 per minute with * or */1The 2nd column represents
Install node on Linux and use Linux to compile the best version.1, enter the website of node, find the Linux version download, here we right-click Copy.2. On Linux, use the command Curl-o node.tar.gz
Install Ubuntu (1 ).
This is the first time that a blogger has written a blog. Although he is studying computer science, he is also a beginner. I have solved a problem that has plagued me for a long time not long ago. I 'd like to share it with you.
Common configurations of the firewall in CentOS7, and configurations of the centos7 Firewall
# Start systemctl start firewalld # view the status systemctl status firewalld # stop disabling systemctl disable firewalldsystemctl stop firewalld # Add a
RHEL6 and RHEL7 restore the root user password, rhel6rhel7root
1. RHEL6 restore the root password
Restart the system. The following page appears. Press the up or down key to stop the system and enter the e key.
Select the red box option and
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