Installing NginxYum Install NginxIf the Nginx package cannot be found, create a new file/etc/yum.repos.d/nginx.repo, Content:[Nginx]name=nginx repobaseurl=http://nginx.org/packages/os/osrelease/$basearch/gpgcheck=0enabled=1Where: OS replaced with
Because before the MongoDB shards are not used replica set, the recent network pressure is large, so prepare to study, so in their own computer virtual machine to build the environment, but found that before VMware set up DHCP, so every time after
in the process of using Linux, sometimes forget the root user's password (especially when the handover and the content of the document is not complete), this time we can enter the single-user mode to reset the root user password. here's how to reset
CentOS Network ConfigurationTurn on network functions#vi/etc/sysconfig/networkImportant Parameters:Networking=yes want to have a networkWhether Networking_ipv6=no supports IPV6Hostname= Host NameConfiguration file for Nic Related network
1002 mkdir ActiveMQ1003 chmod 777 ActiveMQ1004 CD activemq/1009 Wget http://mirror.bit.edu.cn/apache/activemq/5.10.0/apache-activemq-5.10.0-bin.tar.gz1011 Tar xzvf apache-activemq-5.10.0-bin.tar.gz1013 CD apache-activemq-5.10.01014 CD Bin1015 chmod 7
Required Software:1) easybcd-used to add and modify startup items2) partition Assistant3) wingrub-View Partition Volume tool4) ext2fsd-used when the installation image is greater than 4GThe first step: Install the above software in my
Two changes need to be modified: one is/etc/sysconfig/network and the other is/etc/hosts, and only modifying any of them will cause system startup exceptions. First switch to the root user.
/etc/sysconfig/network
Open the file with any
Today on a PC installed CentOS 7, at that time chose the minimum installation mode, the installation is completed immediately after the Ifconfig to view the IP address of the machine (LAN already has DHCP), found an error, prompted Ifconfig command
By default, CVS is already installed in Redhat Linux, which can be run with the Linux command line:Rpm–q CVSBut xinetd may not be installed by defaultRpm-q xinetdIf not installed, you can pass$yum Install CVS$yum Install xinetdTo installInstallation
First, install the JDK71. Download JDK7 from Oracle to the CentOS desktop: jdk-7u71-linux-x64.rpm2. Copy it to the/usr directory:CP '/home/shenzhun/desktop/jdk-7u71-linux-x64.rpm '/usr/3. Enter the/usr directory and give it permission to run the
CentOS 6.5 Compile and install gcc-4.8.01. Download the source code first
wget http://ftp.gnu.org/gnu/gcc/gcc-4.8.0/gcc-4.8.0.tar.bz2
2. Unzip
tar -jxvf gcc-4.8.0.tar.bz2
3. Download the
In general, XFS may cause data loss in the case of massive small file I/O scenarios. In this scenario, inode occupies a large amount of teaching resources.
The above method is used for formatting, and the number of inode is small. Through a
For specific errors, see
At first, I thought it was a DNS configuration error. After checking, I found that the DNS configuration is the same as that of the physical machine. The physical machine can resolve the DNS.
The file/etc/nsswitch.
Install centos and centos
1. First, you must have a CentOS installation medium. The following page appears when you start the computer with the media:
Interface Description
Install or upgrade an existing system Install or upgrade the existing
Create an NTP environment in Centos and a centosntp Environment
Recently, an Openstack and Ceph cluster were built. Because multiple nodes exist in the cluster and time synchronization is required between nodes, NTP is required. In addition, in some
The old raid on the CentOS server cannot be formatted.
An old hard disk is attached to the server. If you want to format the historical data and save it, use fdisk to report the following error:
/Dev/sda1 isapparently in use by the system; will not
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