CentOS appears missing Dependency:kernel-header solution, note here
The error message is as follows:
The code is as follows:
Glibc-headers-2.5-81.el5_8.2.x86_64 from updates has depsolving problems
--> Missing dependency:kernel-headers >= 2.2.1
This article records how to install VirtualBox4.3 on a newly installed CentOS6.2 Linux system
1, change yum configurationPython
The code is as follows
Copy Code
[Root@itchenyi ~]# cd/etc/yum.repos.d/[Root@itchenyi
Prepare the article:
First, configure the firewall, open 80 ports, 3306 ports
Vi/etc/sysconfig/iptables #编辑防火墙配置文件
# Firewall configuration written by System-config-firewall
# Manual Customization of this file is not
We must understand: Minimal permissions + minimum service = maximum security
Therefore, regardless of the configuration of any server, we must turn off the unused services, set the system permissions to the minimum, so as to ensure the maximum
Prepare an article
First, firewall configuration
CentOS 7.x defaults to use firewall as a firewall, here to iptables firewall.
1. Close firewall:
Systemctl Stop Firewalld.service #停止firewallSystemctl Disable Firewalld.service #禁止firewall开机启动
2.
CentOS virtual machine and Physical machine shared folder implementation process.
First, install VMware Tools
The Vmwaretools installation script is to be used in Perl, and CentOS 6 does not have Perl itself, so it needs to be installed on its own.
LNMP Environment installation 1. Install dependent dependencies Use the Yum program to install the required development Kit (the following is the standard RPM package name) yum Install gcc gcc-c++ gcc-g77 Flex Bison autoconf Automake bzip2-devel
The first method is upgraded to the latest version and is installed faster
1. Import KEY
rpm?--importhttps://www.elrepo.org/rpm-gpg-key-elrepo.org
2. Install Elrepo yum source
rpm-uvh http:// WWW.ELREPO.ORG/ELREPO-RELEASE-7.0-2.EL7.ELREPO.NOARCH.RPM
Server System: 64Bit CentOS 5.5
Although the introduction of Crontab is everywhere, read the term in detail, the harvest is still available. Crontab This name comes from "Chronos", an ancient Greek, "time" meaning (the following usage in the
Processor usage
Here you will extract four data from/proc/stat: User mode (users), low priority user mode (NICE), kernel mode (System), and idle processor Time (idle). They are all located on the first line of the/proc/stat file. CPU utilization is
twemproxy Download
Https://github.com/twitter/twemproxy Installation Step 1, first view the current version
$rpm-qf/usr/bin/autoconf
2. If the version is below 2.64, you need to uninstall the following
3. Download and install the new
Centos, Ubuntu, Debian Three Linux are very good system, open source system, also pay for the commercial version and free version, the following simple comparison of these three systems.CentOS SystemA very large number of commercial companies
#创建docker组 [email protected]:~'docker' already exists# Join the current user to the Docker group [email protected]:~$ sudo gpasswd-a ${user} dockeradding user Weiyj to group docker# restart Docker Service [EM AIL protected]:~$ sudo service docker
1, first to Http://mirrors.163.com/centos download packagex86 Address: http://mirrors.163.com/centos/6/os/i386/Packages/x86_64 Address: http://mirrors.163.com/centos/6/os/x86_64/Packages/The necessary packages to download are (for example, 64-bit
Ubuntu,centos the SSH Remote Encryption Connection service is not installed by default.Use the command to install.0.sudo apt-get Install Openssh-server openssh-client1.rpm-qa | grep ssh to see if SSH is installed if no No. 0 step is
Many Commands can only be executed as root, so we need to become a root user. To do this, we can use the su command (replacing users ). The su command has the following format: Su-OrSu But we usually use the su command to become the root
Step1. install client softwareWhen you log on to CentOS from a local Windows server, you must use the client software to establish a connection.We recommend that you use the SecureCRT and putty clients to log on.Install the SecureCRT client on the
1. Start power supply:2. Select the first item, as shown in the following figure:3. Select the Skip address, as shown in the following figure:4. Click Next, as shown in the figure below:5. Select English and click Next, as shown in the following
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