#-----------------------------CentOS 6.x version upgrade MySQL------------------#! /bin/sh#1. Turn off SELinuxCp-rp/etc/selinux/config/etc/selinux/config.bakSetenforce 0Sed-i ' 7s/enforcing/disabled/'/etc/selinux/config#2. Show SELinux status
Install Wetty on CentOS/RHEL 6.X
What is Wetty?
Wetty = Web + tty
As a system administrator, if you are on a Linux desktop, you can use it to connect to a remote server like a GNOME terminal (or similar). If you are in Windows, you can use an SSH
CentOS production system optimization script#! /Bin/bash# Add the epel repo and rpmforge repoCd/root/Wget https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpmWget http://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_6
The php version of the server has just been upgraded to the php version of the company's server. there is no problem. upgrade from 5.2 to 5.6, install the yaf framework, and paste the steps to share it, the specific configuration is as follows:
###
PHPextensionmcryptmustbeloaded. an error is prompted when magento is installed:
PHP extension "mcrypt" must be loaded.
Then yum install mcypt * does not find any package ....
Find another method.
I used to introduce new extension
This article describes how to use YUM configuration to install the LAMP environment under CentOs6.2. Some brothers also like to use the compiled installation method. I personally think that if it is not customized for the server, the yum
Install Chinese support (English by default)
Yum-y groupinstall chinese-support
Modify/etc/sysconfig/i18n to LANG = "zh_CN.UTF-8"
Restart to take effect.
Install ipython
Download the latest epel-release rpm fromhttp://download.fedora.redhat.
Register and install the git version control tool in CentOS6.564
I. Description
This article describes the entire process of Linux CentOS6.5 64-bit registration and installation of the git version control tool. Git is a distributed version control
Installing yum sources for centos 6.2 is not rich enough. For ease of use, I often borrow a third-party yum source. Every time you try again, it is too troublesome. In this summary, it is also convenient for future use. I am currently using a 64-bit
Install heartbeat in Yum in CentOS
I. Environment(It should be around mb. We recommend you wait patiently for installation)Yum install e2fsprogs-devel libuuid-devel Libnet libtool-ltdl-devel libxslt-devel bzip2-devel glib2-devel perl * glib *Yum
Set up a RabbitMq cluster and a rabbitmq Cluster
Lab environment:
The operating system is Centos 7.2.
IP hostName
192.168.190.132 node132
192.168.190.139 node139
192.168.190.140 node140
RabbitMQ Port
4369 (epmd)
5672,567 1 (AMQP 0-9-1 and 1.0
MHA is divided into management nodes and database nodes. database nodes are composed of mysql master-slave or master-slave nodes. When the master database fails, the management node will automatically upgrade from the master node to the master node;
MySQL master/Master/Slave combined with keepalived for High Availability
Test environment:
Master: 192.168.1.210 (CentOS6.5)
Slave: 192.168.1.211 (CentOS6.5)
VIP: 192.168.1.208
MySQL master/Master/Slave Mode Configuration
Step 1: Configure/etc/my.
CentOS yum source deployment
Install yum source in CentOS
A. rpm software package is provided for general software. After this package is installed using the rpm command, a yum repository source is automatically added, and then the software can be
Install redis, php-redis, and centosredis in centos in Linux.
Source Address: http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm // This is centos 6
Install and enter the following command:
Step 1:
# Wget http://mirrors.ustc.
Add epel and elRepo sources to Centos7 and mount the hard disk automatically
Ps: EPEL and el yum sources are stable third-party yum installation sources, which are also frequently used by me. They are also available based on CentOS/RHEL7.x.
First
Install docker and ubuntu
Docker
Environment:
Centos 6.5 64-bit
If the system is installed by default, the centos kernel is
[Root @ localhost ~] # Uname-Linux localhost. localdomain 2.6.32-431. el6.x86 _ 64
Docker supports 64-bit kernel for
centos built-in Yum the source is not rich enough. For ease of use, I often borrow third-party
Yum
source. Every time you try again, it is too troublesome. In this summary, it is also convenient for future use. I am
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.