The following software is required:
Perl (5.8.1 or above)MySQLApache2Bugzilla
1. perl
Check whether perl and its version are installed.
# Perl-v
2. install and configure mysql
Check whether mysql is installed
# Mysql -- version
If not, install mysql-
When we accidentally set the scheduled maintenance time for hosts and services in batches, how can we delete them in batches? The following is a script to easily handle the problem ~~~
#! /Bin/bash# Eg:#./Del_downtime.sh 877 885 hosts# Delete the
Logs are the most important means to locate problems. There are three types of logs in Hadoop2: system logs, application logs (jobs), and standard output logs.
System Logs
System log refers to the log printed by each component, such as
1. Problem Description
Use libpomelo to communicate with the server in the cocos2d-x client, pc_client_connect (client, & address) always returns-1, console print: Invalid Pomelo client state: 5.
Go to the pomelo. h header file to view the
Use inotify-tools to monitor system events in real timeInotify-toolsHttp://linux.die.net/man/1/inotifywaitInotify-tools# Wget http://downloads.sourceforge.net/project/inotify-tools/inotify-tools/3.13/inotify-tools-3.13.tar.gz Monitoring script:# Cat
Sometimes we need to execute the same command on multiple servers, such as installing software, copying, pasting, and deleting, but the workload of one server is too large, we can use the SecureCRT client remote connection tool to achieve this
I. Basic Definitions of HTTP
Hyper Text Transfer Protocol (HTTP) was designed to provide a method for publishing and receiving HTML pages. Resources requested through HTTP or HTTPS are identified by the Uniform Resource Identifier (URI. Currently,
Use httpd + openssl to implement https for websites
CA Verification Center (issuing/revoking certificates)/\\CA certificate/send \ certificate request/Certificate \\Client
1. Web server to generate asymmetric encryption key pairs (web public key
An error occurred while starting the squid service!
[Root @ squid_A ~] # Service squid restart
Stop squid: [failed]
Init_cache_dir/var/spool/squid.../etc/init. d/squid: line 62: 3017 has abandoned $ SQUID-z-F-D>
/Var/log/squid. out 2> & 1
Start
/In/sbin/iptables
Four tables and five chains
Table 4 filter. nat. mangle. raw
Five-chain INPUT. FORWARD. OUTPUT. PREROUTING. POSTROUTING
Table processing priority raw> mangle> nat> filter
Filter: performs all the filtering actions.
Nat: (Port ing
Hadoop2 has very few learning materials and only a few documents on the official website. If you want to study hadoop2 in depth, in addition to reading only the documents on the official website, you also need to learn how to view the source code,
LVS load balancing mechanism:
LVS works at the network layer. Compared with other Server Load balancer solutions, such as DNS domain name rotation resolution, application layer load scheduling, and client scheduling, the efficiency is very high. LVS
Memcache plays an important role in session sharing. Because all our data is stored here, we certainly cannot use only one Memcache. We need to cluster Memcache, I am implementing this through code. The overall idea is to read all Memcache addresses
To develop storm topology, you need to add storm-related jar packages to classpath: either manually add all relevant jar packages or use maven to manage all dependencies. Storm jar packages are published in Clojars (A maven library). If you use
The TFTP protocol is a simple file transfer protocol based on UDP protocol and does not have file management or user control functions. TFTP is divided into two types: server-side programs and client programs. The TFTP server and client are usually
Why Federation?
HDFS Federation can solve the following problems:
1. multiple namespaces are supported. Why do I need multiple namespaces? Because one namespace has limited storage metadata due to JVM memory restrictions, the number of datanode
Red Hat has reduced the Linux operating system to create a hybrid technology that integrates traditional Virtual Methods supported by VMware, Microsoft, and Citrix.
Red Hat announced the Project Atomic program at a summit on Tuesday. This is another
1. Version Control
Version Control is a system that records changes in the content of one or more files for future reference to specific version revisions. There are three version control systems:
1. Local Version Control System
Many people are used
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