1. Stop MySQL serverSudo/opt/lampp/lampp Stopmysql2, use the '--skip-grant-tables ' parameter to start the MYSQLDSudo/opt/lampp/sbin/mysqld--skip-grant-tables3, then open a terminal (in the terminal directly right-click +b) into
First, the SED command introduction:1, meaning : Stream editor text stream editing, SED is a "non-interactive" character stream-oriented editor. Can process multiple files at the same time more than one line of content, you can not change the
When we do Linux, most of the server, the server has a very important thing, such as the personal information of a company's employees, so, this server password is particularly important, for example, a maintenance personnel to the server password
1, CPU architecture= = Desktop ========
x86
x64 (AMD64)
POWERPC,PPC simple version of power
= = Mobile End ========
The CPU of the mobile device is the ARM series. Arm is a designer that does not produce. Manufacturers
Unzip a file today, come out a lot of this:/bin/tar:ignoring Unknown Extended header keyword ' Schily.dev '/bin/tar:ignoring Unknown Extended header keyword ' Schily.ino '/bin/tar:ignoring Unknown Extended header keyword ' schily.nlink 'Check the
1, PWDCD function : Displays the absolute path of the current working directory2. cd function : Switch to the established directory format : cd destination directory Example : Cd/root Remark :CD (or CD ~) to quickly switch to the current user's
System environmentOperating system: CentOS6.9Shutting down the firewallInstallation steps1. Installing Postfix2. Download the RPM package and install3. Configure GITLAB,VIM/ETC/GITLAB/GITLAB.RB, specify ip+ port number4. Perform the configuration
Let's get to the point first. There are two ways to add a boot loader to Linux: 1. Modify the/etc/rc.d/rc.local script. 2. Add a shell script under the/ETC/RC.D/INIT.D directory. (Some Linux distributions may not have RC.D,INIT.D directories in/etc
A Linux Django Basic project setup process:M model for interacting with the databaseV View Reception Request call model get result, call T get page, return to foregroundT template accepts the view request to generate a Web page to V1 Create a
When using Xshell root to display the SSH server rejected the password, should be the setting of the sshd does not allow the root user to log in with a passwordModify the/etc/ssh/sshd_config file, note that the installation of OpenSSH will have this
Before the computer changed the ubuntu16.04, the local need to reconfigure, but forget all, so reconfigure a bit, and then this record.Install Apache:sudo apt-get install apache2To restart Apache:Sudo/etc/init.d/apache2 restart-----------------------
See how many files and folders are in the directory, in the terminal input
ls| wc-w
See how many files are in the directory, enter in the terminal
ls | wc -c
Look at the number of files under the
Hidden Permissions for filesThe permissions of a file have a special permission in addition to reading , writing , and SUID,SGID,sbit .For example: you have permission to delete a file and cannot delete it, or you can onlyTo append content to a file
Program programmingSelect ExecuteSequential execution: If, caseLoop execution: For, while, untilFor loop listFor i in LIST; Do loop body donefor i in Listdo loop body done650) this.width=650; "src="
In Centos 6.9, the default port of SSH is modified.
There are a lot of blogs about modifying the default SSH port of Centos6.5 in Linux. I won't bother here, but in the face of Centos 6.9, there will be a big pitfall;
After modifying iptables, run
Install Redis 3.2.9 and centosredis in Centos 6.9
Dependent package and common packageYum install gcc-c ++ make zlib-devel readline-devel tkutil tk tkutil-devel tk-devel openssl-devel wget vim ntp-yDownload redisWget
Steps for cloning a machine from CentOS, text tutorial, and text tutorial from centos
In the previous article, we mainly introduced the installation steps of CentOS. This article mainly describes how to clone another machine from an installed CentOS
Common Linux commands,
Sudo apt-get install software name install software commandSudo nautilus open the file (with root permission)
Switch su root to "root"Exit: exit the root user and return to normal user mode.
Ls to list current directory files (
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