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
Turn from: https://blog.csdn.net/jack85986370/article/details/51321475
Lrzsz can be uploaded and downloaded in Linux instead of FTP.
LRZSZ official website entrance: http://freecode.com/projects/lrzsz/Lrzsz is a x,y, and Zmodem file Transfer
Recently because the company needs has been, has been in the development of CentOS, you know, this thing to engage in a problem, especially for my half-baked people, especially pain. As a result, it is estimated that a number of subsequent articles
CentOS Linux firewall configuration and shutdown
Firewall shutdown, turn off its services:
To view firewall information:#/etc/init.d/iptables status
To turn off the Firewall service:#/etc/init.d/iptables stop
Permanently closed. Do not know how a
Virtual machine Installation CentOS 5.6
1. Create a new virtual machine
2. Set up a later installation CD
3. Select the installed operating system
4. Set the processor, the default one, you can choose according to your own configuration
5. Set
Description of the operating system: CentOS 6.0 encountered a problem: Forget the Administrator account root password, can not enter the system solution: Reset the root password is 123456 operation: Boot system, in the system before entering the ESC
CentOS two ways to add programs to a service and set the service to start automatically:
The first method: use Chkconfig to configure the boot level
Under CentOS or redhat other systems, if the services are installed behind them, such as httpd,
Preparation: 1,centos 6.5 minimal Desktop2, configure CentOS to access the Internet
Starting: 1, using the command yum install XDM installation XDm
Manage X-Monitor collection with XDMCP support
2, modify the/etc/x11/xdm/xaccess file and
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,
1, CentOS7 to modify the host name
1) Hostname host name
Eg:
Hostname ityangs
Note: This way, only the temporary host name can be modified, when the machine is restarted, the host name changes back.
2) hostnamectl set-hostname xxx
Eg:
Hostnamectl
1. Download the latest version of UltraISO (I use the latest version), do not repeat here.
2. Start UltraISO, click on the "File" menu under the "Open" button, open the prepared ISO image files, such as Centos-7-x86_64-minimal-1511.iso, at this
Linux system is: CentOS 6.4 64-bit
I. Limitation of changes in the number of documents (1) VI /etc/security/limits.conf appended at the end * Soft nofile 10240 * Hard Nofile 10240 (2) VI /etc/pam.d/login Append session
SELinux (security-enhanced Linux) security-enhanced Linux is an implementation of mandatory access control (mandatory access controls). In this kind of control, Linux has a lot of operations that can be banned or unsuccessful. Before the
Lrzsz can be uploaded and downloaded in Linux instead of FTP.
LRZSZ official website entrance: http://freecode.com/projects/lrzsz/Lrzsz is a x,y, and Zmodem file Transfer protocol provided by a UNIX communications suite
Windows needs to upload
Recently you need to use c++11, so you need to upgrade GCC from 4.4.7 to 4.8.1.
First we need to download the GCC source
wget http://ftp.gnu.org/gnu/gcc/gcc-4.8.1/gcc-4.8.1.tar.gz
Then unzip into the directory
Tar-xvzf gcc-4.8.1.tar.gz-c/OPT/GCC
1. Installation times Wrong "This host supports Intel Vt-x, but Intelvt-x is in a disabled state";This error occurs because the virtualization setting is not turned on in the BIOS;Solution:Boot press f2/delete into the BIOS settings, select the
Environment:
centost6.5 x64
MongoDB 3.0 1, to the official website to download this file:
Mongodb-linux-x86_64-rhel62-3.0.0.gz
2. Install MongoDB (install to/usr/local)
Unpack the installation package under the/usr/local directory;
TAR-ZXVF
My CentOS version is:
#cat/etc/issue:
CentOS Release 6.2 (Final)
1. Install the associated package
Yum install kernel-headers kernel-devel gcc make
2. View the downloaded kernel code version
ls/usr/src/kernels/
2.6.32-279.14.1.el6.i686
VMware version:6.5.3
Using the command line tool Vmware-vdiskmanager.exe-x 36GB MYDISK.VMDK
Start a virtual machine
Create a new partition with Fdisk
Fdisk
N
P
3 (fill in the appropriate values here, if applicable)
(Accept the default, enter)
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