1. List the cores that are being used in the system:
Uname-a
Linux localhost.localdomain 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu June 17:05:11 UTC 2016 x86_64 x86_64 x86_ Gnu/linux
2. Query the entire kernel of the system:
Rpm-qa | grep kernel
Linux/centos How to see if the NIC is 100M or 1000M. Check the 100 gigabit or gigabit (1GBPS) bandwidth access, please see the command below
[root@www.ctohome.com]# mii-tool-vMII-TOOL.C 1.9 2000/04/28 00:56:08 (David Hinds)Siocgmiireg on eth0
Prerequisite: Need to download apache-tomcat-7.0.57.tar.gz, and has built the Java environment
Installation steps:
1. Copy the apache-tomcat-7.0.57.tar.gz to the Linux system/usr/local directory
2. Decompression: # TAR-ZVXF apache-tomcat-7.0.57.
When using the CentOS operating system, the firewall configuration is very important, he is concerned about the safety of our computer. Once when the ORACLE database was installed under the CentOS operating system, it was shown that the EM
A hard drive was added under the virtual machine.
You now need to partition and format your hard disk.
Typing the following command FDISK/DEV/SDC
And then in the pop-up dialog box, typing n (new partition)
As shown in the following figure
These days have been plagued by the merging of SVN's branches, and everyone reflects that merging between branches is too much trouble, and sometimes it's not known which version was last merged. There were ways to prevent errors from occurring on
Service Crond start/starting ServicesService Crond stop//off servicesService Crond restart//Restart servicesService Crond Reload//Once again load configurationThere are two ways to add new scheduling tasks:1, at the command line input: CRONTAB-E and
installation of Centos7 Python3.5
Centos7 is installed by default python2.7.5 because some commands use it like Yum it uses python2.7.5
(Personally, don't think it's a/usr/bin to transfer python from 2.7.5 to Python3.)Create a PYTHON3 connection
Centos 6.5 has been released, but Python is a 2.6.6 version, and you can upgrade Python yourself for friends who want to use a new version of Python. 1. View the current version of Python.
[root@localhost liukk]# python
python 2.6.6 (r266:84292,
A new Linuxcentos server, installed PHP environment, found that the Apache default resolution path is/var/www/html, if you do not want to use this default path, you can set up a directory. Example: Create a new/data/website folder under the root
In some cases we may need to use the virtual IP (VIP)
First we can use the command:
IP addr
Check the name of the network card currently in use and the current IP.
As shown in the figure above, eno16777736 is the current network card name.
Source: http://www.php114.net/2013/1019/637.htmlObjective: To reduce the volgroup-lv_home to 20G and add the remaining space to the Volgroup-lv_root
1. View disk usage First[root@localhost ~]# df-h File system capacity is used available% mount point
first, look at the running level of the system and whether the desktop environment is installed
1. Use the command runlevel to view the current run level, as shown in the figure
2, use the command Yum grouplist | more to see if you have installed
Experienced hardships in VirtualBox installed Centos7, habitual played a day ifconfig, the results found that the command is invalid, and then after a series of checks found no ifconfig this package,
So to install a ifconfig package with Yum, it
1. Add a new network adapter in the virtual machine according to the following two pictures
Two. See if the NIC is recognized!Vi/etc/udev/rules.d/70-persistent-net.rules #可以看到有两块网卡!
Copy eth1 Card's MC address, next we want to create ifcfg-eht1
Reference article: 51CTO recommended Blog-CentOS yum Source Configuration Tips
This article refers to the above blog, and make some adjustments.
Brief Introduction:
Linux package rpm is convenient to use, but it does not solve some of the
1, CRONTAB-E, enter the editing interface2, Input/2 * * * * * curl http://www.baidu.com, means every two minutes to visit the Web page3, save exit, then service Crond Start Services4, Chkconfig Crond on set to boot from5,Basic format:* * * *
Maven Installation Method 1. Download the latest Maven tar.gz package from MAVEN official website http://maven.apache.org/download.cgi and upload it to CentOS
Method 2. or directly on the CentOS wget command to get2.1 First to get the latest maven
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