Scene:The computer network segment of the classroom is 172.16.30.0/24 some learning materials and the IP of the Yum source is 172.16.8.100By default the classroom computer is interoperable and connected to the teaching ftp172.16.8.100Now need to
File Lookup: Locate, findNon-real-time lookup (Database lookup): LocateReal-time Find: FindLocateWorking mode:(1) dependent on pre-built indexes(2) The index is built automatically when the system is idle (recurring tasks)(3) Manually updating the
Function of kernel: process management, file system, network function, memory management, driver, security functionProcess: A copy of a running program that has a life cycleFixed format for Linux kernel storage process information: task structLinked
The firewall is divided into kernel State and user state:Iptables is a user-stateThe NetFilter is a kernel-stateIptables Integrated Language method:IPTABLES-T table name [ options ] link name condition -j ActionIptables-t
The Whereis command can only be used for program name searches, and only binary files (parameter-B), man description file (parameter-m), and source code file (parameter-s) are searched. If the argument is omitted, all information is returned.(1)
In general, when writing Linux programs, use tools such as SECURECRT or Xshell to telnet to the Linux server. It has recently been found to be very slow when establishing an SSH connection, but it can be used normally after a successful connection.
This article for Bo Master original, allow reprint, but please declare the original address: http://www.coselding.cn/blog/4/4-155.htmlBefore the construction once, no difficulty, but then a bit of a problem, did not go to use, this re-build,
Last-a the host name or IP address from which to log in to the system, displayed on the last line. -d Specifies the record file. Specifies the record file. Converts an IP address into a host name. -F
Specifies the record file. -N
Or
There are two possibilities for Linux to view disk space consumption through the command df-h, in fact, to view the disk block occupied by the file (block) Df-ih View index node occupancy (inodes) One, facing the disk full, the following command to
Target: Build bridge Virtual Bridge, ETH virtual network card, TUNTAP interface device under Linux. Send messages via ping, using the TUNTAP user application for sending and receiving messages.Environment: The test environment is VMware, UBUNTU14.1.
To delete files under Linux, use the RM command, as follows:RM [Options] FileOption Description:-f-force Ignore non-existent files, force Delete, no hint-I--interactive to delete interactively-r | -R--recursive recursively deletes all directories
Find bottlenecksThe system aspect that you are most interested in in metrics should be CPU usage and memory utilization.It is possible that the CPU will not be sufficient to handle the workload even after full tuning, in which case the CPU upgrade
Sometimes the server is in a strange situation, suspect that the machine is compromised, you can use this chkrootkig tool:Chkrootkit is an open source security Detection Tool His official website is www.chkrootkit.org:
web:192.168.1.10 nfs:192.168.1.111 Configuring Server for NFSInstalling the SoftwareYum Install RpcbindYum Install NFSCreate a shared directoryMkdir/tmp/rwMkdir/tmp/roChange of genus Swine GroupChmod-r nfsnobody.nfsnobody RWChmod-r
Automated Integrated deployment udeployer one-key batch installation deployment and udeployer one-keyBuild a project through jenkins; version Control; udployer automated integration; ucop business inspection to achieve efficient and highly available
[UNIX Network Programming] TCP client/server program example, unix Network Programming
Make a simple echo server:
The customer reads a line of text from the standard input and writes it to the server-> the server reads this line of text from the
Unixbench test VPS
1. What is unixbench?Unixbench is a set of unix system benchmarking kits. Unixbench is designed to provide a set of basic metrics for unix-like systems. Therefore, many projects test system performance. Each test has a score, 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