Linux displays the port occupied by the process name

Sometimes you need to check the port occupied by a process in Linux, but you only need to know the approximate name of the process. For example, you need to check the port on which the hadoop namenode runs to facilitate connection in eclipse. One

Linux centos port 80, 22, and 3306

1. Set [root @ localhost ~] #/Sbin/iptables-I INPUT-p tcp -- dport 80-j ACCEPT [root @ localhost ~] #/Sbin/iptables-I INPUT-p tcp -- dport 22-j ACCEPT [root @ localhost ~] #/Sbin/iptables-I INPUT-p tcp -- dport 3306-j ACCEPT2. Save [root @ localhost

Install and use rsync in linux

Install rsync first and then find/-name "rsync". find the installation file and create the rsync configuration file mkdir/etc/rsyncvi rsync. conf # Minimal configuration file for rsync daemon # See rsync (1) and rsyncd. conf (5) man pages for help #

Linux script Optimization after installation

After Linux is installed, the script optimization problem has just been installed on the Linux system. Many services are not available, but it occupies a lot of space in your memory, it affects your performance. The following script optimizes the

Linux Nic Configuration

Nic configuration file(1) The/etc/sysconfig/network-scripts/ifcfg-interface-name configuration file ifcfg-interface-name contains most of the details required for the initialization interface. The interface-name varies according to the type and

Ubuntu automatically mounts the specified device

When ubuntu is started, it reads configuration information from/etc/fstab and automatically mounts the specified device according to the configuration in fstab. The fstab file has a certain format. The following is the output after cat/etc/fstab is

View service commands in linux

Linux view service command Linux provides the chkconfig command to update and query system services at different running levels. Syntax: chkconfig -- list [name] is used to list the service www.2cto.com chkconfig -- add name to add the service

Fix Linux boot menu notes

Windows and ubuntu are two systems. When Windows is installed, the Linuxgrub boot is lost. Use a CD or USB flash drive engraved with ubuntu to enter the terminal to repair the Linux boot menu. grub must be connected to IOT platform when installed...

Common commands and error troubleshooting for emulator Android simulators in ubuntu

Some Common commands and troubleshooting for emulator Android simulators in ubuntu 1. How to Find the simulator process ps aux | grep emulator and kill it 2. Run emulator to prompt emulator: WARNING: system partition size adjusted to match image

Solution: root User Login Ubuntu12.04 LTS graphical interface

Solve the problem that the root user needs to log on to Ubuntu12.04 LTS. The graphic interface just updated Ubuntu12.04LTS. Would you like to try it ...... As a result, there is no other user options in the new lightdm logon option, which directly

CentOS6.2 install Redmine

CentOS6.2 install Redmine and use the method described in this article to successfully install ruby. The following describes how to install ruby. 1. delete old ruby, yum erase ruby-libs ruby-mode ruby-rdoc ruby-irb ruby-ri ruby-docs 2 wget

Install net-snmp5.7.1 in ubuntu

Ubuntu install net-snmp5.7.1 under Ubuntu install net-snmp, the specific steps are as follows: 1, get net-snmp installation package, here we select the source code installation method, of course, you can also select the ubuntu network Download

View commands in linux

View the processes that consume the most CPU and memory in linux. top 10 processes with the most CPU usage: ps auxw | head-1; ps auxw | sort-rn-k3 | head-102. top 10 processes with the most memory consumption ps auxw | head-1; ps auxw | sort-rn-k4 |

The disk space used by Linux does not match the display space.

The size and display of Linux disk space are inconsistent. operator told me that the disk space of XX server is insufficient. Let me help solve the problem. Immediately go to ssh, df-TH to see If 99% is used. All right, switch to the/directory, and

Basic Linux knowledge

Tips for Linux: press the tab key when you enter the su password. When you change the su password to the root user, the system will prompt you to enter the password, if the password is forgotten, you can use $: sudo passwd to set the password. 2.

Linux system problem summary-Update

Summary of linux system problems-Update 1. after creating a new user, switch to the new user: No directory, logging in with HOME =/Add useradd-m-s/bin/bash-g group loginname-m, otherwise, No directory will appear. Logging in with HOME =/)-s/bin/bash

Grub2 enters stable Branch

Grub2 enters the stable branch. Today, it synchronizes portage with a piece of news titled GRUB2 migration. It tells me that grub2 has entered the stable branch and will be installed in my gentoo and replace grub legacy. Provides a good

When an LVM is created, the following error occurs: Can't initialize physical volume & quot;/dev/ccis.

When an LVM is created, the following error occurs: Can't initialize physical volume "/dev/cciss/c0d1p1" of volume group "VolGroup01" without-ff solution 1. problem description on a Linux Server (CentOS5.8) when creating an LVM on a physical

Linux shell programming-variables and references

Linux shell programming ---- variables and References 1 variable 1 variables are used to save useful information, such as path names and file names. variables are essentially one or more memory addresses. 2 variables are divided into three local

Use the record tool (history, screen, script) in Linux

In Linux, the record tool (history, screen, script) is usually used to record only some time and overhead at work, but not some processes, this article will introduce some record methods in Linux: 1. The most common record methods of History/env. We

Total Pages: 5467 1 .... 4740 4741 4742 4743 4744 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.