The nginx Main Module configuration and parameter definitions in Nginx are the commands used to control the basic functions of Nginx. command: [html] [# daemon] [# debug_points] [# error_log] [# include] [# lock_file] [# master_process][# Pid] [#
(1) the configuration file openSSH related to SSH is stored in the/etc/ssh/directory, which includes the following files:/etc/ssh/sshd_config: the sshd server's setting file/etc/ssh/ssh_config: the setting file of the ssh client/etc/ssh/ssh_host_key:
NFS installation and configuration on Linux is short for Network File System, that is, Network File System. NFS allows a system to share directories and files with its users on the network. By remotely mounting NFS, users and programs can access
Recently, due to some inexplicable accidental data deletion in the business, we have studied the log4j packet output and want to use log4j to record which data has been deleted by mistake.
The specific method is to create a new package, then create
Basic configuration of iptables (I) basic operation www.2cto.com to list existing iptables policies iptables-L insert a policy iptables-I INPUT 3-p tcp -- dport 22-j ACCEPT note: all traffic that uses the TCP protocol and the target port is 22 is
Printf [plain] www.2cto.com output function printf: printf ([format_control_flg], arg) printf modifier-left aligned Width field step, 0 indicates 0 step size. the maximum length of the prec string, or the number of digits on the left of the decimal
Solution for garbled characters in ubuntu: the txt file can be normally displayed in Windows, and the file garbled characters can be opened in Ubuntu. This is a Chinese encoding problem. In Windows, gb2312 is used, while in linux, utf8 is used. Five
The usage of "-" in shell tar-cvf-/home | tar-xvf-what is the meaning of the preceding command? In particular, the usage of several specific tar commands-www.2cto.com is not detailed. Copy/home to the current directory. -Cvf, followed by the tar
Fork () function in linux 1. the traditional fork () system calls directly copy all resources to the newly created process. in Linux, fork () uses the copy-on-write page. copy at write time is a technology that can delay or even avoid data copying.
I. nginx reverse proxy configurationOpen the/etc/nginx. conf configuration file and add it to http:Upstream ip {# external virtual IP AddressServer IP1;Server IP2;}Server {Listen 80;Server_name ip; # I external virtual IPIndex
The latest mysql version 5.5.11 requires cmake compilation and installation. It is estimated that this method will be used in later versions. Some installation methods are found on the internet and some are incorrect, record the installation steps
How to handle the root account in Ubuntu: 1. Prevent the root account from appearing: The following is the entire process of opening the terminal under X for modification: ("//" is followed by a comment) Zk @ zkubuntu :~ $ Su // you want to enter
Postgresql automatic backup generates one file every day and automatically compresses it: 1. Write a shell script and save it as/home/db/dump. sh.Pg_dump db | gzip>/home/db $You can set $ (date + % Y % m % d) on your own.
You need to set the
UbuntuNew User Experience
1. Add a user(1) Create a New User username# Sudo useradd username(2) set the username Password.# Sudo passwd username2. Add a user groupCreate a new group groupname# Sudo groupadd groupname3. Modify an account(1) Add
To be improved...
Sort: It is very efficient and powerful to implement the text sorting algorithm.
The content of the original file is not modified. Only the content output on the screen is modified.
Example: sort/etc/fstab
#-U remove
1. Introduction to Sed
Sed is an online editor that processes a row of content at a time. During processing, the currently processed rows are stored in the temporary buffer, called the pattern space. Then, the sed command is used to process the
Tcp preferentially reads the/etc/hosts. alow file and then the/etc/hosts. deny file.
Higher than deny
For example, if the hosts. allow file contains the sshd: 192.168.0.8 entry, hosts. deny also exists.
Sshd: 192.168.0.8 entry, which takes effect
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