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
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
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.
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
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,
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
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
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
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
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
# 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
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
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
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,
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
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
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
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
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