1. Centos the default is to open IP Security policy, that is, 80 ports also prohibit external access, so first deactivate iptables.
Service Iptables Stop
or open to port 80.
Iptables-i rh-firewall-1-input-m state–state new-m tcp-p tcp–dport 80-j
Puppet is a centralized configuration management system for Linux, Unix, and Windows platforms, using its own puppet description language to manage profiles, users, cron tasks, software packages, system services, and so on. Puppet these system
Today after entering the CentOS to view the IP, execute ifconfig, but incredibly prompt: command not found. Look closely and find that the current user is not root. After using Su root to go to root, execute ifconfig again to prompt for invalid
The example in this article describes the CentOS 6.6 implementation method for permanently modifying DNS addresses. Share to everyone for your reference, specific as follows:
1. Configure IP address file /etc/sysconfig/network-scripts/ifcfg-eth0
To use commands on CentOS:
Pip Install Fabric
Installation is the following error will appear, because too much, I will not be all posted, some of the contents are as follows:
SRC/MD2.C:31:20: Error: Python.h: No file or
Objective
When executed under CentOS rpmbuild -ba package.spec , the system is usually required to install the corresponding dependency pack, which will cause the system to load a lot of useless software packages, occupy space. So I searched and
The article introduced the Centos use Yum installation mariadb, the relevant information can refer to this article.
Description: Must first be able to link the extranet. If you cannot access directly, you can also set up the agent, please refer to:
CentOS6.5 's own git version is 1.7.1
Uninstall self-brought git
# yum Remove git
Download the latest version of Git
# wget https://github.com/git/git/archive/v2.9.2.tar.gz
Extract
# tar ZXVF v2.9.2.tar.gz
# CD git-
Results click a link directly 404 Not Found. Tragedy, it seems that the Apache rewrite part of the problem, completely ignored. htaccess file! After checking the Apache module, found that the rewrite module is open, it appears that the configuration
In a Linux system, after installing a software or application, it is sometimes necessary to manually start the application, but also to receive the application added to the boot key, so that it can be installed on Linux once the application load
Official website documents: https://docs.docker.com/engine/installation/linux/centos/, most of the text is copied official documents written, if you are good English, then directly to the official document, if you are not English , then reluctantly
Installation may cause DNS to be emptied, so you need to perform the following command before you follow the steps to install
Chattr +i/etc/resolv.conf
1. Install (I am separately installed, you can also choose to install at the same time)
CentOS server initialization settings In fact, no Aliyun or other server, the operation configuration process and steps are similar, the following and small set together to see.One, mounted hard disk
1, disk partition
Fdisk-l #查看设备, you can
Scenario: The day before the virtual machine in the configuration of the centos6.3, you can normally surf the internet, and the FTP server to build up, today a boot this goods unexpectedly can not surf the internet, depressed ....
Problem:
The
To switch between GUI and command line interface, you need to modify a file ...Under Root, change Id:5:initdefault to/etc/inittabThe Linux system has 7 runlevel (runlevel):
RunLevel 0: System down state, system default RunLevel cannot be set
For server IPV6 Total 4 steps
CentOS default IPv6 is off, turn on IPV6
Go to https://www.tunnelbroker.net to request the corresponding IPv6 address for the server's IPv4 address
Add IPv6 to add AAAA (IPv6) Resolution for domain name
1, view cpu physical number grep ' physical id '/proc/cpuinfo | sort-u | wc-l 2, view cpu core number grep ' core ID '/ Proc/cpuinfo | Sort-u | Wc-l 3, view the number of cpu threads grep ' Processor '/proc/cpuinfo | Sort-u |
Introduction of environment operating system and software version1. Environment operating system for CentOS Linux release 7.2.1511 (Core)Available Cat/etc/redhat-release queries2. Software versionThe zookeeper version is: 3.4.9Note: Use Java–version
Problem Description:
The local IP cannot be found using the ifconfig command after installing CentOS7.
No Internet access
Unable to log on using SSH.
Go to catalogue/etc/sysconfig/network-scripts/To view the NIC configuration file name
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