I was Old boy education ops student Su Zhenda, I know in these months will be very tired but I will persist, change oneself let people around me have a new understanding, although in these months study will be very tired but I prepared. I believe there is nothing to learn. the greater the pressure, the greater the power, pay only may have the harvest, do not pay must not be harvestedI decided to pass four or five months of study, can let me learn some
no absolute good or bad. Zabbix is open source for commercial software, and Nagios is a free software plug-in combination. Let's all learn!8.rsync Backing up dataData is the most valuable asset of an enterprise, and it is natural to protect the data. The principle of RAID to understand the configuration, know the enterprise data structure, a variety of backup methods to ensure the security of data. Rsync maintains the original file permissions, time, soft and hard links, and so on, can be mirro
In the first 2 years of Learning Linux technology, I believe that many people are more or less through a lot of detours, now the rapid development of Internet technology, how to find their own focus on learning it (Linux) it? In fact, it is not difficult, it is difficult to learn it is the choice of people too much.Since the first contact with Linux operations in 2012, almost all of them want to learn, and nothing can be learned; Linux ops the definit
Linux ops shell script gadget, if you want to share this article, please indicate the source of the article, the following script is for reference only, if the error placed on the server, the consequences please be conceited1. Detecting CPU percent remaining#!/bin/bash#inspect Cpu#sun Jul to -: -: ACst .PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/wl/Binexport pathterm=Linuxexport Termcpuresult=$ (top-bn1|grep "Cpu"|awk '{
First, the actual case (practice) contentIf you study Linux, want to find a portion of Linux related operations, one day you received a company to give the invitation, you came to the company interview, before the interview, OPS supervisor gave you some simple pen questions, the title is as follows:1, the creation of a 10G file system, the type of EXT4, requires the boot can be automatically mounted to a separate data/data directory;A. Adding a piece
, according to the log information alarm and optimize the system and services8, solve daily problems, such as hardware (server, switch, hardware, network, etc.), software (network services), various types of business services failure.9, write automated Scripts (Shell, Python), automated Deployment Services. The work of the senior OPS involves:1, monitor the bandwidth, traffic, concurrency, business interface and other key resources and access informa
tool in the menu bar, and then open the user public Key Manager:Click Generate, and then:Here we choose the RSA algorithm. This algorithm is supported by SSH1,SSH2, and then the next step:Here you can get the first key name. The following password is writable and can not be written. Next step:Choose Save as file to save the public key to a folder in your PC. Remember the location of this file OH.Configure on the remote hostOpen Xshell. Click the window in the menu bar. Select new transfer file.
element and the end of the team.If the first decision at the end of the team is within the convex hull of the new plus decision and all the preceding decisionsthen this decision can never be better than the previous decision and the new plus decision so just erase it.Finally add the new decision to the monotone queue#include #include#include#include#defineRep (i,n) for (int i=1;i#defineIMAX (x, y) (x>y?x:y)#defineImin (x, y) (xusing namespacestd;Const intn=1000010;intSum[n],q[n];Long LongF[n];i
elaborate), and we are looking for a convex point p, so that we first put the line at infinity, and then pan down, touching the first point on the convex packet.By drawing you can visually discover that a straight line with a slope of K passes the point P with the maximum intercept for the current "I".That is, for the current "I", the "J" represented by this p is the optimal J that can be transferred from the motion-gauge equation f[i]=f[j]+f (sum[i]-sum[j]).That is, any f[i that is transferred
-s_2509242813.png "title=" unnamed picture. png "alt=" wkiol1ht-tvqooyyaahm9kvb0qw286.png-wh_50 "/>Found its constant post data to xmlrpc.php, Baidu a bit xmlrpc.php found to be a brute force attack.This attack specifically resolves the following link:Http://www.freebuf.com/articles/web/38861.htmlWebsite Paralysis Reason:Through the Iostat,vmstat view, the server CPU, memory and other resources are not abnormal, then my site how to collapse. My understanding is: 1. My cloud server bandwidth is n
execute the next command just fine.Under server/nginx/conf/, with the VI command to open nginx.conf, will find include/alidata/server/nginx/conf/vhosts/*.conf;Then find this directory, open the directory below the. conf file and open it with VI (which changes the root to the absolute directory, server_name to the following form.) But in the WordPress page before the home page is http://12.12.12.12/wordpress, the page will not be able to access, you need to change the following root to the WWW d
:----------Vim-common:----------New7.4.629-5.el6Old7.2.411-1.8.el6vim-enhanced:----------New7.4.629-5.el6Old7.2.411-1.8.el6Vim-filesystem:----------New7.4.629-5.el6OldFive, Salt-key parameters1. Salt-key Common options-L,--list-all#显示已经或未认证的被控端id, Accepted Keys is a certified list; unaccepted keys is an uncertified list-A ACCEPT,--accept=accept#接受单个id证书请求-A,--accept-all#接受所有id证书请求-R REJECT,--reject=reject#拒绝指定的公钥-R,--reject-all#拒绝所有正在请求的公钥-D DELETE,--delete=delete#删除指定的公钥-D,--delete-all#删除所有的公钥2
script playbook;(5), SSH by default: work based on SSH;(6), strong multi-tier solution: Multi-level command can be achieved.4. Advantages(1), lightweight, no need to install agent on the client, update, only need to make an update on the operating machine;(2), batch task execution can be written as script, and can be executed without distributing to remote;(3), write using Python, maintenance is more simple, ruby syntax is too complex;(4), support sudo.5. Task Execution ProcessSecond, Ansible B
used to be triggered at the end of each play, the actions listed in notify are called Handler, and the specified action is performed only once all changes have completed.==========================================================================================Iii. Follow-up work==========================================================================================1, in-depth learning ansible playbook and expansion module;2, in combination with the business environment, the initial implementa
default admin is not associated with a machine group, so you need to create a new account and host Group Association. If you have any questions, you can communicate with me.Landing650) this.width=650; "id=" aimg_663136 "src=" http://cupic.img168.net/bbsfile/forum/201411/17/ 12434308gh60y6628ecr44.png "class=" Zoom "alt=" 12765590_1415950465v2w5.png "title=" 12765590_1415950465v2w5.png " Width= "351"/>Ping650) this.width=650; "id=" aimg_663137 "src=" http://cupic.img168.net/bbsfile/forum/201411/
configuration to the settings.pyImport Djcelery Djcelery.setup_loader () ...Installed_apps = (... ' Djcelery ', ...)Finally create the data tables required for celery, and if you use South as the Data Migration Tool, run:Python manage.py MigrateOtherwise run: (either Django 1.6 or Django 1.7)Python manage.py syncdbTo this django+rabbitmq+celery environment is deployed, the following is the code sent by mail, here is the use of Django's own mail sending functionTo add a mail send configuration i
This error often occurs when a user uploads data to HDFsHDFs. dfsclient:Exception in Createblockoutputstream Java. net. noroutetohostexception:No route to hostIn this case, the online solution is usually to tell the firewall to shut down, as to which host the firewall does not mention.To view the log file, just that no route to host does not mention the port, the solution is to shut down the firewall for all hosts, Namenode and slave nodes. This is true if only the firewall problem for the host
Monotonicity is proved.Certificate of CompletionCan write the slope typeDp[j]+a*sum[j]^2-2*a*sum[i]*sum[j]-b*sum[j]>=dp[k]+a*sum[k]^2-2*a*sum[i]*sum[k]-b*sum[k] and J>k= dp[j]-dp[k]+a*sum[j]^2-a*sum[k]^2+b*sum[k]-b*sum[j]>=sum[i]*2*a* (Sum[j]-sum[k])= (Dp[j]-dp[k]+a*sum[j]^2-a*sum[k]^2+b*sum[k]-b*sum[j])/(2*a* (SUM[J]-SUM[K)) >=sum[i]1#include 2#include 3#include 4#include 5#include 6#include 7#include 8#include 9 #definell Long LongTen #defineINF 2147483647 One #defineN 1000005 A using namespa
virtual machine or a Linux virtual machine, capturing is very useful, not only as a snapshot, but also by pre-configuring the environment and capturing it to reduce our massive duplication of labor, as well as the ability to quickly scale the number of nodes in our cloud service. This allows for lateral elastic scaling. You can see that the whole process is actually very simple, but you can see that capturing is really a great way to reduce the amount of work in your daily operations.This artic
the general record of life will not be widely told. Look at my friends circle, I know, I seldom send a circle of friends. I belong to this kind of say a point to do seven points left two minutes in a daze, corresponding to the saying "say three points do seven." My original evaluation is said to do six points left three points in a daze, and now finally made a point to add to their own points. Although now I have a strong urge to tell all my friends, but my philosophy of life forbids me to do s
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.