Ways to open ports:Method One: Command line mode1. Open port command:/sbin/iptables-i input-p TCP--dport 8080-j ACCEPT2. Save:/etc/rc.d/init.d/iptables Save3. Restart Service:/etc/init.d/iptables restart4. Check if the port is
The network software is composed of the client and the service side, and the server listens to the specified port to process the received data, and the client sends the data to the server-side listening port, and the data is processed by the server
1. File basic informationTime Type: Access time, change time, modification time, delete timeYou can use the Stat command to view file time2. File types-Normal fileD catalog Fileb Device files (block devices)C Device file (character device)s socket
Linuxfile content Viewis aLinuxOperations , the following is an essentialLinuxview a summary of the commands under common file content. 1. Cat starts displaying the contents of the file from the first lineUsage:Cat-a is equivalent to-vet 's
Linux: Operating system, common commands on Application server: CD switch command CD/CD~CD../.. /CD XX ll show all the files ll-h friendly Display mkdir create directory mkdir directory name mkdir-P a/b/b/b rmdir Remove directory rmdir directory
Linux---Tail commandTail command---in linux for viewing file contentsThe most basic are cat, more and less.1. If you want to see only the first 5 lines of the file, you can use the Head command, such as:Head-5/etc/passwd2. If you want to view the
The basic application of Iptables firewall on Linux iptables is commonly used on Linux firewall software, the following VPS detective to everyone said Iptables installation, clear iptables rules, iptables only open the designated port, iptables mask
in the configuration Hadoop is, in the format of Hadoop, there is no JDK found I used CENTOS7 is 64 bit, found that the machine has Java, looked for its location found the JDK-1.7.0_75which java[[email protected] Hadoop-1.1.2]# which
Linux knowledge point details, linux knowledge points1. My Linux requirements
Here we will discuss my requirements for online Linux machines, so I will only discuss stable releases and a relatively conservative version. For example, the xfs of
Check the file modification history in git, troubleshoot git errors, and solve conflicts
This article records several git-related code comparisons and displays the file modification history commands, which are useful in the process of resolving
Common commands for transferring files between linux systems
In linux, the scp command is generally used to transmit files through the ssh protocol. Below are just a few examples.
1. download files from the server
Scp username @
Install the latest video editor Avidemux 2.7.0 on Ubuntu 17.10 and 18.04.
Avidemux 2.7.0 is released. Download and install Avidemux Video Editor in Ubuntu. Avidemux is a free video editor designed for simple cutting, filtering, and encoding
Save the window position in the Xfce session
Abstract: If you find that the Xfce session cannot store the location of the window, enable "save upon logout" and log out again, this problem may be fixed permanently (if you want to maintain the same
Linux fmt command usage and Cases
Sometimes you will find that you need to format the content in a text file. For example, the text file has one word per line, and the task is to put all words in the same line. Of course, you can do it manually, but
Add the first image tutorial for the monitored server on the zabbix3.4web interface and the first image tutorial for zabbix3.4web
The monitoring server of zabbix is managed as a group. Before creating a single monitored server, you must create a
Simple implementation of Linux multi-process CS ServerLinux multi-process CS server
Multi-process multi-user connection, that is, each user has a connection. Here, the server still converts the received string to uppercase and returns it to the
Build a Web Cluster Environment Using Nginx and Tomcat
I have been familiar with tomcat for web servers for a long time, but I am still a little unfamiliar with nginx. Once I see nginx configuration, there is an inexplicable rejection. This is a
Install and configure Solr 7.2 in Linux
Solr is an independent enterprise-level search application server that provides APIs similar to Web-service. You can submit an XML file of a certain format to the search engine server through an http request
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