Linux O & M engineer interview question 1. file file11 is available. use shell to query the row number awk & amp; lsquo; {if ($0 ~ /^ $/) PrintNR} & amp; rsquo; fileorgrep-n ^ $ file | awk & amp; lsquo; BEGIN {FS :}{ print $1} & amp; linux O & M
If you forget the root password, you are the system administrator when using your Unix or Linux system. This means that no one else will help you in case of a problem. What should I do if I forget the root password? The following describes the
There are a lot of articles about the Linux kernel build on VMware on the network of the Linux kernel build method on vmware. The main problem is that the kernel cannot be started normally after buildc is successful. this is a bug of vmware and
For linux: tr command usage, tr can be viewed as a simplified sed tool. tr is represented as: translate. The tr command is mainly used to convert strings in the following two replacement operations. The string conversion of the delete operation can
In Ubuntu, how does one obtain the source code in the ubuntu source code package from the tool source code and build commands in the repository? 1. before obtaining the source code package, make sure that the deb-src item is added to the
Abstract: Although the operating system is often installed, have you ever thought about what you did during the operating system installation? What is the essence of system installation? Before operating system installation, how did the system get
Etcvsftpdvsftpdconf
/Etc/vsftpd. conf configuration file
# Example config file/etc/vsftpd. conf # The default compiled in settings are fairly paranoid. this sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see
Thank you for your copyright and respect for the fruits of others' work. Original article name: LinuxPerformanceandTuningGuidelines original address: http: wwwredbooks 3.4 Disk bottlenecks Disk bottleneck
The disk subsystem is often the most
Linux Study Notes & mdash; mysql in ubuntu allows remote connection abstract: mysq Linux study Notes-mysql in ubuntu allows remote connection
Abstract: In general, mysql is installed by default for security reasons. generally, it only connects the
Detailed description of Curl Command parameters in LinuxShell # Basic usage (with sed/awk/grep) # download and save # save through proxy # save
# Basic usage (with sed/awk/grep) $ curl http: // s.worthsee.com # download and save $ curl
For Apache, you only need to modify the apache configuration file.
For Apache, you only need to modify the apache configuration file/etc/httpd/conf/httpd. conf.
There is an example file in it. you only need to configure it.
#
# ServerAdmin
Unpack in 01-.tar format: [******** unzip tarxvffilename.tar package :[***
Unpack in 01-.tar format: [********] $ tar xvf FileName.tar package: [********] $ tar cvf FileName.tar DirName (note: tar is packed, not compressed !) 02-
My VPS, 2 GB memory, 8-core CPU test, but I did not use the above yum installation, but all installed with source code compilation. the test results are as follows:
PHP 5.3.1
MySQL 5.0.89
Nginx 0.8.33 or 0.7.65 (optional)
This is much better than
Here we mainly talk about the Nginx optimization method, and also need to optimize the php-fpm configuration. for the method, refer
/Etc/sysctl. conf
In general, the nginx configuration file has the following effects on
Different tables can be defined. each table contains several internal chains and user-defined chains. Each chain is a rule list that matches the corresponding package: each rule refers
Use iptables-ADC to specify the chain rules.-A Add-D delete-C
If the above YUM source is used, it is best to comment out the rule list in it, otherwise the system will start the fastesmirror plug-in automatically
163 open source image address http://mirrors.163.com/.help/CentOS-Base-163.repoDifferent versions
Linux ECS data disks are not partitioned or formatted. you can perform the following steps to partition and format them. The following operations will divide the data disk into a partition applicable system: Linux (Redhat, CentOS, Debian, Ubuntu)
*
In the movie "Social Network", facebook's founder Mark Zach broke into the server of the Harvard University dormitory building after he fell in love, stole database information, and completed the process within two hours.
Reprinted from:
That is to say, it will reject receiving too short passwords, passwords similar to previous passwords, words in the dictionary as passwords, or passwords that are too easy to guess.
Format
Passwd [user]
If you want to change your password, you
However, if this permission is set for a directory, the user is prevented from deleting or renaming the file, unless the user is the owner, file owner, or super user of the Directory. It is often used
Introduction
Although the octal mask is usually
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