1, source code to install Nginx, and configure Port-based virtual hostConfiguration requirements: The host IP address is 172.16.249.96, which requires a virtual host of 80 ports and 8080 ports respectively.In the first chapter has explained how to
Concept:Sed is an online editor that processes a single line of content at a time. Processing, the current processing of the row is stored in a temporary buffer, called "pattern space", and then with the command to handle the buffer content,
To view system Information:~# uname-a (Linux view version current operating system kernel information)Linux iz23onhpqvwz 3.13.0-30-generic #54-ubuntu SMP Mon June 9 22:47:59 UTC i686 i686 i686 gnu/linuxSee if it's CentOS or Ubuntu:[Email protected]:~
First, the Task plan management--crontabEdit Scheduled Task: Crontab-e "-u user Name"View Scheduled Tasks: Crontab-l "-u user Name"Delete Scheduled Task: Crontab-r "-u user Name"Root user can manage scheduled tasks for a specified userOrdinary users
Devices in the system that can randomly (and do not need to sequentially) access fixed-size data slices (chunks) are called block devices, which are called blocks. The most common block devices are hard disks, and in addition, there are many other
Normally we need to invoke the functions and variables in the executable program directly from the dynamic library, and if the-l option is called, the Linux process will automatically add the functions and variables of the dynamic library to the
We compile each C or assembly file separately, but do not connect, generate a lot of. o Files, These. o files are first scattered, the first thing we need to consider is how to combine them, and secondly, these. o files have a mutual invocation
When the executable program to be compiled relies on a shared library, linker finds its dependent libraries in the order shown below.The following is from GCC manual, which is recorded here as a note.The linker uses the following search paths to
Absrtact: This design combines the embedded technology of ARM and Linux with RFID technology, which has special significance for realizing the low power, portable and network of mobile payment terminal. The first is the use of MF RC522 chip design
To determine the character encoding of the file, we use a command-line tool called "File". Because the file command is a standard UNIX program, we can find it in all modern Linux distributions.Run the following command:$ file–mime-encoding filename (
1. Command functionRM: Delete a directory or file2. Command formatRM [Options] Directory or file3. Command parameters-I: Interactive delete-R: Recursive Delete, delete directory-F: Force delete-V: Show more information4. Command instancesExample 1:
Linux has been around for more than more than 20 years, and it has spawned many distributions, including Slackware (derived from SuSE), Debian (derived from Ubuntu), and Redhat (Centos,fedora), the world's three major distribution editions. The
To enable the sharing of resources between Windows hosts and Linux servers, the Linux operating system provides samba services, and the Samba service bridges two different operating systems, enabling communication between Linux systems and Windows
Solve the mount timeout problem of the old linux nfs system, nfsmountBackground
Due to business needs, the school needs to transplant the examination system to the cloud platform. The first step is to mount the nfs storage platform of the old system
Problems encountered when creating nfs on linux ., Nfs creation in linux
When we deploy a program, the image server is a separate server with its own independent domain name. The application is deployed on another server. We use some attachment
Use the sudo command in CentOS
In linux, because the root permission is too large, it is generally not used. You can only log on to the root user to execute management tasks in some special circumstances. Generally, the su and sudo commands are used
Edit and configure CentOS desktop menus
Related configuration files:
*. Desktop file in the/usr/share/applications directory
Related directories:
$ HOME/. config/menus
/Etc/xdg/menus
/Usr/share/desktop-directories
After modification, you generally
Explanation of top and load in CentOSThe top command is a common performance analysis tool in Linux. It can display the resource usage of various processes in the system in real time, similar to the Windows Task Manager. The following describes how
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