本脚本适用环境系统支持:CentOS 6+,Debian 7+,Ubuntu 12+虚拟技术:OpenVZ 以外的,比如 KVM、Xen、VMware 等内存要求:≥128M日期 :2018 年 02 月 24 日关于本脚本1、本脚本已在 Vultr 上的 VPS 全...
一、安装 Docker这一节主要来自于:How To Install Docker on CentOS 6以下 命令都是在 root 权限下运行的。Docker是Enterprise Linux(EPEL)的额外包的一部分,EPEL是用于RHEL发行版的非标准包的社区库...
一、在Linux服务器上自建KMS服务器下载KMS程序文件到服务器中:wget https://www.qinyuanyang.com/zb_users/upload/2019/02/201902081549556867539600.zip 然后:unzip -q...
1、firewalld的基本使用启动: systemctl start firewalld查看状态: systemctl status firewalld 停止: systemctl disable firewalld禁用: systemctl stop firewal...
流程:1.装epel的源2.yum -install fail2ban3.vim /etc/fail2ban/jail.d/xxoo.local[ssh-iptables]enabled = truefilter = sshdaction = iptables[name...
以添加80端口为例操作如下:[root@centos httpd]# /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT 保存[root@centos httpd]# /etc/rc.d/init.d/iptables...
完全参考http://mirrors.aliyun.com/help/centos?spm=5176.bbsr150321.0.0.d6ykiD1、备份mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentO...
临时设置IP地址:输入 ifconfig eth0 (默认是第一个网卡) 后面接IP地址, 网络掩码和 网关,如果不设置,就使用默认的掩码固定设置\修改IP地址:vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=et...
公司服务器10.12.1.252编译安装bcmath扩展bcmath这个扩展在php的压缩包中都是有的,需要重新编译一下才能够支持;cd php-5.2.7/ext/bcmath //进入相应版本PHP安装路径/usr/local/php/bin/phpiz...
1、通过自己的途径获取SSL证书,免费的或者购买的都行。2、安装SSL证书用文件传输工具传输到服务器上,这里以CentOS为例,在 nginx 安装目录下创建 sslkey 目录,将两个证书文件(公钥和私钥)拷贝到 sslkey 目录下打开 Nginx 安装目录下 co...