CentOS Port shutdown and open command

1 Check the currently developed ports #netstat-an Suppose you found an unnecessary port of 631. 2 Find the port corresponding service #lsof-I: 631 631 The corresponding service is CUPSD 3 View all Current services #chkconfig –list Found

Example of modifying SSH port number in CentOS

1, with putty or other terminals to connect the CentOS system, Vi/etc/ssh/sshd_config, find #port 22 2, remove the #port 22 before the #, and then put the copy to the following, such as the 22nd port to 2020, modified as follows: Port 22 Port 2020

CentOS 7 To modify the user login password

Rhel7/centos7 used GRUB2 instead of the previous grub boot, initialized by Init and replaced with SYSTEMD initialization. The resulting root password is also different from the previous operation when it is retrieved. Specifically as follows: 1.

CentOS Iftop installation and use of the tutorial detailed

First, what is Iftop? Iftop is a real-time traffic monitoring tool similar to top.Official website: http://www.ex-parrot.com/~pdw/iftop/ Second, what is the use of iftop? Iftop can be used to monitor the real-time traffic of the network card (you

Centos 5.5 64 bits, compile and install Subversion1.7

Two days of subversion!!!! Ah, go crazy ~ I use the same version: Subversion-1.7.2.tar.gzSubversion-deps-1.6.1.tar.gz Before these two versions of the files, I succeeded in compiling the installation under Ubuntu12.04 AMD64. However, here, Apr,

Two methods of installing MYSQL5 database in CentOS system

To put it simply, it is easy to install the software yum and will automatically resolve the dependencies of each package. RPM is just a package. CentOS to install MySQL5.5 in RPM mode First go to the

CentOS set user for Apache httpd

First, create a user www in CentOS. The code is as follows Copy Code Groupadd wwwUseradd--shell/sbin/nologin-g www www Second, set up User,group in the Apache configuration file httpd.conf. The

CentOS Date Time difference 8 hours how to solve

1, Vi/etc/sysconfig/clock #编辑文件Zone= "Asia/shanghai"Utc=false #设置为false, hardware clock is not consistent with UTC timeArc=false 2, Ln-sf/usr/share/zoneinfo/asia/shanghai/etc/localtime #linux的时区设置为上海 3, Ntpdate asia.pool.ntp.org #对准时间, you need to

Summary of CentOS System installation Node.js method

Preparatory work1, CentOS system upgrade Python to 2.7.32, Python 2.7.3 installation bz2 expansion Please be sure to complete the above operation before you do the following, otherwise please come back, and you will encounter the following error

Install scp commands and troubleshoot CentOS errors

In the test, files must be transferred between two virtual machines. The scp command is first generated, and the result is as follows:-Bash: scp: command not foundIf you use the yum install scp command for installation, the result is:No package scp

Centos 6.5 upgrade the system from Python2.6 to Python2.7

# Python-VPython 2.6.61. Download the Python-2.7.3 # Wget http://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz22. Extract # Tar-jxvf Python-2.7.3.tar.bz23. Change the working directory# Cd Python-2.7.34. Installation#./Configure# Make all# Make

How to Build Samba server under CentOS

PrefaceWhen we need to edit files on the linux server and do not want to log on to the server and use vi for editing, the Samba server is a good tool! The Samba server allows you to create a network ing on windows, and then you can use the sublime

Centos 7.x uses Dockerfile to create Beego Framework

Dockerfile contains all commands required to create an image. Based on the commands in Dockerfile, we can use the Docker build command to create an image. Simplify deployment by reducing the process of creating images and containersThe basic syntax

How to install Docker in CentOS 6.8

[Root @ DS-VM-Node211 ~] # Curl-Lks https://yum.spaceduck.org/kernel-ml-aufs/kernel-ml-aufs.repo>/etc/yum. repos. d/kernel-ml-aufs.repo[Root @ DS-VM-Node211 ~] # Yum remove kernel-headers-y[Root @ DS-VM-Node211 ~] # Yum install kernel-ml-aufs-devel

Steps for installing and configuring centos perf

Check some information. If you want to install perf, execute The code is as follows:Copy code Apt-get perfApt-get linux-toolsYum install google-perftools-develAnd so on.However, these items are not available in centos.Yum source cannot be found,

Centos 7 firewall opens port 80

Enable port 80Firewall-cmd -- zone = public -- add-port = 80/tcp -- permanentIf success is displayed, the instance is successfully added.Command description:-- Zone # Scope-- Add-port = 80/tcp # add a port in the format of port/communication

How to manage startup mode in CentOS 7

In CentOS 7, the init hosting service has been abandoned and changed to systemd. Therefore, the method used to modify the/etc/inittab file has expired.[Root @ Legion135 ~] # Systemctl set-default graphical.tar get # Start in graphic modeRm

Introduction to zabbix2.2 installation and configuration in centos

1. Install lnmp first. I will not talk about it here.2. Install necessary componentsYum-y install mysql-devel libcurl-devel net-snmp-devel3. Add a userGroupadd zabbixUseradd zabbix-g zabbix4. Create a databaseCreate database zabbix character set utf8

How to install L2TP/Ipsec VPN in CentOS

After countless attempts over the past six months, we have tested many methods for installing the software on the internet. The following is a record of successful methods.One-click L2TP installation packageThe one-click installation package of Zed

Ip address restrictions for memcache in centos 5.9

System: centos 5.9Required software: iptablesMemcache limits ip access: The code is as follows:Copy code Iptables-a input-p tcp-s 192.168.10.5 -- dport 11211-j ACCEPTIptables-a input-p tcp-s 192.168.10.24 -- dport 11211-j ACCEPTIptables-a

Total Pages: 394 1 .... 303 304 305 306 307 .... 394 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.