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‘
One, see which ports are open NETSTAT-ANPSecond, turn off the port number: iptables-a input-p TCP--drop port number-j dropIptables-a output-p TCP--dport port number-j DROPThird, start the slogan: iptables-a input-ptcp--dport port number-j ACCEPTFour,
First, login to Linux, switch to the root usersudo suIi. setting up the Java installation directory in the USR directoryCD/usrmkdir javaThird, download the JDKLogin URL:
Process ManagementProcess: Program instructions running in CPU and memory are code that executes dynamicallyParent/Child process: a process can create one or more child processesPID: ID number of the processPPID: Parent Process ID NumberLinux
command to enter VIVI FileName: Opens or creates a new document and places the cursor at the beginning of the first lineVI +n FileName: Opens the document and places the cursor at the beginning of nthVI + FileName: Opens the document and places the
The Linux directory structure, in which all directories are logically only one vertex, i.e./(root), is the starting point for all directories. Below the root is similar to the structure of an upside down tree.The Linux directory is organized by
Some common symbols in the Linux environment; Delimiter for multiple commands/root directory or path delimiter> redirect, Data Flow in the direction of the arrow, the original file content will be discarded>> add content to the end of the original
Linux Operating System BasicsThe Linux operating system was developed in a cathedral-style and market-style way, when people were dissatisfied with the practice of monopoly charging of the UNIX operating system in commercial companies, so people
Restrict user or use of group disk spaceInstalling the Quote Package[email protected] ~]# Yum Install quotaFormat disk[[email protected] ~]# mkfs.ext4 /dev/sdcmke2fs 1.41.12 (17-May-2010)/DEV/SDC is entire device, not just one partition! to
1: Create a file: mkdir2: Return to the previous layer: cd./:3: Quick Search: Find./name4: Permissions: sudo chomod5: Copy a folder: Cp-r file6: Delete a folder rm file7: Execute command source8: Move a file move the html.zip to the home: MV
Creating a normal user in Linux requires root privileges.1. Useradd command is used to establish user account:Useradd [-mmnr][-c ][-d ][-e ][-f ][-g ][-g ][-s ][-u ][user Account]Parameter description:-c Add notes text. Note text is saved in the
Linux boot script linux boot scriptUser-defined Boot program (/etc/rc.d/rc.local)The simplest and most convenient operation. Each time you start PHP ah, nginx ah bored to death, other ways to get shell Ah, connection ah, too cumbersome.The operating
################ # Fourth Unit # # # ######################################### # # 1.Manage input and Output # # #########################In a Linux system, the correct output number is 1, the error output number is 2Perform "student" with ordinary
Vsftpd_ Virtual User AccessMuch security relative to local user accessAccount is an account within the profile and does not interact with the systemIdeas:
Create a virtual FTP user data file
Create FTP root and virtual map users
Common Linux operationsPrevious
This document describes common Linux operations in detail.
Basic Concepts
Linux is case sensitive. All content is saved as files, including hardware
Linux does not have the extension concept, and does not rely on the
Smoothly switch the nginx version and nginx version
Before explaining how to stably and securely upgrade or downgrade nginx that is already running, you must first understand several signals supported by nginx. The following are the signals that can
Centos7.2 build BugFree
Description: BugFree is developed based on PHP and MySQL. It is a free and open-source defect management system. The server can run on both Linux and Windows platforms. The client can be freely used through IE, FireFox, and
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