Today, the teacher laid out a topic in the network software design class.Requirements are Windows environments and are now implemented in Linux environments.Run the C/s mode of 2 programs, using the UDP protocol, send 10 times, calculate the average
The operating system centos6.5, on top of which VNC server is installed, can log on remotely using VNC client on Windows. 1. Installation Yum Install tigervnc-server.x86_642. Set the passwordvncpasswd xxx3. Perform vim/etc/sysconfig/vncservers
In the early days of the popularization of computer networks, many OS systems used a single network card, that is, a network card using an IP address. With the increasing demands of the network, we can bind aggregation of multiple network cards when
The interview was asked where the file name of the Linux system was placed, not answered. :-(here summarized below:We can divide a disk into one or more partitions. Each partition can contain a single file system.The I node is a fixed-length record
Each process in a Linux system is identified by a process ID, a process descriptor that corresponds to a task_struct structure in the kernel, and the task_struct of all processes in the system are linked through a chain table, and in the kernel it
1. Configuration required in kernel[Python]View Plaincopy
Device Drivers (USB drive belongs to storage device, Linux defines it as SCSI device)
SCSI Device Support--->
scsi device support
Usage version: Centos6.5What the rescue model does:You can change the root password;Recover hard disk, file system operation;When the system starts, it can only be started by rescue mode;The steps to start the rescue mode are as follows:1, the first
with the operation of Tomcat, Catalina.out files will grow larger, although Tomcat will generate a Catalina.ymd.log file every day, but Catalina.out main file is still increasing, need to catalina.out by the day, to find a bit on the Internet, see
Delete Line 2ndNl/etc/passwd|sed ' 2d '
Delete Line 3rd to last rowNl/etc/passwd|sed ' 3, $d '
Add a string after line 2nd drink teaNl/etc/passwd|sed ' 2a drink tea '
Add string drink tea before line 2ndnl/etc/passwd|sed ' 2i drink tea '
Add
The more command, which functions like cat, the Cat command is the entire contents of the file displayed on the screen from top to bottom. More will be a page-by-page display to facilitate users to read pages, and the most basic instruction is to
John von Neumann von Neumann(operator, Controller) CPU memory RAM I/O inputProgram: is made up of instructions and dataAddress bus: Intrinsic addressingData bus: Transferring dataControl Bus: Control instructionsPhysically, the three types of buses
First, grep
Keyword display color, plus line numberDmesg|grep-n--color=auto ' ETH '
Displays the first 2 lines and the last 3 lines of the line in which the keyword is located.Dmesg|grep-n-a3-b2--color=auto ' ETH '
Automatically add
Use Xshell to set the key to log in to the server, the first step, using Xshell to generate the keyWe open the familiar Xshell software and then in the tools-New User key Generation Wizard.To generate the key parameter interface, we need to select
Linux kernel has some related architectures under the Arch directory in source code:x86:x86 is an instruction set architecture family;earlier processor names in this series are represented by numbers80x86. Due to the end of "86", includingIntel 8086,
After nine years of mediocre work, finally decided to learn a good 0perating systems: operating system. After many twists and turns after joining the caravan to learn Linux. Just like the beginning of the history of Linux, understanding a thing can
I ' m new to the use Vagrant, today upgraded the next vbox in the ubuntu12.04 kernel, the results vagrant reload after the error.Failed to mount folders in Linux Guest. This is usually becauseThe "vboxsf" file system is not available. Verify thatThe
Tcpdump-i eth0-nt-s Port Domain Host-t A www.baidu.com Www.baidu.com is a alias for www.a.shifen.com.Www.a.shifen.com has address 119.75.217.109Www.a.shifen.com has address 119.75.218.70 IP 192.168.5.115.47195 > 192.168.5.1.domain:16925+ A?
Let's look at the definition of ARP.Now Linux runs this commandTcpdump-i eth0:1-ent ' (DST 192.168.5.190 and src 192.168.5.109) or (DST 192.168.5.109 and src 192.168.5.190) '-Xbc:ee:7b:9d:ee:02 > Broadcast, EtherType ARP (0x0806), length 60:request
Linux notes, linux
Why use virtual users:Anonymous accounts can ensure the security of the FTP server, but the permission management for anonymous users is not flexible enough. if you want to grant more permissions to the FTP account, you can use
Run and close the CentOS background and view the background task commands
Fg, bg, jobs, &, nohup, ctrl + z, ctrl + c command
I ,&
At the end of a command, you can put the command in the background for execution, as shown in figure
Watch-n 10 sh
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