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

下次自动登录
现在的位置: 首页
0℃

Debian 10.9.x编译安装Nginx1.20.x+MySQL8.0.x+PHP8.0.x 7.4.x 7.3.x 7.2.x 7.1.x 7.0.x 5.6.x 5.5.x 5.4.x 5.3.x 5.2.x多版本全能环境

2021年06月13日 LNMP  ⁄ 被围观 13,151次+
基础教程: 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.x LTS编译安装Nginx1.20.x+MySQL8.0.x+PHP8.0.x 7.4.x 7.3.x 7.2.x 7.1.x 7.0.x 5.6.x 5.5.x 5.4.x 5.3.x 多版本全能环境

2021年06月02日 LNMP  ⁄ 被围观 5,957次+
基础教程: 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℃

Ubuntu Server 20.04.x LTS使用systemd创建自定义开机启动服务

2021年05月05日 Linux  ⁄ 被围观 5,143次+
Ubuntu Server 20.04.x LTS系统中需要开机启动某个服务、开机备份文件等都可以通过systemd实现 1、创建配置文件 nano /lib/systemd/system/autostart.service #创建文件 [Unit] Description=autostart [Service] Type=forking PIDFile=/run/autostart.pid #EnvironmentFile=/etc/systemd/autostart.conf ExecStart=/home/autostart.conf ExecReload=/bin/kill -SIGHUP $MAINPID ExecStop=/bin/kill -SIGINT $MAINPID [Install] WantedBy=multi-user.target graphical.target Alias=autostart.service ctrl+o #保...
阅读全文
0℃

CentOS官方停止维护后yum源失效解决办法

2021年04月05日 CentOS  ⁄ 被围观 7,656次+
截止目前CentOS 5和6官方已经停止维护,yum命令默认已经无法使用。 CentOS官方提供了一个旧版软件存档http://vault.centos.org/,我们可以使用这个连接替换yum源。 注意:CentOS官方不会再更新此连接,这仅仅是一份旧版快照,我们仅可用它来做yum源,服务器系统建议还是尽可能升级到官方支持的版本。 1、查询当前系统版本 cat /etc/issue CentOS release 6.10 (Final) Kernel \r on an \m #当前系统版本是CentOS 6.10  yum install wget #测试安装软件,默认无法使用yum命令 2、创建yum源文件 mv /etc/yum.rep...
阅读全文
0℃

Ubuntu Server 20.04.x LTS基于iptables防火墙设置

2021年04月04日 Ubuntu  ⁄ 被围观 11,250次+
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 #查看系统是否安装防火墙 apt-get install iptables #请运行此命令安装防火墙 一、配置防火墙 mkdir /etc/sysconfig #创建防火墙配置文件存放目录 touch /etc/sysconfig/iptables #创建防...
阅读全文
0℃

Rocky Linux 8.x编译安装Nginx1.20.x+MySQL8.0.x+PHP8.0.x PHP7.4.x 7.3.x 7.2.x 7.1.x 7.0.x 5.6.x 5.5.x 5.3.x 多版本全能环境

2021年03月23日 LNMP  ⁄ 被围观 7,858次+
本文档最后更新于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℃

Rocky Linux 8.3系统安装配置图解教程

2021年02月11日 Rocky  ⁄ 被围观 9,449次+
Rocky Linux是一个社区企业操作系统,旨在与美国顶级企业Linux发行版实现100%错误兼容,Rocky Linux由CentOS项目的创始人Gregory Kurtzer领导。 Rocky Linux官方网站:https://rockylinux.org/ Rocky Linux下载地址:https://rockylinux.org/download 截止目前Rocky Linux最新版本为Rocky Linux 8.3 RC版本,下面介绍Rocky Linux8.3 的具体安装配置过程 一、安装Rocky Linux 8.3 成功引导系统后,会出现下面的界面 界面说明: Install Rocky Linux 8  #安装Rocky Linux 8 Test this media & install Rocky ...
阅读全文
0℃

centos7 安装rancher的k8s 客户端

2021年02月07日 Linux  ⁄ 被围观 3,546次+
Centos 7 kubectl 客户端连接rancher里面的k8s 1 centos7 安装最新版本的kubectl 脚本如下:install_kubectl.sh #!/bin/bash # make sunny sunnylinux@foxmail.com cat <<EOF > /etc/yum.repos.d/kubernetes.repo [kubernetes] name=Kubernetes baseurl=https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64 enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey=https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg https://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-ke...
阅读全文
0℃

