Reset the root password of CentOS 7How to reset the root password of CentOS 6
1. Press esc to enter the cent OS 6 directory.
2. Select the kernel to enter and press "e" to enter grub.
3. Select the kernel option and press "e" to enter
4. Enter a Space key. Then, enter the number 1 and press Enter.
5. Select the kernel option and press "B". The system restarts aut
Recently, the long-awaited official centos 7 version has finally been released, so I am bored at home, so I plan to install it on my small y, because the notebook has installed the Windows 7 operating system, considering the usage requirements, we decided to install the dual system:
1. Download The CentOS-7.0-1406-x86_
Adjust the home partition in Centos 7 to expand the root partition.
Back up/home content, delete the logical volume of the/home file system, expand/root file system, create/home, and restore/home content1. View partitions
df -h2. Back up the home partition File
tar cvf /tmp/home.tar /home3. Uninstall/home. If uninstallation fails, terminate the process of using the/home file system.
fuser -km /home/umount /
I. software required during installation
1. Hard Disk partitioning software pqmagic
2. ext2Fsd (SEE) Copies files to the ext2 (or ext3) File System in windows, because ext2 file systems cannot be recognized in windows, that is, ext2 partitions are invisible in windows. Ext2Fsd can copy the corresponding files (mainly CentOS System Images) to ext2 partition by setting the display of ext2 partitions. In this document, the ext2fsdis the ext2fsd-0.51.exe
How to install Docker on CentOS 7
Docker is an open-source tool that allows creation and managementLinux containerEasy to use. Containers are like lightweight virtual machines and can be started or stopped in milliseconds. Docker helps system administrators and programmers develop applications in containers and can expand to thousands of nodes.
The main difference between a container and a vmvm is that the
, and special characters;2/STRONG: Check the length, number, case, and special character dictionary file.6). The validate_password_special_char_count password must contain at least the number of special characters
For example, I want to change the password to "1234 ";
Run
SET GLOBAL validate_password_length=4;SET GLOBAL validate_password_mixed_case_count=0; SET GLOBAL validate_password_policy=LOW;SET GLOBAL validate_password_special_char_count=0;
Then
Install nginxCentOS 7 has no built-in nginx, so first go to the nginx official website http://nginx.org/en/linux_packages.html#stable, find CentOS 7 nginx-release package File link, and then install the followingRpm-Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-re
Remotely install the CentOS 7 operating system using VNCBy No ifData centers are generally not local, if you want to reinstall the system, you have to run to the data center ...So there has to be a way to solve this problem remotely.At present, the main use of CentOS 7 is GRUB2, which differs from the grub1 of the past
In versions earlier than centos 7, the system running level is defined through the/etc/inittab file:
[[emailprotected] ~]$ cat /etc/centos-release CentOS release 6.4 (Final)[[emailprotected] ~]$ cat /etc/inittab # inittab is only used by upstart for the default runlevel.## ADDING OTHER CONFIGURATION HERE WILL HAVE NO E
.n Add a new partitionp Partition Type We select Primary partitionArea code 3 because it's already been used.Enter default start sectorEnter default end sectort Modify the partition typeSelect partition 38e modified to lvm8e is LVMW write partition TableReboot restart5.fdisk-l Viewing partitions650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7F/AE/wKioL1cpXSzAikzdAABWrCIgkew640.png "title=" 3.png " alt= "Wkiol1cpxszaikzdaabwrcigkew640.png"/>6. Capacity expansionLVM into LVM managemen
CentOS 7, lamp (PHP-FPM);Requirements: (1) Three separate from the host;(2) A virtual host is used to provide phpmyadmin; Another virtual host is used to provide WordPress;(3) XCacheLab Environment:
Host
System
IP Address
Deployment Services
A
CentOS 7
192.168.2.110
CentOS 7 install the latest Mono and centosmono through the continuous integration package
Mono 3.6.0 was released. This version has submitted a total of 878 commits since the previous version. A total of 66 contributors have participated in the development since March 10, 2014. Among them, 22 have contributed to the initial submission and they have fixed 112 bugs. For details, see the Mono 3.6 release, nug
CentOS 7 has been released and uses Apache 2.4 as the default Apache component. I heard that Apache 2.4 Event mode is very good, and the matching mod_proxy_fcgi and PHP has the original support PHP-FPM with the tacit understanding and good performance, plus Google's mod_spdy need to run in the thread safe Environment, instead of CentOS
centralize logging on CentOS 7 using Logstash and Kibana
Centralized logging is useful when trying to identify a problem with a server or application because it allows you to search all logs in a single location. It is also useful because it allows you to identify issues across multiple servers by associating their logs within a specific time frame. This series of tutorials will teach you how to install Lo
This blog post records the process of building a seismological research environment with CentOS 7 for my personal reference in future re-installation of the system. For other seismological researchers, it may be useful for reference.Reading instructions:
This article applies to the personal computer, does not apply to the server;
It is not recommended to use the
Install CentOS 7 and virtualboxcentos in VirtualBox
CentOS Linux is used for this study. The Virtual Machine Used is VirtualBox.
CentOS 7: http://mirrors.163.com/centos/7.4.1708/isos/x86_64/Ce
systemctl enable /usr/lib/systemd/tomcat.serviceln -s ‘/usr/lib/systemd/tomcat.service‘ ‘/etc/systemd/system/multi-user.target.wants/tomcat.service‘ln -s ‘/usr/lib/systemd/tomcat.service‘ ‘/etc/systemd/system/tomcat.service‘4) Use the following command to start, restart, and stop the Tomcat service$ systemctl start tomcat$ systemctl stop tomcat$ systemctl restart tomcat$ systemctl status tomcat4. Firewall settingsFirewall Open port 8080$ firewall-cmd
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.