CentOS6.9依赖包快速安装指南

vi /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
#SELINUX=enforcing
SELINUX=disabled
:wq!
reboot
rpm -qa |grep mysql
yum remove mysql-libs-5.1.71-1.el6.x86_64
yum install vim telnet traceroute wget openssh-clients gcc gcc-c++ openssl-devel vixie-cron net-snmp* openipmi-libs curl-devel lrzsz libxml2* -y
vim /etc/yum.repos.d/mysql.repo
# Enable to use MySQL 5.6
[mysql56-community]
name=MySQL 5.6 Community Server
baseurl=http://repo.mysql.com/yum/mysql-5.6-community/el/6/$basearch/
enabled=1
gpgcheck=0
yum install mysql-community-server mysql-community-devel mysql-community-client mysql-community-common -y
service mysqld start
chkconfig mysqld on 
mysql_secure_installation
全程y
download fping at:http://www.fping.org/ and rz upload the latest source:fping-4.0.tar.gz
or

scp /Users/vincent/Downloads/fping-4.0.tar.gz root@10.199.199.89:/root/
root@10.199.199.89's password:
fping-4.0.tar.gz 100% 166KB 49.3MB/s 00:00

./configure

make 
make install

fping -a 114.114.114.114 10.199.199.254
114.114.114.114
10.199.199.254
fping -A -u -c 4 114.114.114.114 10.199.199.254
114.114.114.114 : xmt/rcv/%loss = 4/4/0%, min/avg/max = 31.4/40.9/56.9
10.199.199.254 : xmt/rcv/%loss = 4/4/0%, min/avg/max = 7.43/12.5/20.2


mv
/etc/yum.repos.d /etc/yum.repos.d.backup mkdir /etc/yum.repos.d wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo yum clean all yum makecache chkconfig iptables on
原文地址:https://www.cnblogs.com/vincent-liang/p/6884814.html