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

下次自动登录
现在位置 >首页 > 环境部署
0℃
2025年06月13日 MySQL ⁄ 被围观 69次+
操作系统:AnolisOS-8.10 mysql版本:mysql-5.7.44-linux-glibc2.12-x86_64.tar.gz 准备篇 1、关闭SELINUX #AnolisOS-8.10默认是关闭的,可以不用操作 vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存退出 setenforce 0 #使配置立即生效 2、开启防火墙 系统默认使用的是firewall作为防火墙,这里改为iptables防火墙。 开启mysql默认端口3306 2.1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewa...
阅读全文
0℃
2025年06月12日 MySQL ⁄ 被围观 143次+
操作系统:AnolisOS-8.10 mysql版本:mysql-8.4.5-linux-glibc2.28-x86_64.tar.xz 准备篇 1、关闭SELINUX #AnolisOS-8.10默认是关闭的,可以不用操作 vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存退出 setenforce 0 #使配置立即生效 2、开启防火墙 系统默认使用的是firewall作为防火墙,这里改为iptables防火墙。 开启mysql默认端口3306 2.1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewal...
阅读全文
0℃
2025年05月23日 PostgreSQL ⁄ 被围观 465次+
PostgreSQL是一个功能非常强大的、源代码开放的关系型数据库,PostgreSQL被业界誉为“最先进的开源数据库”,主要面向企业复杂查询SQL的OLTP业务场景, 支持NoSQL数据类型(hstore/JSON/XML) 操作系统:openEuler 24.03-LTS-SP1 PostgreSQL下载地址: https://www.postgresql.org/ftp/source/v17.5/ https://ftp.postgresql.org/pub/source/v17.5/postgresql-17.5.tar.gz 上传安装包到/data/soft目录 操作系统安装: 欧拉操作系统openEuler 24.03-LTS-SP1安装配置图解教程 https://www.osyunwei.com/archives/1495...
阅读全文
0℃
2025年05月06日 Redis ⁄ 被围观 543次+
操作系统:openEuler 24.03 LTS SP1、CentOS-8、AlmaLinux、Rocky Linux等 Redis版本:8.0.0 服务器ip:192.168.21.100、192.168.21.101、192.168.21.128 部署说明:使用3台服务器,每台服务器启动2个redis服务,总共6个节点,3主3从组成redis集群 IP地址 端口 角色 Redis版本 192.168.21.100 6379 redis-master 8.0.0 192.168.21.100 6380 redis-slave 8.0.0 192.168.21.101 6379 redis-master 8.0.0 192.168.21.101 6380 redis-slave 8.0.0 192.168.21.128 6379 redis-master 8.0.0 192.168.21.128 6380 redis-...
阅读全文
0℃
2025年05月06日 Redis ⁄ 被围观 744次+
操作系统: openEuler 24.03 LTS SP1、CentOS-8、AlmaLinux、Rocky Linux等 准备篇 1、关闭selinux sestatus #查看状态,显示disabled表示已经禁用 sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config #禁用selinux setenforce 0 #临时禁用 /usr/sbin/sestatus -v #查看selinux状态,disabled表示关闭 2、防火墙配置 2.1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl mask firewalld systemctl stop firew...
阅读全文
0℃
2025年05月06日 Redis ⁄ 被围观 529次+
操作系统: BigCloud Enterprise Linux For Euler 21.10 LTS https://mirrors.cmecloud.cn/bclinux/oe21.10/ openEuler 24.03 LTS SP1 https://www.openeuler.org/zh/download/ CentOS-8、AlmaLinux、Rocky Linux等 1、下载安装包 下载地址:https://download.redis.io/releases/redis-7.4.3.tar.gz 上传安装包到服务器/usr/local/src目录 2、升级gcc版本 #redis源码编译需要gcc的版本大于等于5 gcc -v 查看gcc版本 #已经是高版本的gcc了,不需要升级 #yum -y install gcc gcc-c++ #安装gcc #yum -y install tcl ...
阅读全文
0℃
2025年04月24日 Tengine ⁄ 被围观 564次+
官方网站: https://tengine.taobao.org/ 下载地址: 1、tengine https://tengine.taobao.org/download_cn.html https://tengine.taobao.org/download/tengine-3.1.0.tar.gz 2、pcre https://ftp.pcre.org/pub/pcre/pcre-8.45.tar.gz 3、zlib https://zlib.net/fossils/zlib-1.3.tar.gz 4、openssl https://www.openssl.org/source/openssl-1.1.1k.tar.gz 创建相应目录: mkdir -p /data/server/tengine/packages mkdir -p /data/server/tengine/install 上传安装包到/data/server/tengine/packages目录下面 操作...
阅读全文
0℃
2025年04月23日 PHP ⁄ 被围观 463次+
环境说明: php安装目录:/usr/local/php73 1、下载安装ImageMagick #imagick扩展的依赖库 cd /usr/local/src wget https://github.com/ImageMagick/ImageMagick/archive/7.0.8-61.tar.gz tar -zxvf  7.0.8-61.tar.gz cd ImageMagick-7.0.8-61 ./configure --prefix=/usr/local/imagemagick make make install 2、下载安装imagick扩展 cd /usr/local/src wget http://pecl.php.net/get/imagick-3.4.4.tgz tar -zxvf  imagick-3.4.4.tgz cd imagick-3.4.4 /usr/local/php73/bin/phpize ./configure --with-php-con...
阅读全文
0℃
2025年04月11日 NFS ⁄ 被围观 588次+
操作系统:CentOS-7-8、openEuler、Anolis OS等 准备工作 1、关闭selinux sestatus #查看状态,显示disabled表示已经禁用 sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config #禁用selinux setenforce 0 #临时禁用 /usr/sbin/sestatus -v #查看selinux状态,disabled表示关闭 2、防火墙配置 2.1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl mask firewalld systemctl stop firewalld yum remove firewall...
阅读全文
0℃
2025年03月05日 Nginx ⁄ 被围观 1,862次+
需求:把Windows版本的nginx添加为系统服务,并且设置为开机自启动 操作步骤: 1、下载Windows Service Wrapper工具 Winsw (Windows Service Wrapper) 可以将任何可执行文件配置成为能够在Windows系统后台自动启动、停止、重启的服务。 Winsw的工作原理是读取一个XML配置文件(通常命名为winsw.xml),在这个配置文件中定义了服务的名称、可执行文件路径、启动参数、服务描述、日志配置等信息。 通过运行Winsw提供的exe文件(如winsw.exe),根据XML配置来管理对应的应用程序作为服务。 官方网站:https://github...
阅读全文
0℃
2025年03月05日 IIS ⁄ 被围观 1,077次+
遇到的问题:Windows-Server服务器安装.net报错,无法正常安装 解决办法:使用cab文件安装 下载地址: 网盘链接: https://pan.baidu.com/s/1OxfwMzeG0M1Effw6-xNXQw?pwd=qsv5 提取码: qsv5 操作步骤: 1. 复制microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab 文件到C盘根目录 2. 以管理员身份运行命令提示符 3. 输入dism /online /add-package /packagepath:C:\microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab 回车,直到操作成功完成,.net freamwork 3.5...
阅读全文
0℃
2024年04月16日 数据库 ⁄ 被围观 3,649次+
H2是Thomas Mueller提供的一个开源的、纯java实现的关系数据库。 官方网站:https://www.h2database.com/ 下载地址:https://www.h2database.com/html/download.html https://github.com/h2database/h2database/releases/download/version-2.2.224/h2-2023-09-17.zip 上传安装包到/data/soft目录 H2 数据库服务器默认监听 9092 端口用于 TCP 连接,8082 端口用于 Web 连接,可以自定义修改 H2 数据库依赖java,需要先安装java环境 1、安装 unzip /data/soft/h2-2023-09-17.zip -d /data/server/ #解压 mkdir -p /...
阅读全文
0℃
2023年12月06日 PostgreSQL ⁄ 被围观 4,040次+
1、在数据量小(1-2GB大小)的情况下可以直接使用pg_dump导出数据,psql导入数据,如下: #导出数据 nohup /data/server/pgsql/bin/pg_dump -h 127.0.0.1 -U dbuser -p 5432 database --column-inserts | gzip > /tmp/database_back.sql.gz & #导入数据 nohup gunzip -c /tmp/database_back.sql.gz | psql -h 127.0.0.1 -U dbuser -d database & 如果数据量比较大(10GB以上),导出数据至少需要2个小时以上,导入数据需要15个小时以上。 2、使用多线程并行导出导入数据 #多线程导出数据 -j 16 16可以...
阅读全文
0℃
准备篇 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防火墙 RTMP基于TCP, 默认使用端口1935,再开放81端口 yum install iptables-services #安装 vi /etc/sysconfig/iptables #编辑防火墙配置文件 # sample configuration for iptables service # you can edit...
阅读全文
0℃
2023年06月09日 Redis ⁄ 被围观 5,144次+
操作系统:CentOS-7.x Redis版本:5.0.14 服务器ip:192.168.21.100、192.168.21.101、192.168.21.128 部署说明:使用3台服务器,每台服务器启动2个redis服务,总共6个节点,3主3从组成redis集群 IP地址                       端口          角色  192.168.21.100         6379         redis-master 192.168.21.100         6380         redis-slave 192.168.21.101         6379         redis-master 192.168.21.101         6380         redis-slave 192.168.21.128         6379         redis-master 19...
阅读全文
0℃
2023年05月25日 openGauss ⁄ 被围观 7,596次+
openGauss是由华为开源的一款关系型数据库,基于PostgreSQL数据库开发。 操作系统:openEuler 22.03 LTS SP1 官方网站:https://opengauss.org/zh/ 下载地址:https://opengauss.org/zh/download/ 注意:需要登录才能下载,要选择好操作系统和数据库对应的版本,这里我们选择openEuler 22.03对应的openGauss_5.0.0 企业版openGauss-5.0.0-openEuler-64bit-all.tar 操作系统安装: openEuler 22.03 LTS SP1安装配置图解教程 https://www.osyunwei.com/archives/13673.html 准备篇 1、关闭SELINUX vi /etc/selinux/...
阅读全文
0℃
2022年12月27日 openGauss ⁄ 被围观 5,913次+
openGauss是由华为开源的一款关系型数据库,基于PostgreSQL数据库开发。 操作系统:CentOS 7.x 官方网站:https://opengauss.org/zh/ 下载地址:https://opengauss.obs.cn-south-1.myhuaweicloud.com/3.1.0/x86/openGauss-3.1.0-CentOS-64bit-all.tar.gz 安装前系统设置 1、关闭SELINUX vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存退出 setenforce 0 #使配置立即生效 2、开启防火墙5432端口 CentOS 7.x默认使用的是firewall作为防火墙...
阅读全文


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