rancher安装完美解决agent无法加入rancher

2021年02月06日 Linux  ⁄ 被围观 5,989次+
rancher 简介: Rancher 是为使用容器的公司打造的容器管理平台。Rancher 简化了使用 Kubernetes 的流程,开发者可以随处运行 Kubernetes(Run Kubernetes Everywhere),满足 IT 需求规范,赋能 DevOps 团队。 网上千篇一律的安装方法: sudo docker run -d --restart=unless-stopped -p 8080:8080 rancher/server但是当你的centos7 内核没有升级没有优化,rancher的k8s是无法添加node主机,给很多人造成困惑。安装环境centos7 ,update最新版本,docker-ce 最新的20版本与朋友交流总结updte内核脚本, #!/bin/ba...
阅读全文
0℃

Ubuntu Server 20.04.1 LTS安装配置图解教程

2021年01月11日 Ubuntu  ⁄ 被围观 31,263次+
一、Ubuntu Server 20.04.1 LTS系统安装 Ubuntu Linux发型版本目前有两种:Ubuntu桌面版和Ubuntu Server服务器版本,服务器系统建议选择Ubuntu Server服务器版本。 目前最新的服务器版本是:Ubuntu Server 20.04.1 LTS(长期支持版本,5年技术支持) ubuntu-20.04.1目前为止没有离线安装镜像,只有ubuntu-20.04.1-live-server-amd64.iso(多了个live) live代表安装过程中需要网络。 如果需要离线安装,可以使用ubuntu-18.04.5,此版本目前有离线安装镜像。 下载地址:http://cdimage.ubuntu.com/ubuntu/releases...
阅读全文
0℃

Ubuntu Server 18.04.5 LTS安装配置图解教程

2020年12月23日 Ubuntu  ⁄ 被围观 11,246次+
一、Ubuntu Server 18.04.5 LTS系统安装 Ubuntu分为桌面版(desktop)和服务器版(Server),下面为大家介绍服务器版本Ubuntu Server 18.04.5 LTS的详细安装过程。 Ubuntu Server 18.04.5 LTS离线安装镜像下载地址: http://cdimage.ubuntu.com/ubuntu/releases/18.04.5/release/ubuntu-18.04.5-server-amd64.iso 选择安装语言  English 选择第一项,安装Ubuntu服务器版 选择安装过程中使用的语言,也是系统安装完后使用的默认语言 English 选择地区,other 再选择Asia 选择China 配置键盘,选择 United S...
阅读全文
0℃

Debian 10.9.x安装配置图解教程

2020年11月30日 Debian  ⁄ 被围观 6,201次+
一、安装系统 Debian 10.9.0的安装镜像文件有3个DVD,安装基本系统只用到第一个镜像文件,即DVD1 其它镜像文件是附带的软件包。 附Debian 10.9.0系统镜像下载地址: https://mirrors.163.com/debian-cd/10.9.0/amd64/iso-dvd/debian-10.9.0-amd64-DVD-1.iso 界面说明: graphical install 图形安装 Install 安装系统 advanced options 高级选项 Help 帮助 Install with speech synthesis 安装语音合成 这里选择Install 安装系统,回车。 选择安装语言  English 选择地区,other 再选择Asia 选择China 配置...
阅读全文
0℃

CentOS 8.x编译安装Nginx1.16.x+MySQL8.0.x+PHP7.4.x 7.3.x 7.2.x 7.1.x 7.0.x 5.6.x 5.5.x 5.3.x 多版本全能环境

2020年03月30日 LNMP  ⁄ 被围观 29,779次+
本文档最后更新于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℃

CentOS 8.x下编译php 7.4、php5.6、php5.3多版本报错处理

2020年03月18日 PHP  ⁄ 被围观 31,322次+
一、编译安装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℃

Windows Server 2019 IIS10.0+PHP(FastCGI)+MySQL环境搭建教程

2019年11月11日 IIS  ⁄ 被围观 34,704次+
准备篇 一、环境说明: 操作系统: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℃

CentOS 8.0.1905编译安装Nginx1.16.1+MySQL8.0.18+PHP7.3.10

2019年10月25日 LNMP  ⁄ 被围观 34,110次+
必会知识: 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 8.x安装MySQL 8.x并创建数据库添加用户对用户进行授权

2019年09月30日 MySQL  ⁄ 被围观 19,407次+
本文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-...
阅读全文


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