PHP connection to the database is not a problem, after upgrading to 10.10, the sudden connection is not. This problem has been on for a long time, and today suddenly search for an article.Solved by means of a link. The original text reads as follows:
To change the root password using single-user mode hack:1, if you forget the root password of Linux, you can enter the single-user mode to change the root password, first we restart the virtual machine, the operation is as follows:650) this.width=650
Linux Systems
Stop the MySQL process#service mysqld RestartOr#/etc/init.d/killall -term mysqld (not recommended)
Start MySQL in safe mode# mysqld_safe–skip-grant-tables &--skip-grant-tables >/dev/null2>&1 &
Log in to MySQL#
SU: Switching usersCD: Switch directoriesPWD: Show current directoryClear: Clear command shortcut key: ctrl+lLS: Displays the files in the current directoryLs-l = = ll: Displays files in the current directory in a user-friendly formatLs-i:Ls-al:
======== password action for root user (change user password)========Just installed MySQL, only one has a root user, password is empty, and can only be logged in the machine!add password xxx123 to root:./bin/mysqladmin-u Root Password xxx123or
Lesson 21:linux System Start-up detailed
Bios->mbr:boot code-> Execute bootloader-grub-> load kernel--Execute Init->runlevel
BIOS (Basic Input Output System), generally saved in the motherboard of the BIOS chip, the computer starts, the
****************************************************date:2016-05-07 time:10:53:42 author:gaojiaxing****************************************************File Management Commands1. LS: Lists the files under the current path1). Ls-l: Displayed in long
1. Root password hack/forgot root password:Steps:(1) Enter the GRUB Options menu when the system starts;In the system to read seconds, press ENTER, pay attention, to quickly, read seconds of time quickly, but also note that, although the need for
PXE the overview and use of the detailedNow the enterprise procurement of many computers are not optical drives, how to install the system? In addition, how can you quickly and massively install Linux server operating system, is there any good
Linux boot process detailedconfiguration files that affect startupCommon Start-Up troubleshootingUse of rescue modeUse of Live CDsThe Linux boot process is detailed:1: Load BIOS hardware information, follow the settings to get the first bootable
Linux has 7 RunLevel, specific to 0-6 levels0: Indicates shutdown.1: Single User (no authentication required, can change root password, if grub is not set password)2, 3, 4: Indicates multi-user mode. The normal boot system, without the installation
For our purposes, installing Apache requires just typing this command at the CentOS command terminal:$ sudo yum install httpd$ sudo systemctl enable Httpd.serviceThe command to start the Apache service on the server is:$sudo systemctl Start
Here are 100 uses, what's wrong, and please correct me.
1,echo "AA" > Test.txt and Echo "BB" >> test.txt//> Empty the original file and write the contents to the file,>> place the content at the end of the file
2,chmod go+w-r/home/zhangy//To add
Used to configure only Nginx or only MongoDB, now combine them with PHP to build a development environment on the Windows platform.
The first step: the installation and configuration of PHPPHP website to download PHP, as to how to install, do not
*/etc/inetd.conf File
As we all know, as a server, the more open the service port, the more difficult to guarantee the security stability of the system. So servers that provide specific services should be as open as possible to the ports that
To establish a secure Linux server, you first need to understand the meaning of the configuration files that are related to the network service and how to configure them securely in the Linux environment. In a Linux system, TCP/IP networks are
Undoubtedly, for the system administrator, improving the security of the server is one of the most important things. As a result, there are many articles, blogs and forum posts for this topic.
A server is made up of a large number of functionally
Http://www.cnblogs.com/yxwkf/p/3902433.html
The so-called "prison" means to change the root folder that a process can see through the chroot mechanism, to restrict a process to a specified folder, to ensure that the process can only act on the
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.