cdnfly三方支付宝实名认证
西部数码企业邮局
2020年12月3日之后CentOS6国内yum源失效备用方案
wget -O /etc/yum.repos.d/CentOS-Base.repo http://files.tttidc.com/centos6/Centos-6.repo
wget -O /etc/yum.repos.d/epel.repo http://files.tttidc.com/centos6/epel-6.repo
yum makecache [...]
宝塔一键安装智简魔方财务(最新版)
centos8安装docker
curl https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker-ce.repo
yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm
dnf -y install docker-ce docker-ce-cli --nobest
systemctl start docker
systemctl enable --now [...]
centos7安装docker
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
uname -r
yum -y update
yum remove docker docker-common docker-selinux docker-engine
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo http://mirrors.aliyun.com/docker [...]
智简魔方+宝塔一键Docker安装
Centos7 Docker安装:https://html5code.org/type/competitive-system/html/64.htmlCentos8 Docker安装:https://html5code.org/type/competitive-system/html/65.html环境需求:内存:1G,低于1G内存请不要安装,运行不起来宝塔管理:地址:IP:8888/www.03s.cn帐号:03s_cn密码:www.03s.cn智简魔方财务系统管理地址:网址/zjmfAdmin/帐号:03s_cn密码:www.03s.cn请登录后自行更改帐号密码和授权智简魔方+宝塔一键Docker安装yum -y remove iptables
yum install -y firewalld
yum insta [...]
CC攻击防护,Centos增加最大连接数,Kangle防CC
使用Kangle拦截功能,Kangle安装:https://html5code.org/type/competitive-system/html/52.html修改centos最大连接数vi /etc/sysctl.conf增加字段net.ipv4.tcp_syncookies = 1
net.netfilter.nf_conntrack_max=1048576sysctl -p #保存修改文件打开数vi /etc/systemd/system.conf修改字段DefaultLimitNOFILE=1024000 #这里需要修改
DefaultLimitNPROC=1024000 #这里也需要修改编辑/etc/security/limits.confvi /etc/security/limits. [...]
centos安装nodejs并开启13001websocket监控
phpstudy8.x php5.6.40 zend解决方案
查看tcp前10的连接数IP , 本地IP除外
netstat -na|grep ESTABLISHED|awk '{print $5}'|awk -F: '{print $1}'|sort|uniq -c|sort -rn|head -10|grep -v -E '192.168|127.0'
netstat -n | awk '/^tcp/ {++state[$NF]} END {for(key in state) print key,"t",state[key]}'查看连接数及状态统计netstat [...]
docker下ffmpeg镜像安装
腾讯CVM自建基于GTID复制的mysql作为CDB的从库
docker Mysql5.7镜像单独一键安装
此脚本适合单独安装mysql5.7使用if [ ! -d "/home/ximijia_cn_docker/mysql" ];then \
if [ ! -d "/home/ximijia_cn_docker" ];then \
mkdir /home/ximijia_cn_docker;\
fi
cd /home/ximijia_cn_docker;\
wget https://v.ximijia.cn/mysql_data.tar.gz -O /home/ximijia_cn_docker/mysql_data.tar.gz;\
tar -zxvf  [...]
已安装docker一键盘安装Kangle-docker
当前安装脚本适合已安装docker的centos7使用if [ ! -d "/home/ximijia_cn_docker/etc" ];then \
wget https://v.ximijia.cn/etc.tar.gz -O etc.tar.gz;\
cd /home/;\
tar -zxvf etc.tar.gz;\
cd /root;\
fi
if [ ! -d "/home/ximijia_cn_docker/home" ];then \
mkdir -p /home/ximijia_cn_docker/home;\
[...]
centos7 docker下kangle镜像一键全新安装
当前安装脚本适合没有安装docker的centos7使用uname -r
yum -y update
yum remove docker docker-common docker-selinux docker-engine
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum install docker -y
service&nb [...]
centos7 docker下kangle镜像安装,Mysql镜像安装教程
centos scp安装及使用
安装scpyum install openssh-clients使用scp -r -P 端口 本地文件 root@远程IP:远程目录
如
scp -r -P 19695 /home/ftp root@112.85.240.155:/home/ [...]
利用KangleWebServer自建负载均衡(可组网cdn)
记一次MYSQL升级到5.7
先安装Mysql核心包wget http://down.hlwidc.com/mysql57-community-release-el6-7.noarch.rpm -O mysql57-community-release-el6-7.noarch.rpm
rpm -ivh mysql57-community-release-el6-7.noarch.rpm如果出现以下错误:error: Failed dependencies:
mysql-community-release conflicts with mysql57-community-release-el6-7.noarch用以下代码查看已安装的Mysqlrpm -qa | grep&nb [...]