1. Common Configuration Network Instructions
(1) Configure the IP address of the eth0 and activate the device
(2) Add default gateway
(3) Configure DNS
$ sudo vi/etc/resolv.conf
nameserver
awk, like SED, is a streaming editor that operates on lines in a document, one line at a while. Awk is more powerful than SED, and it can do what sed can do, as well as what SED cannot do. Awk is often used to segment;Awk does not need to add any
OpenSSL is an open source SSL technology, because I need to use PHP related features, need to get HTTPS files so I have to install this thing. below to introduce Linux under the installation of OpenSSL, swoole, such as the detailed steps of
The default SSH port is 22. It is strongly recommended to change to more than 10000. So the probability of others scanning to the port is also greatly reduced. How to modify: # Edit/etc/ssh/ssh_configVim/etc/ssh/ssh_config
# under Host *, add a
This article describes the installation and configuration methods of the Linux Web services Apache, including mounting CDs, installing HTTP services, Managing HTTPD services, and httpd configuration files. Specific details can be referred to below.
The meaning of the TIME_WAIT state:The port status of the server-side connection is time_wait after the client closes the socket after the TCP/IP connection is established on the server sideis not all the active closed socket will enter the
Nic eth0 IP modified to 102.168.0.1
Copy Code code as follows:
Ifconfig eth0 102.168.0.1 netmask 255.255.255.0
Gateway modified to 102.168.0.254
Copy Code code as follows:
Route add default GW 102.168.0.254
Linux command line
#define LIKELY (x) __builtin_expect (!! (x), 1)
#define UNLIKELY (x) __builtin_expect (!! (x), 0)
Some people will ask why the above implementation of the use of!!, in fact, this played the role of type conversion, the non-bool data, converted
The security of the server has always been the primary consideration of the site. There are a variety of solutions for security. Linux Server firewall, the most commonly used to the number of iptables firewall. Iptables is commonly used in Linux
Introduction to Linux Kernel
Now let's look at the architecture of the Gnu/linux operating system from a relatively high altitude. You can consider the operating system from two levels, as shown in Figure 2.
Figure 2. Basic architecture of
Although Linux has always been playing, but the hard disk operation is not very familiar with today's free, just finishing the next.1, create a partitionCheck to see if there are no partitions on the disk[HTML]View Plaincopy
Fdisk-l
Iptables IntroductionNetfilter/iptables (referred to as iptables) constitutes a packet filtering firewall under the Linux platform, like most Linux software, this packet filtering firewall is free, it can replace expensive commercial firewall
grep: Searches for text based on patterns and displays lines of text that conform to the pattern.Pattern: Text word wildcards regular the expression's meta-character combination to match the conditiongrep [Options] PATTERN [FILE ...]-I (ignoring
I. BACKGROUNDA virtual machine (VM1) was created with VMware, and another virtual machine (VM2) was created by copying it. Set the network card on the second virtual machine as a fixed IP, when using service network restart to restart the network
One: DD commandDD: Copies a file with a block of the specified size and makes the specified conversion at the same time as the copy.Note: Where the number is specified, the number is multiplied by the following character:
Uninstall QT under UnbuntuMethod One:You can remove the it like this, the those developers should add this somewhere! Like next to the download textLinuxMint ~ # cd/optLinuxMint opt # lsqtsdk-2010.04LinuxMint opt #
Depending on your business needs, you need to migrate nexus-2.8.0 from Windows 2003 to CentOS 6.8 (x86_64). A few pits were met during the migration process, and this record has been made memo.Because the nexus is common across platforms, I first
The first way to read all the files is to use an iterative approach, first use the return value of function A to determine if there are files in the directory, and then return the value is valid in the loop with function B until the return value of
Tag: Mount MountA. Prepare a shared directory for WindowsSet up a folder to enable anonymous access, you can enter the password when the Linux mount.650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/8D/64/wKiom1iaqHey5x7CAABKZpWhSgE113.png "
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