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
Apache Default Site Directory settings
The Apache Default Web site Directory is in/var/www/html, we now want to change the site directory to/home/wwwroot/web1/htdocs, the following actions
To create a directory:Cd/homemkdir wwwrootCD Wwwrootmkdir
SSH is a remote login service similar to Telnet, but faster/safer than Telnet.1. View the status of the SSH serviceEnter the following command:Root user directlyService sshd StatusFront of non-root user plus sudosudo service sshd statusIf you
When the disk size exceeds the standard there will be alarm prompts, then if Master df and du command is very wise choice.DF can view the level of folder size, usage ratio, file system, and its mount points, but it does nothing for the file.Du can
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
vagrant can use the command line to quickly build Linux systems to achieve synchronization of development environments.
Step
Preparation Tool installation VirtualBox installation vagrant Download box system Mirror
Experimental environment:
Linux CentOS 5.5 Two units
IP Address:
ntpserver:192.168.186.129
ntpclient:192.168.186.152
Test requirements:
Install the NTP server and deploy the implementation to allow the client to synchronize its practices
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
The cloning of virtual machines greatly simplifies the need for more than one virtual machine, just a simple click on a clone to generate a virtual machine like the original virtual machine. Previously did not understand this, often is to manually
1.3 Understanding Linux1. Understanding LinuxLinux is an operating systemAndriod mobile OS is Linux2.linux originsLinux before the popular system is UNIX (Mac OS)The university teacher developed a teaching system Minix1991 Linus Torvald reference
Assume that there are 2 servers a (127.0.0.1) and B (192.168.0.1), a as a client to log on to Server B1. Use Ssh-keygen-t ras-p ' under Server AGenerate Public key (Id_rsa.public) and private key (Id_rsa) in the ~/.ssh directory2. Copy the generated
Objective
The Linux startup process plays a vital role in the actual production. Imagine what we should do if we had a problem with a service in the actual production and couldn't start it. If we understand the Linux detailed start-up
BackgroundIn a formal production environment, it is usually necessary to use terminal software such as Xshell to manage the production server remotely through a fixed IP address, so the production server needs to be assigned a static IP address to
Recently, due to project requirements, the server has been upgraded from CentOS6 to CentOS7, and the corresponding PHP version has also been upgraded to PHP5.6. We are familiar with the one-click installation package of the LEMP environment. However,
Configure Rsync first, as mentioned in the previous section.InotifyInstall and configure the inotify serviceBuild the inotify service on 8.8.8.1101. Download and install The code is as follows:Copy code Wget
The following steps are successfully tested on CentOS 5/6/7, RHEL 5/6/7, and Oracle Linux 6/7.Node 1: 192.168.0.9 node 2: 192.168.l.10Step 1:Test the connection and access from node 1 to Node 2:[Root @ node1 ~] # Ssh root@192.168.0.10The
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