Current location - Quotes Website - Team slogan - Linux configuration listening port Linux configuration listening
Linux configuration listening port Linux configuration listening
How to install Oracle 1 1g in linuxsuse to create listening?

1, cd$ORACLE_HOME/network/admin, just create listener.ora, which can be copied from other computers or generated by templates. It seems that even if this file doesn't exist, you can start listening. 3. start listening. 4. Check whether the port 152 1 opens netstat-ntlp.

How to check which ports are located in listening state under Linux?

Use the netstst command to view the ports in listening state:

1, netstat-nupl//n/n indicates that the port number is displayed in digital form, u indicates the UDP protocol type, p indicates the program PID, and l indicates that it is in listening state;

2.netstat-nuplf|grep3306// This means that the process with port number 3306 is located in listening state.

How to start oracle service and listen to commands under linux operating system?

1. Switch to oracle user su-oracle.

2, startdb.sh command script #! /bin/shlsnrctlstartsqlplus "/assysdba " EOFstartupEOF

3.netstat-ntlp or ps-ef|grepora check.

4.shutdb.sh command script #! /bin/bashlsnrctlstopsqlplus "/assysdba " eofshutdown immediate of

How does linux open and close ports?

First, check which ports netstat-anp has opened. Second, close the port number: iptables-a input-ptcp-drop port number -jdropptitables-aoutput-ptcp-dport port number-jdrop. Third, open the port number: iptables-a input-ptcp-dport port number -jACCEPT. Four, the following is the use of linux open port command. NC-LP23 (telnet) netstat-an | grep23 (check whether to open port 23) V. linux open port command Each open port needs a corresponding listener to suit the learning path of entry. Please read "This is how Linux should learn".

Linux network operation?

Linux network operation

1. 1. View the processes occupying the port.

Method 1 netstat

netstat-an|grep8080

1

Method 2 lsof

lsof-i:80

lsof-itcp:80

1

2

1.2. Close the firewall.

systemctlstatusfirewalld . service

systemctlstopfirewalld.service

systemctlstartfirewalld . service

systemctldisablefirewalld . service

1

2

three

four

five

six

1.3. Close selinux.

##setenforce0 temporarily sets SELinux to license mode.

##setenforce 1 Temporarily set SELinux to forced mode.

setenforce0

vi/etc/selinux/config

Change SELINUX=enforcing to SELINUX=disabled.

# View

$getenforce

defective

$/usr/sbin/sestatus-v

SELinuxstatus: disabled.