Fork () function
The only way to create a new process in Linux is to use the fork () function. The fork () function is a very important function in a Linux system, which is different from the one we've encountered before, because it looks like it's
When we use Linux to set up Web servers and FTP servers, we may encounter the need to implement multiple sites on a single service (virtual host), in which case we can increase the physical network card to solve. But how many extra slots do we
Linux one-click to install the Web environment full introduction
Tools: update_source.sh
Uploading download files using the SFTP feature
Tools: auto_fdisk.sh
Teach you nginx how to add pseudo static
Tools: install_vnc_server.sh
REDHAT5 and
sometimes Linux has more than one network card, you need to add a route for some other Nic, so that the network can not go through the NIC out
1, view the local route, as follows
2, add to a host address of the route, such as the following,
Temporarily modify IP address, gateway, host name, DNS, immediately effective, no reboot (failure after reboot)
1. Modify Host Name
The code is as follows:
#hostname Slyar
2. Modify IP address (eth0 is the name of the network card)
The code is
Software installation in a Linux environment, it is not an easy thing to do; If you compile from the source code after the installation, of course, the matter is more complex; now the tutorials for installing a variety of software are very common;
The function of the WC command is to count the number of bytes, words, and rows in the specified file and display the results to the output.
Syntax: WC [options] File ...
Description: This command counts the number of bytes, words, and lines in a
first, starting from the foundation
Some friends often ask questions in Linux forums, but most of them are very basic. For example: Why do I use a command when the system tells me that I can not find the directory, how can I limit the user's
Firewalls can be divided into several different levels of security. In Linux, because there are many different firewall software to choose from, security can be low and high, the most complex software can provide almost impermeable protection
This paper introduces the use of Squid Proxy server, which is famous and commonly used in Linux, and focuses on how to use its access control policy to ensure the legitimate use of proxy server.
Proxy server is the function of network users to
The steps described in this article may not be necessary, but the author does not verify it further, so all the steps in the installation process are listed here.
1. Install Redflag Linux 5.0 Desktop Edition
2. Prepare before installation, make a
One: DHCP
1. Insert the system disk first and mount it into the server Find-name "dhcp*" Query and locate the package to install
2. Overwrite the configuration DHCP template file on the/etc/dhcpd.conf and then configure the address pool, such as
The DD command is powerful, and for some of the lower-level issues, using the DD command can often be surprisingly effective. Use a more or DD to back up the bare devices. It is not recommended, however, that if you need to back up your Oracle bare
Package class failures are more common in Linux systems, such as: when you need to compile the source package program, the system does not have the GCC compilation tool installed, the installation of the RPM software package has unresolved
With the development of Internet, e-mail has grown rapidly into a major network information transfer tool. Faced with the demand for fast, inexpensive, and highly reliable e-mail, many companies and individuals use the services provided by Linux as
Linux memory management has a set of mechanisms: when the system memory overflow, it will select a/several appropriate processes to kill to maintain the stable operation of the system. But the machine is a machine, although it makes every effort to
This article mainly faces the new novice, does not have any high difficulty question discussion, including the double network card, the normal compilation driver also cannot use the strange network card and so on. The main purpose of this article is
When we install a package with the RPM tool under Linux, we always encounter problems with the installation because of the dependencies between the packages. For people familiar with Linux, it may be possible to judge the software packages that
Linux's service hosts are exposed to the Internet and are often harassed by illegal users. such as weak password scan, exploratory login;
All this poses a threat to Linux hosts. The following script will shut out the illegal user.
Principle: Get
A very simple command, pgrep, can quickly locate the PID of a process that contains a keyword; using this command, no longer use PS aux to go to which process PID
Usage:
Pgrep-l XXX
Description
-l parameter, which can display PID and process
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