技术交流QQ群:①185473046   ②190706903   ③203744115   网站地图
登录

下次自动登录
现在位置 >首页 > 环境部署
0℃
基础教程: Debian 10.9.x安装配置图解教程 https://www.osyunwei.com/archives/11103.html 准备篇: 一、配置防火墙,开启80端口、3306端口 Debian默认没有安装任何防火墙的,我们这里推荐使用iptables防火墙。 1.1安装iptables防火墙 whereis iptables #查看系统是否安装防火墙 apt-get install iptables #运行此命令安装防火墙 mkdir /etc/sysconfig #创建防火墙配置文件存放目录 touch /etc/sysconfig/iptables #创建防火墙配置文件 nano /etc/sysconfig/iptables #编辑添加防火墙规则 # sample configuratio...
阅读全文
0℃
基础教程: Ubuntu Server 20.04.1 LTS安装配置图解教程 https://www.osyunwei.com/archives/10727.html 准备篇: 一、配置防火墙,开启80端口、3306端口 1.1安装iptables防火墙 Ubuntu Server默认没有开启任何防火墙的,但是默认安装了ufw防火墙,我们这里推荐使用iptables防火墙。 ufw status #查看系统自带的ufw防火墙状态 Status: inactive #表示关闭 ufw disable #关闭ufw防火墙,参数enable是开启,我们这里关闭 apt-get remove ufw #卸载ufw apt-get purge ufw #清除ufw依赖包 whereis iptables #查看系统...
阅读全文
0℃
本文档最后更新于2021年5月28日 基础教程: Rocky Linux 8.x系统安装配置图解教程 https://www.osyunwei.com/archives/11453.html 准备篇 一、防火墙配置 Rocky Linux 8.x默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl mask firewalld systemctl stop firewalld yum remove firewalld 2、安装iptables防火墙 yum install iptables-services #安装 vi /etc/...
阅读全文
0℃
本文档最后更新于2021年5月25日 前传: 1、CentOS 8.x系统安装配置图解教程 https://www.osyunwei.com/archives/11499.html 2、CentOS服务器初始化设置 http://www.osyunwei.com/archives/9034.html 准备篇 一、防火墙配置 CentOS 8.x默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl mask firewalld systemctl stop firewalld yum remove firewalld 2、安装i...
阅读全文
0℃
2020年03月18日 PHP ⁄ 被围观 35,279次+
一、编译安装php 7.4.x 参考CentOS 8.0.1905编译安装Nginx1.16.1+MySQL8.0.18+PHP7.3.10 1、安装编译工具及库文件(使用yum命令安装) yum install apr* autoconf automake bison bzip2 bzip2* cpp curl curl-devel fontconfig fontconfig-devel freetype-devel gcc gcc-c++ gd gd-devel gettext gettext-devel glibc kernel kernel-headers keyutils keyutils-libs-devel krb5-devel libcom_err-devel libpng libpng-devel libjpeg* libsepol-devel libselinux-devel libstdc++-devel libtool* libgomp libxml2 ...
阅读全文
0℃
2019年11月11日 IIS ⁄ 被围观 38,307次+
准备篇 一、环境说明: 操作系统:Windows Server 2019 PHP版本:php 7.3.11 MySQL版本:MySQL 8.0.18.0 二、相关软件下载: 1、PHP下载地址: https://windows.php.net/downloads/releases/php-7.3.11-nts-Win32-VC15-x64.zip 2、MySQL下载地址: https://cdn.mysql.com//Downloads/MySQLInstaller/mysql-installer-community-8.0.18.0.msi 3、Visual C++ Redistributable for Visual Studio 2015(安装PHP、MySQL需要此插件) https://download.visualstudio.microsoft.com/download/pr/11100229/78c1e864d806e...
阅读全文
0℃
2019年10月25日 LNMP ⁄ 被围观 37,192次+
必会知识: CentOS 8.0.1905系统安装配置图解教程 https://www.osyunwei.com/archives/10256.html 准备篇 一、防火墙配置 CentOS 从7.x开始默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl mask firewalld systemctl stop firewalld yum -y remove firewalld 2、安装iptables防火墙 yum install iptables-services #安装 vi /etc/sysconfig/iptables #编辑防...
阅读全文
0℃
本文CentOS版本:CentOS 8.0.1905 MySQL版本:mysql-8.0.18 前传: CentOS 8.0.1905系统安装配置图解教程 https://www.osyunwei.com/archives/10256.html 准备篇 一、防火墙配置 CentOS 从7.x开始默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl mask firewalld systemctl stop firewalld yum remove firewalld 2、安装iptables防火墙 yum install iptables-...
阅读全文
0℃
2019年07月01日 Apache ⁄ 被围观 16,649次+
学习本教程须掌握: 1、Linux下指定版本编译安装LAMP https://www.osyunwei.com/archives/9224.html 2、Linux下Apache虚拟主机配置 https://www.osyunwei.com/archives/9232.html 3、CentOS 7.x编译安装Nginx1.10.3+MySQL5.7.16+PHP5.2 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3多版本全能环境 https://www.osyunwei.com/archives/10057.html 安装约定: Apache版本:2.2 Apache安装路径:/usr/local/apache Apache虚拟主机配置文件:/usr/local/apache/conf/vhost php版本:支持php5.2到最新的php7.3 php安装路径:/usr/...
阅读全文
0℃
2019年06月19日 MySQL ⁄ 被围观 19,881次+
遇到问题:按照MySQL5.6版本之前的语句对MySQL5.7版本执行创建数据库、添加用户并对用户授权操作后,有可能该授权用户只能连接到数据库,但是执行不了任何操作,更是创建不了数据表。 解决问题:通过测试,发现在MySQL5.7版本中,可能要授权用户对所有数据库有SUPER权限,否则可能该授权用户只能连接数据库并不能执行任何操作。 数据库名称:mydb 数据库用户名:mydbuser 数据库密码:123456 Create DATABASE IF NOT EXISTS mydb default charset utf8 COLLATE utf8_general_ci; #创建数据库 #MySQL5.7版本建议先...
阅读全文
0℃
2019年05月01日 Apache ⁄ 被围观 15,283次+
学习本教程须掌握: 1、Linux下指定版本编译安装LAMP https://www.osyunwei.com/archives/9224.html 2、Linux下Apache虚拟主机配置 https://www.osyunwei.com/archives/9232.html 安装约定: Apache版本:2.2    #注意2.4和2.2版本某些参数的写法不一样 Apache安装路径:/usr/local/apache Apache虚拟主机配置文件:/usr/local/apache/conf/vhost https证书存放路径:/usr/local/apache/cert/ 开始配置: 1、确保Apache安装有OpenSSL模块 编译安装需要有参数:--enable-ssl 2、修改apache配置文件 vi  /usr/local...
阅读全文
0℃
2018年04月30日 MySQL ⁄ 被围观 52,922次+
问题: MySQL数据库迁移到MySQL5.7版本后,出现如下报错: 原因分析:MySQL5.7版本默认设置了 mysql sql_mode = only_full_group_by 属性,导致报错。 解决办法: 1、打开MySQL数据库控制台 执行全局sql语句: set   @@sql_mode= 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO, NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'; 或者 SET GLOBAL  sql_mode= 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO, NO_AUTO_CREATE_USER,NO_ENGINE_SUBS...
阅读全文
0℃
本文档最后更新于2019年6月29日 前传: 1、CentOS 7.3.1611系统安装配置图解教程 http://www.osyunwei.com/archives/10003.html 2、CentOS服务器初始化设置 http://www.osyunwei.com/archives/9034.html 准备篇 一、防火墙配置 CentOS 7.x默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl mask firewalld systemctl stop firewalld yum remove firewalld 2、...
阅读全文
0℃
2017年03月03日 LNMP ⁄ 被围观 31,766次+
前传: 1、CentOS 7.3.1611系统安装配置图解教程 http://www.osyunwei.com/archives/10003.html 2、CentOS服务器初始化设置 http://www.osyunwei.com/archives/9034.html 准备篇 一、防火墙配置 CentOS 7.x默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 2、安装iptables防火墙 yum install iptables-services #安装 vi /etc/sysconfig/iptables #编辑防火墙配置文件 ...
阅读全文
0℃
2016年12月26日 IIS ⁄ 被围观 50,578次+
准备篇 一、环境说明: 操作系统:Windows Server 2016 PHP版本:php 7.1.0 MySQL版本:MySQL 5.7.17.0 二、相关软件下载: 1、PHP下载地址: http://windows.php.net/downloads/releases/php-7.1.0-nts-Win32-VC14-x86.zip 2、MySQL下载地址: http://cdn.mysql.com//Downloads/MySQLInstaller/mysql-installer-community-5.7.17.0.msi 3、Microsoft Visual C++ 2010 可再发行组件包(安装MySQL需要此插件) https://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6E/vcredist_x86....
阅读全文
0℃
2016年12月16日 LNMP ⁄ 被围观 22,046次+
准备篇 一、配置防火墙,开启80端口、3306端口 vi /etc/sysconfig/iptables #编辑防火墙配置文件 # Firewall configuration written by system-config-firewall # Manual customization of this file is not recommended. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT -A INPUT -p icmp -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT -A INPUT -m state --state ...
阅读全文
0℃
2016年12月09日 PHP ⁄ 被围观 18,426次+
说明: 操作系统:CentOS php安装目录:/usr/local/php php.ini配置文件路径:/usr/local/php/etc/php.ini 1、安装cphalcon cd /usr/local/src git clone git://github.com/phalcon/cphalcon.git #需要安装安装git软件包yum install git cd /usr/local/src/cphalcon/build/php5/64bits #选择相应的php版本目录 /usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/php/bin/php-config make make install 2、配置php支持cphalcon vi /usr/local/php/etc/php.ini #编辑配置文件,在最后一行添加以...
阅读全文


Copyright© 2011-2025 系统运维 All rights reserved
版权声明:本站所有文章均为作者原创内容,如需转载,请注明出处及原文链接
陕ICP备11001040号-3