Linux Configuration Production Environment FTPAnonymous_enable=noLocal_enable=yesWrite_enable=yeslocal_umask=022Anon_upload_enable=yesAnon_mkdir_write_enable=yesanon_umask=022Dirmessage_enable=yesXferlog_enable=yesConnect_from_port_20=yesXferlog_std_
About SEDSed is a stream editor that reads one line of text at a time, puts it into the memory buffer (pattern space), and then uses the SED command to process the contents of the pattern space, which is output to the screen (stdout) By default
LVS-DR model implements HTTP Load Balancing cluster, VIP and Dip/rip are not on the same network.No nonsense principle, a bunch of online piles. Directly on the topology and configuration scripts.The network topology is as follows:1.DR configuration
Publish to a Linux Production environmentby Sourabh ShirhattiIn the This guide, we'll cover setting up a Production-ready ASP. Environment on an Ubuntu 14.04 Server.We'll take an existing ASP. NET Core application and place it behind a reverse-proxy
The ACL can only be a root administrator user. Related commands:getfacl,setfaclaclBasic usage//环境准备[[email protected] ~]# cp /etc/passwd /root/passwd//文件在没有设定acl, 看到的和传统权限是一样[[email protected] ~]# ll passwd-rw-r--r-- 1 root root 0 10-26 13:59
1 LS Common options2 Linux Get Help3 File Management4 process1. LS Common options# LS Common options -A All, view all files under the directory, including hidden files -l long list display -H Human is displayed in a humane way - d List
A timing function for Linux to get the current time.Gettimeofday ()
function
Structural Body
accuracy
Time ()
time_t
S
Gettimeofday ()
struct Timeval
us
Simple way to implement, multiple Linux hosts SSH login without password.1. Execute the following command on any one of the host computers. such as: 192.168.10.1021 [email protected] ~]# Ssh-keygen2Generating public/private RSA key pair.3Enterfile
19.1 Environment Table 19.1.1 IntroductionThis is the second function of the start routine, which collects the environment table and then passes it to the main function.An environment table is an array of pointers.Environment table
Each
Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and
1, view current system perIPNumber of connectionsNetstat-an | grep ' established ' | awk ' {print $4} ' | Awk-f ":" ' {print $} ' | Sort-n | Uniq-c2 , list the ports used by the service
http
80
Https
443
Basic directives#打印字符串echo hello linux#将file1 和 file2粘合在一起,打印到标准输出流cat file1 file2Standard input and output
Standard input, stdin, i.e. keyboard, mouse input
Standard output, stdout, i.e. output to terminal
Standard error stream,
1, DescriptionLiuxThe difference between a soft link and a hard link
The Create command is different, LN command to create a hard link, ln-s Create a soft link
Inode different node numbers, hard links Inode same as source file, soft link Inode
Download Xshell,Http://120.221.34.87:6510/sqdownb.onlinedown.net/down/Xshell5v36383.exeOpen Xshell, fill in the IP address and custom name of the Linux, then OK, enter the user name password.3. Change settings, set mouse right click to paste.Click
Security colleague through Nusses scan found a server has SSH1 vulnerability: tcp/22:10882-ssh Protocol Version 1 Session Key retrieval. Usually because of useless ssh1, decided to close it.ip:172.168.9.54Os:suse10 SP31. Modify the configuration
Nginx is a high-performance Web server is also very good use of reverse proxy server, can achieve load balancing, static and dynamic separation strategy, under the Linux used very much. The following is a http://nginx.org/en/download.html
First, you need to install the basic environment-------LAMPYum-y install httpd mariadb-server mariadb php php-mysql GD PHP-GDOnce installed, execute the command again to make sure all packages are installed.Start httpd and MARIADB, and set to boot
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