Run the following command to check port usage in Linux: lsof-I: & lt; port number & gt; for example: www.2cto. comLinux code [root @ SonarServer1user0] # lsof-I: 80COMMANDPIDUSERFDTYPEDEVICES...
In Linux, use the account used to start the service to
We add port 80 as an example: [root @ centoshttpd] #/sbin/iptables-IINPUT-ptcp -- dport80-jACCEPT save [root @ centoshttpd] #/etc/rc. d/init. d/iptablessaveiptables: save the firewall rule to/etc/sysconfig. The following is an example of adding port
1. RHEL and centos are commercial versions of RHEL. there are still differences between RHEL and centos based on open source code and version recompilation. RHEL stability is higher than centos. However, RHEL upgrade and yum source services must
Part 1: The core concept of VLAN refers to 802.1Q, which is known as VLAN. when it comes to VLAN, there are basically no blind spots and a network base.
Part 1: Core concepts of VLAN
Speaking of 802.1Q, we all know VLAN. Speaking of VLAN, there are
Most of the information about inode is translated as an index node. in the ext3 file system, adjust the inodenumber of the disk. Here we only adjust the inodenumber parameter. if you want to adjust inodesize or blocksize, you can use the mkfs. ext3
Command line this section lists the components of the iptables command line (content following the utility name iptables ). Besides the clearly marked parts, the utility iptables has no special requirements on the location of command line parameters.
Computers on the network can be easily scanned by hackers using tools or other means to find vulnerabilities in the system and then attack the vulnerabilities. By disguising the Linux system and setting system illusion for hackers, hackers can
First, explain the result format of tcpdump (refer to "laruence's Linux House dish"). The following data is captured by using the tcpdump command: 04: 00: 59.483389IP192.168.1.1.ssh192.168.1.2.netuitive: P46808: 46956 (148) ack365win1286404: 00: 59.4
On the redhat platform, to use the local RPM installation package to install some packages, you must rely on other packages, at the same time, it may take a long time to install some dependent packages on the server to go to yum on the Internet.
PowerDNS introduction PowerDNS is a high-performance domain name server. in addition to supporting common BIND configuration files, PowerDNS can also read data from databases such as MySQL, Oracle, and PostgreSQL. PowerDNS is installed with
In ubuntu software installation of various formats and commonly used commands Ubuntu software installation methods: www.2cto.com (1). bundle format to VMware-Workstation-Full-7.0.0-203739.i386.bundle as an example of the command is as follows:
In Vim, the file recovery operation may not be performed using Vim in Linux many times, but some people do not know that Vim still has the file recovery function after an abnormal power failure. (Vim, you can also understand Vi. Vi on many machines
Fedora access to samba server error: & quot; you may not have permission to use network resources & quot; if you cannot access it when using Samba to create a Window to share with Linux, if you do not have the permission to use network resources,
Ubuntu installation hard raid intelesrt2 work need to configure a hard disk consisting of two RAID 1, configured as S1200BTSR host, E3-1230v2, 8GECC memory, this is the current mainstream is also relatively cheap server configuration, next we will
Shell script syntax -- if/then/elif/else/fi is similar to the C language. in Shell, use commands such as if, then, elif, else, and fi to implement branch control. This process control statement is essentially composed of several Shell commands, such
About using yumTheprogrampackage-cleanupis... when using yum, there is always a prompt message: Theprogrampackage-cleanupisfoundintheyum-utilspackage.www.2cto.com or prompt: Thereareun... about using yum "The program package-cleanup is... when using
In linux, how does one view the computer configuration cat/proc/cpuinfo and view cpuwww.2cto. comfree-m View memory fdisk-l view hard disk partition df-h view Mount directory ifconfig view Nic information ethtooleth0 view detailed Nic working mode
Linuxps command parameters and usage details PS is the most commonly used and very powerful process in LINUX to view Command 1. ps introduction www.2cto.com the two commands mentioned earlier are used to view the current user status of the system.
Getting started with linux network configuration (I) network interface www.2cto.com ① naming rules linux kernel specifies different prefixes for interface names based on the interface type, each interface will be allocated a number from scratch...
Sshpass + ssh automatically enter the password to connect to the C code sshpass-p & amp; #39; password & amp; #39; ssherdan@192.168.1.2 # can put the password in a file (the first line ?), Then, the-f parameter specifies the file. during The
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