Verified No problem#1.停止mysql数据库/etc/init.d/mysqldstop#2.执行如下命令mysqld_safe --user=mysql --skip-grant-tables --skip-networking .使用root登录mysql数据库mysql -u root mysql #4.更新root密码mysql> UPDATE user SET Password=PASSWORD(‘newpassword‘) where USER=‘root‘
For security reasons, the machine often requires a logon time period, which automatically exits when idle exceeds this period, but in some cases we need to use the machine from time to times, which is very troublesome if we have to re-ssh inMethod
1985 Richard Stallman, founded the gun, and claimed that gun was not UNIX, which uses open source, advocates freedom of learning and change, free use, free distribution and free creation of derivative editions. In the open source world, there are
DuThe du command lists all directories in the current directory and the size of the directory. The last line of the command shows the size of all directories and subdirectories in the current directory, and the default unit for file size is
ifconfig See the IP is not the IP I want, and the first NIC display is also eth1, which is obviously problematic,Vim/etc/sysconfig/network-script/ifcfg-eth0 See the IP is I set the IP, but the Mac is wrong, see and Ifconfig inside the eth1 is not
The first part--process schedulingprocess scheduling: process selection mode under operating system rulesfacing the problem: multi-Task selection problemMultitasking is an operating system that can concurrently execute multiple processes
LinuxKernel Lib module shell toolsLs-la: Show all files including hidden filesCat/proc/cpuinfo: Displaying CPU informationMan Mans/string: Search up string string to continue pressing lowercase n up searchString: Search down string strings continue
Link commandCommand format: ln [options] [source file] [target file]English intent: LinkFunction Description: Create a link for the file, where the type of the link is divided into hard links and soft connections two, the default is to create a hard
Command (case sensitive)
Function
Format
command [parameter];[] optional;-characters;--words; arguments placed after the command
Ctrl+u
Delete entire row
;
One-line multi-command
File Search command: LocateCommand format: Locate [file name]#在后台数据库中按文件名称搜索, the search is fast.Database address:/var/lib/mlocateIt is not updated immediately after the new file is created, and the Mlocate database is updated daily and can be
A. Let's start with the Hyper-V virtual machines under the win10 and Win8 systems (but there are other better below)Note: Remember to download the system image (****.ios )1.win10 and Win8 both have their own virtual machines, and probably many
CentOS 7 kernel Security Update: fixed five VulnerabilitiesCentOS System Maintenance Engineer Johnny Hughes released a Security Bulletin today, requesting users using CentOS 7 series to deploy important kernel security updates as soon as possible.
Easily configure httpd virtual hosts and httpd Virtual Hosts
Httpd uses the VirtualHost command to define a virtual host. Three VM types are supported: ip-based, Port-based, and name-based. Port-based virtual hosts are also IP-based in terms of
Linux 4: vim editor and linuxvim Editor
Before talking about the vim Editor, we should first understand why we want to learn the vim editor. The important work of the system administrator is to modify and set the configuration files of some
Compile and install MySQL5.6 under CentOS6.51. Solve Dependencies
yum install gcc gcc-c++ ncurses-devel perl 2. Install cmake
Mysql5.6 and later all color steel tile color steel sandwich panel to cmake compilation.
cd /usr/local/srcwget
Build your own Git server under CentOS
First, you need to install the CentOS System for Hefei news Hefei education Hefei entertainment Hefei specialty Hefei food for testing, you can choose to install on the virtual machine, this is more convenient.
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