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
as follows, when many of the same programs in the system generate multiple processes, and long time is not invalidated# PS aux | grep ' 172.17.221.254 '2547 root/root/cntl-h 172.17.221.254-p6646 root/root/cntl-h 172.17.221.254-p9606 root/root/cntl-h
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
Set special permissions)SUIDRole: Temporarily gives the owner of a user binary document permission (primarily for use by ordinary users for certain special commands)Grammar:chmod u+s file (increase s permission)chmod u-s file (minus s
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
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?
This case virtual machine test environment:securecrt version: securecrt_7.1.2Linux version: CentOS 6.6 (2.6.32-504.el6.x86_64)First, the password is connected to Linux. Select the Tools\create public Key ...650) this.width=650; "src="
Maintaining a server one of the important steps is to manage the opening and closing of ports to avoid the ports that external malicious attacks take advantage of because the service is running all the time.The first is the ability to view the
Centos7 Open PortAfter Centos is upgraded to 7, it finds that iptables cannot be used to control the Linuxs port. After google finds that Centos 7 uses firewalld instead of the original iptables. The following describes how to use firewalld to open
Build a local repository on Centos7
A local repository is built on centos7. The record process is as follows:
1, download centos7 iso file, I downloaded: CentOS-7.0-1406-x86_64-Everything.iso
(This file has a size of 7 + GB and a DVD file of about 4
Configure centos7 to access the Internet in VirtualBox
There are four network access methods in the VirtualBox graphic interface:1. NAT Network Address Translation mode (NAT, Network Address Translation)
2. Bridged Adapter Bridging Mode
3. Internal
Use command lines to test the network speed in CentOSSpeedtest.net provides the command line tool speedtest-cli. We can use speedtest-cli in Linux to test the broadband speed.Speedtest-cli is a lightweight Linux Command Line tool compiled by Python.
Crontab mobile logs-more than yesterday's own series (12), crontab logs
On linux, regular execution of some scripts is a common scenario for server management, such as timed check for the existence of processes, timed start or stop processes, and
Virtual Linux under vmware workstation Shares the Internet through NAT mode, vmwarenat
Under the vmware workstation Virtual Machine, Linux virtual machines need to access the Internet, which is usually in the bridging mode. However, my computer has
Install maven in ubuntu, and install maven in ubuntuInstallation environment
Operating System: ubuntu 14.04.1 server amd64Install jdk
Before installing maven, make sure that jdk has been installed.
For how to install jdk, see "Install jdk in ubuntu".
Installation and Use of Tsung
Tsung is an open-source stress testing tool for erlang. It can be used to test servers such as HTTP, WebDAV, Mysql, PostgreSQL, LDAP, and XMPP/Jabber. For HTTP testing, Tsung supports HTTP 1.0/1.1, including session
CentOS 6.5 Tomcat7.0.57 session sharing through msm
CentOS 6.5 Tomcat7.0.57 session sharing through msm
Generally, session sharing is implemented. The most common method is through memcached-session-manager. Next, let's talk about how to share
Use Maven to build an integrated development environment for Struts2 + Spring3 + Hibernate4
After more than three years of JavaEE development, in normal JavaEE development, in order to be able to develop projects at the fastest speed, Struts2,
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