System environment: centos6.3 x64
apache:httpd-2.4.4
zabbix:zabbix-2.06
First download the template on this machine: Https://github.com/rdvn/zabbix-templates/archive/master.zip
The ZIP package has Apache, Memcache, Redis, varnish templates, we
Today to introduce the specific practical functions of puppet, in fact, my understanding is how lazy, hehe.
1. Fill in the contents of the file:
(server):
To modify the server-side configuration file:
# VI/ETC/PUPPET/MANIFESTS/SITE.PP
----------
Believe that playing the server/vps to CentOS must be not unfamiliar, CentOS is a red Hat Linux based on the free use of the source code of the enterprise-level Linux distribution. Because it is free, many Web servers and VPS now often use this
Mirrored files that directly replicate Oracle VM VirtualBox It is convenient to create a new system mirror directly, but you have encounteredDevice Eth0 does does not seem the question of the to be present, find a solution to the same problem on the
Clear log of Successful login system
[Root@localhost root]# echo >/var/log/wtmp//This file is open by default garbled, can be traced to IP and other information[Root@localhost root]# last//The user login information is not found at this time
Clear
Use local ISO file as Yum sourceStep # 1:mount an ISO file# yum Install Createrepo# Mkdir-p/mnt/iso/{1,2,3}# Mount-o LOOP/PATH/TO/CENTOS1.ISO/MNT/ISO/1Step # 2:create a repository# Cd/mnt/iso# Createrepo.Clean repo, enter:# Yum Clean AllStep #
The test environment is a Aliyun Centos 5.4 32-bit system.
1, if installed SendMail, the first uninstall.
The code is as follows
Copy Code
Yum Remove SendMail
2, install Postfix
The code is as
Nginx ("Engine X") is a lightweight HTTP and reverse proxy server. Compared with Apache and LIGHTTPD, it has advantages of less memory, stronger concurrency and higher stability. its most common use is to provide a reverse proxy service.
Under
First, the system agreement
1. System environment
Linux:centos-4.4.servercd
apache:2.2.4
mysql:4.0.26
php:4.3.11
zendoptimizer:3.2.2
phpmyadmin:2.10.0.2
2, the source package storage location:/USR/LOCAL/SRC
#为什么一定要在/usr/local/src/under the tarball?
If the virtual machine in the abnormal shutdown will encounter the following picture of the problem: first click the "Cancel" button
Workaround:
Open explorer and go to the path where the pop-up prompt window is located (that is,
CentOS 6.8 command line can use Pptpsetup for PPTP dialing
1. Install PPP,PPTP and pptp-setup three packages first
Yum install-y PPP PPTP Pptp-setup
2. Connect using Pptpsetup
Pptpsetup--create VPN name--server server
Here are two ways of doing this.
Release Warehouse
Execute Yum Info Elixir, we get:
Available PackagesName:elixirArch:noarchversion:0.12.5Release:2.el7size:2.7 MRepo:epel/x86_64SUMMARY:A modern approach to programming for the Erlang
First of all, Google's browser has not supported the Redhat¢os platform, the need to manually compile the installation, it will appear very troublesome.
The following is an easy way to install.
1. Download Script First
The Enterprise Linux distribution CentOS has released a new version 6.5.
CentOS 6.5 is based on the upstream version of EL6.5, and its major changes include:
Precision time Protocol has now been fully supported.
OpenSSL has been updated to
CentOS uses Pam to lock multiple login failed users
Linux has a pam_tally2.so Pam module that limits the number of user logon failures and, if the number reaches the set threshold, locks the user.
Compiling Pam's configuration file
#
If you are using centos, use yum:Yum install goaccessIf your yum cannot find goaccess, install epel first.Wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Step 1: first create a CA certificate,First, create an RSA private key for the CA,# Cd/etc/pki/CA# Openssl genrsa-des3-out ca. key 1024(Because ssl_module in windows does not support encryption keys, use openssl genrsa-out ca. key 1024)The system
Recently, the walls seem to be very congested, and the Great Wall jump methods are extremely slow. No way, you can set up the shadowsocks proxy server by yourself (take CentOS as an example ).Install related dependencies (enter the following
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