iis服务器助手广告广告
返回顶部
首页 > 资讯 > 后端开发 > PHP编程 >LNMP环境安装
  • 921
分享到

LNMP环境安装

nginx运维phpcentosrabbitmq 2023-09-03 12:09:29 921人浏览 安东尼
摘要

LNMP环境安装步骤 名称版本号服务商华为云Centos8.2 64bitNginx1.23.2Mysql8.0.31PHP7.4.16 服务器为华为云的的先更换yum源 [root@hecs-

LNMP环境安装步骤

名称版本号
服务商华为云
Centos8.2 64bit
Nginx1.23.2
Mysql8.0.31
PHP7.4.16

服务器为华为云的的先更换yum源

[root@hecs-223575 ~]# cd /etc/yum.repos.d[root@hecs-223575 yum.repos.d]# mkdir bak // 将当前文件夹下的文件都移动到bak下#在 /etc/yum.repos.d 文件夹下执行:[root@hecs-223575 yum.repos.d]# wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repocrtl+f 搜索并替换:(只需要替换两个地方)mirrors.cloud.aliyuncs.com 替换为 mirrors.aliyun.com(如果没有改动,这里可以不用替换)releasever 替换为 releasever-stream注意:替换所有然后执行:[root@hecs-223575 yum.repos.d]# yum clean all[root@hecs-223575 yum.repos.d]# yum makecache

安装nginx

# 安装依赖[root@hecs-223575 source]# yum  -y install zlib-devel pcre-devel openssl-devel GCc# 下载nginx[root@hecs-223575 source]# wget Https://nginx.org/download/nginx-1.23.2.tar.gz# 解压[root@hecs-223575 source]# tar -xvf nginx-1.23.2.tar.gz# 进入nginx 文件夹[root@hecs-223575 source]# cd nginx-1.23.2# 编译、安装[root@hecs-223575 nginx-1.23.2]# ./configure --prefix=/usr/local/nginx --user=nginx --group=nginx --with-http\_gzip\_static\_module --with-http\_stub\_status\_module --with-http\_ssl\_module[root@hecs-223575 nginx-1.23.2]# make && make install# 启动nginx[root@ecs-223575 nginx-1.23.2]# nginx-bash: nginx: command not found // 表示nginx命令未引入[root@ecs-223575 source]# /usr/local/nginx/sbin/nginxnginx: [emerg] getpwnam("nginx") failed // 没有nginx用户 新增nginx用户及用户组[root@ecs-223575 source]# groupadd nginx // 新增用户组[root@ecs-223575 source]# useradd -g nginx nginx // 新增用户nginx 并添加至nginx用户组[root@ecs-223575 source]# /usr/local/nginx/sbin/nginx# 将nginx的位置加入到环境变量中[root@hecs-223575 nginx-1.23.2]# cp /etc/profile /etc/profile.bak[root@hecs-223575 nginx-1.23.2] echo 'export PATH="/usr/local/nginx/sbin:$PATH"' >> /etc/profile #追加内容[root@hecs-223575 nginx-1.23.2] source /etc/profile

安装mysql8

# 下载yum包官网地址:https://dev.mysql.com/downloads/repo/yum/[root@hecs-223575 source]# wget https://dev.mysql.com/get/mysql80-commUnity-release-el8-3.noarch.rpm[root@hecs-223575 source]# yum install mysql80-community-release-el8-3.noarch.rpm# 查看该yum源支持哪些版本[root@ecs-365715 source]# yum repolist enabled | grep mysqlmysql-connectors-community       MySQL Connectors Communitymysql-tools-community            MySQL Tools Communitymysql80-community                MySQL 8.0 Community Server# 安装[root@ecs-365715 source]# yum install mysql-community-serverMySQL 8.0 Community Server              574 kB/s | 2.5 MB     00:04MySQL Connectors Community               39 kB/s |  84 kB     00:02MySQL Tools Community                   169 kB/s | 583 kB     00:03Last metadata expiration check: 0:00:01 aGo on Tue 22 Nov 2022 11:32:22 AM CST.All matches were filtered out by modular filtering for argument: mysql-community-serverError: Unable to find a match: mysql-community-server上述问题原因:centos8官方已经停止提供服务,相应的yum源也已经移到归档源解决上述方法1.1[root@ecs-365715 source]# vim /etc/yum.repos.d/CentOS-Base.repo注释原来的[BaseOS] [AppStream]添加新的[BaseOS]name=Qcloud centos OS - $basearchbaseurl=http://mirrors.cloud.tencent.com/centos/$releasever/BaseOS/$basearch/os/enabled=1gpgcheck=1gpgkey=http://mirrors.cloud.tencent.com/centos/RPM-GPG-KEY-CentOS-Official[AppStream]name=Qcloud centos AppStream - $basearchbaseurl=http://mirrors.cloud.tencent.com/centos/$releasever/AppStream/$basearch/os/enabled=0gpgcheck=1gpgkey=http://mirrors.cloud.tencent.com/centos/RPM-GPG-KEY-CentOS-Official[root@ecs-365715 source]# yum makecache // 重建缓存[root@ecs-365715 source]# yum install mysql-community-server# 启动、查看、开机自启动[root@ecs-365715 source]# systemctl start mysqld // 启动[root@ecs-365715 source]# systemctl status mysqld // 查看状态● mysqld.service - MySQL Server   Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)   Active: active (running) since Tue 2022-11-22 11:43:39 CST; 45s ago     Docs: man:mysqld(8)           http://dev.mysql.com/doc/refman/en/using-systemd.html  Process: 26867 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS) Main PID: 26943 (mysqld)   Status: "Server is operational"    Tasks: 39 (limit: 23712)   Memory: 457.3M   CGroup: /system.slice/mysqld.service           └─26943 /usr/sbin/mysqldNov 22 11:43:32 ecs-365715 systemd[1]: Starting MySQL Server...Nov 22 11:43:39 ecs-365715 systemd[1]: Started MySQL Server.[root@ecs-365715 source]# systemctl enable mysqld // 开机自启[root@ecs-365715 source]# systemctl daemon-reload // 重新加载系统配置,使开机自启立马有效# 登录MySQL注意:MySQL较大的变动就是,第一次安装会给root用户一个临时密码,我们需要拿到这个临时密码[root@ecs-365715 source]# grep 'temporary passWord' /var/log/mysqld.log2022-11-22T03:43:35.333150Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: 8g_yw%dewqJdfadd2kOVS还有一种查看默认密码的方式:[root@ecs-365715 source]# cat /var/log/mysqld.log2022-11-22T03:43:32.847074Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.31) initializing of server in progress as process 268942022-11-22T03:43:32.856657Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.2022-11-22T03:43:33.671692Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.2022-11-22T03:43:35.333150Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: 8g_yw%dewqJdfadd2kOVS2022-11-22T03:43:38.682930Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.31) starting as process 269432022-11-22T03:43:38.693295Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.2022-11-22T03:43:38.838271Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.2022-11-22T03:43:39.113525Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.2022-11-22T03:43:39.113558Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.2022-11-22T03:43:39.135984Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, Socket: /var/run/mysqld/mysqlx.sock2022-11-22T03:43:39.136031Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.31'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MySQL Community Server - GPL.2022-11-22T03:45:26.417507Z 8 [Warning] [MY-010058] [Server] Hostname 'zg-1031f-83.stretchoid.com' does not resolve to ''.[root@ecs-365715 source]# mysql -u root -p // 登录mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY '新密码'; // 修改密码Query OK, 0 rows affected (0.01 sec)mysql> flush privileges;Query OK, 0 rows affected (0.01 sec)# 开启数据库远程连接mysql> use mysql; Reading table infORMation for completion of table and column namesYou can turn off this feature to get a quicker startup with -ADatabase changedmysql> select user,host from user;+------------------+-----------+| user             | host      |+------------------+-----------+| mysql.infoschema | localhost || mysql.session    | localhost || mysql.sys        | localhost || root             | localhost |+------------------+-----------+4 rows in set (0.00 sec)mysql> update user set host='%' where user='root';Query OK, 1 row affected (0.00 sec)Rows matched: 1  Changed: 1  Warnings: 0# 查看MySQL配置文件[root@ecs-365715 source]# whereis my.cnfmy: /etc/my.cnf

安装php

# 安装扩展[root@hecs-223575 php-7.4.16]# yum search libxml2-devel // 查找是否有libxml2-develLast metadata expiration check: 2:44:16 ago on Mon 07 Nov 2022 03:03:23 AM CST.No matches found.如果有则直接执行下面语句[root@hecs-223575 php-7.4.16]# yum install libxml2-devel sqlite-devel oniguruma如果无则选择源码安装[root@hecs-223575 source]# wget http://xmlsoft.org/sources/libxml2-2.9.12.tar.gz[root@hecs-223575 source]# tar -xvf libxml2-2.9.12.tar.gz[root@hecs-223575 source]# cd libxml2-2.9.12[root@hecs-223575 libxml2-2.9.12]# ./configure --prefix=/usr/local/libxml2[root@hecs-223575 libxml2-2.9.12]# make && make install# 1、下载安装包并解压[root@hecs-223575 source]# wget https://www.php.net/distributions/php-7.4.16.tar.gz[root@hecs-223575 source]# tar -zxvf php-7.4.16.tar.gz[root@hecs-223575 source]# cd php-7.4.16[root@hecs-223575 php-7.4.16]  export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/libxml2/lib/pkgconfig"[root@hecs-223575 php-7.4.16] ./configure --prefix=/usr/local/php --with-mysql-sock=/usr/local/mysql/mysql.sock --with-mysqli --with-zlib --with-curl --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --with-openssl --enable-mbstring --enable-xml --enable-session --enable-ftp --enable-pdo --enable-tokenizer --enable-zip --enable-fpm --with-libxml-dir=/usr/local/libxml2 --enable-bcmath### 错误1Package 'libxml-2.0', required by 'virtual:world', not found[root@hecs-223575 php-7.4.16] yum install libxml2-devel### 错误2Package 'oniguruma', required by 'virtual:world', not found)[root@hecs-223575 source]yum install autoconf automake libtool -y[root@hecs-223575 source]wget https://GitHub.com/kkos/oniguruma/arcHive/v6.9.4.tar.gz -O oniguruma-6.9.4.tar.gz [root@hecs-223575 source]tar xf oniguruma-6.9.4.tar.gz [root@hecs-223575 source]cd oniguruma-6.9.4/[root@hecs-223575 source]./autogen.sh && ./configure --prefix=/usr[root@hecs-223575 source]make && make install[root@hecs-223575 php-7.4.16] make && make install[root@hecs-223575 php-7.4.16]# cp php.ini-production /usr/local/php/lib/php.ini[root@hecs-223575 php-7.4.16]# cp sapi/fpm/init.d.php-fpm /etc/init.d/php7-fpm[root@hecs-223575 php-7.4.16]# chmod +x /etc/init.d/php7-fpm[root@hecs-223575 php-7.4.16]# cd /usr/local/php/etc[root@hecs-223575 etc]# cp php-fpm.conf.default php-fpm.conf[root@hecs-223575 etc]# cp php-fpm.d/www.conf.default  php-fpm.d/www.conf[root@hecs-223575 etc]# echo 'export PATH="/usr/local/php/bin:$PATH"' >> /etc/profile #追加内容[root@hecs-223575 etc]# source /etc/profile

安装swoole扩展

## 下载##安装依赖[root@hecs-223575 source] yum install -y glibc-headers gcc-c++[root@hecs-223575 source] wget https://github.com/swoole/swoole-src/archive/v4.4.23.tar.gz# 如果使用 github 下载慢,请到 pecl 进行下载 # tioncico@tioncico-PC:/tmp$ wget https://pecl.php.net/get/swoole-4.4.23.tgz ## 解压到当前目录[root@hecs-223575 source] tar -zvxf v4.4.23.tar.gz## cd 到解压之后的目录[root@hecs-223575 source]cd swoole-src-4.4.23/ ## 使用 phpize 创建 php 编译检测脚本 ./configure##【注意:需要选择 php 对应版本的 phpize,这里使用的是绝对路径,否则编译安装无法生效】[root@hecs-223575 source] /usr/local/php/bin/phpize## 创建编译文件,第一个 --with,后面是 php-config 的所在路径(这个路径一般和 php 在同一个目录) /usr/local/php-7.2.2/bin/php-config,第二个 --enable,是开启 Swoole 的 ssl 功能,第三个 --enable(可选参数),是开启 Swoole 支持 http2 相关的功能[root@hecs-223575 source] ./configure --with-php-config=/usr/local/php/bin/php-config --enable-openssl --enable-http2## 编译 Swoole 并把编译好的文件移动到 php 的扩展目录(前面的配置 php 版本的扩展目录) 需要root权限[root@hecs-223575 source] make && make install ## 编译成功会显示如下:[root@hecs-223575 swoole-src-4.4.23]# make installInstalling shared extensions:     /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/Installing header files:          /usr/local/php/include/php/# 编辑php.ini文件,增加swoole扩展支持[root@hecs-223575 source]# vim /usr/local/php/lib/php.ini# 增加下面内容; swoole扩展支持extension=swoole.so# 重启php-fpm[root@hecs-223575 source]# service php-fpm restart

安装Redis扩展

[root@hecs-223575 source]# wget  https://pecl.php.net/get/redis-5.3.7.tgz[root@hecs-223575 source]# tar -xvf redis-5.3.7.tgz[root@hecs-223575 source]# cd redis-5.3.7[root@hecs-223575 redis-5.3.7]# phpizeConfiguring for:PHP Api Version:         20190902Zend Module Api No:      20190902Zend Extension Api No:   320190902[root@hecs-223575 redis-5.3.7]# ./configure[root@hecs-223575 redis-5.3.7]# make && make install# 编辑php.ini文件,增加redis扩展支持[root@hecs-223575 source]# vim /usr/local/php/lib/php.ini# 增加下面内容; redis扩展支持extension=redis.so# 重启php-fpm[root@hecs-223575 source]# service php-fpm restart

安装RabbitMQ扩展

[root@hecs-223575 source]# yum install ncurses-devel unixODBC unixODBC-devel // 安装依赖[root@hecs-223575 source]# wget http://erlang.org/download/otp_src_25.1.2 .tar.gz[root@hecs-223575 source]# tar -zxvf otp_src_25.1.2 .tar.gz[root@hecs-223575 source]# cd otp_src_25.1.2 [root@hecs-223575 otp_src_25.1.2 ]# ./configure --prefix=/usr/local/erlang[root@hecs-223575 otp_src_25.1.2 ]# make && make install# 配置erlang环境变量[root@hecs-223575 otp_src_25.1.2 ]# echo 'export PATH="/usr/local/erlang/bin:$PATH"' >> /etc/profile# 保存退出,并刷新变量[root@hecs-223575 otp_src_25.1.2 ]# source /etc/profile# 测试erlang是否安装成功# 安装完成以后,执行erl看是否能打开eshell,用’halt().’退出,注意后面的点号,那是erlang的结束符。[root@hecs-223575 source]  erlErlang/OTP 25 [erts-13.1.2] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit:ns]Eshell V13.1.2  (abort with ^G)1>[root@hecs-223575 source] curl -s https://packagecloud.io/install/repositories/rabbitMQ/rabbitmq-server/script.rpm.sh | sudo bash

/etc/yum.repos.d/ 目录下添加一个 rabbitmq.repo 文件 内容如下

# In /etc/yum.repos.d/rabbitmq.repo#### Zero dependency Erlang##[rabbitmq_erlang]name=rabbitmq_erlangbaseurl=https://packagecloud.io/rabbitmq/erlang/el/8/$basearchrepo_gpgcheck=1gpgcheck=1enabled=1# PackageCloud's repository key and RabbitMQ package signing keygpgkey=https://packagecloud.io/rabbitmq/erlang/gpgkey       https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asCSSlverify=1sslcacert=/etc/pki/tls/certs/ca-bundle.crtmetadata_expire=300[rabbitmq_erlang-source]name=rabbitmq_erlang-sourcebaseurl=https://packagecloud.io/rabbitmq/erlang/el/8/SRPMSrepo_gpgcheck=1gpgcheck=0enabled=1# PackageCloud's repository key and RabbitMQ package signing keygpgkey=https://packagecloud.io/rabbitmq/erlang/gpgkey       https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.ascsslverify=1sslcacert=/etc/pki/tls/certs/ca-bundle.crtmetadata_expire=300#### RabbitMQ server##[rabbitmq_server]name=rabbitmq_serverbaseurl=https://packagecloud.io/rabbitmq/rabbitmq-server/el/8/$basearchrepo_gpgcheck=1gpgcheck=0enabled=1# PackageCloud's repository key and RabbitMQ package signing keygpgkey=https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey       https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.ascsslverify=1sslcacert=/etc/pki/tls/certs/ca-bundle.crtmetadata_expire=300[rabbitmq_server-source]name=rabbitmq_server-sourcebaseurl=https://packagecloud.io/rabbitmq/rabbitmq-server/el/8/SRPMSrepo_gpgcheck=1gpgcheck=0enabled=1gpgkey=https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkeysslverify=1sslcacert=/etc/pki/tls/certs/ca-bundle.crtmetadata_expire=300

更新软件包数据

[root@hecs-223575 source] yum update -y[root@hecs-223575 source] yum -q makecache -y --disablerepo='*' --enablerepo='rabbitmq_erlang' --enablerepo='rabbitmq_server'# 安装logrotate 依赖[root@hecs-223575 source] yum install socat logrotate -y[root@hecs-223575 source]  yum install --repo rabbitmq_server rabbitmq-server -y## 开启Rabbitmq-server 服务[root@hecs-223575 source]  systemctl start rabbitmq-server## 查看MQ进程[root@hecs-223575 source]  ps -ef | grep rabbitmq## 查看mq占用的端口[root@hecs-223575 source]  lsof -i | grep rabbit# 或者[root@hecs-223575 source]  netstat -tuNLP | grep rabbitmq## 启动网页管理控制台插件[root@hecs-223575 source]  rabbitmq-plugins enable rabbitmq_management默认账号 : guest默认密码:guest#第一步:添加 admin 用户并设置密码rabbitmqctl add_user admin 123456#第二步:添加 admin 用户为administrator角色rabbitmqctl set_user_tags admin  administrator#第三步:设置 admin 用户的权限,指定允许访问的vhost以及write/readrabbitmqctl set_permissions -p "/" admin ".*" ".*" ".*"#第四步:查看vhost(/)允许哪些用户访问rabbitmqctl list_permissions -p /#第五步:查看用户列表rabbitmqctl list_users
# 安装rabbitmq-c依赖包[root@hecs-223575 source]# yum install libtool autoconf cmake# 安装rabbitmq-c [root@hecs-223575 source]# wget https://github.com/alanxz/rabbitmq-c/archive/v0.10.0.zip[root@hecs-223575 source]# tar -zxvf v0.10.0[root@hecs-223575 source]# cd rabbitmq-c-0.10.0/[root@hecs-223575 rabbitmq-c-0.10.0]# cmake -DCMAKE_INSTALL_PREFIX=/usr/local/rabbitmq-c [root@hecs-223575 rabbitmq-c-0.10.0]# cmake --build . --target install // 开始编译rabbitmq-c库# 你可以看一下/usr/local/rabbitmq-c下的目录只有include和lib64。因为后面编译安装amqp扩展的时候系统会到/usr/local/rabbitmq-c/lib目录下搜索依赖库,导致错误。所以这里需要加一步[root@hecs-223575 rabbitmq-c-0.10.0]ln -s /usr/local/rabbitmq-c/lib64 /usr/local/rabbitmq-c/lib# 安装PHP扩展 amqp[root@hecs-223575 source]# wget http://pecl.php.net/get/amqp-1.9.4.tgz[root@hecs-223575 source]# tar zxvf amqp-1.9.4.tgz[root@hecs-223575 source]# cd amqp-1.9.4[root@hecs-223575 amqp-1.9.4]# /usr/local/php/bin/phpize[root@hecs-223575 amqp-1.9.4]# ./configure --with-php-config=/usr/local/php/bin/php-config --with-amqp --with-librabbitmq-dir=/usr/local/rabbitmq-c[root@hecs-223575 amqp-1.9.4]# make && make install# 编辑php.ini文件,增加amqp扩展支持# 增加下面内容# rabbitmq扩展支持# extension=amqp.so[root@hecs-223575 source]# echo 'extension=amqp.so' >> /usr/local/php/lib/php.ini# 重启php-fpm[root@hecs-223575 source]# service php-fpm restart

来源地址:https://blog.csdn.net/zenghao36/article/details/127977775

--结束END--

本文标题: LNMP环境安装

本文链接: https://www.lsjlt.com/news/392218.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • LNMP环境安装
    LNMP环境安装步骤 名称版本号服务商华为云CentOS8.2 64bitNginx1.23.2MySQL8.0.31PHP7.4.16 服务器为华为云的的先更换yum源 [root@hecs-...
    99+
    2023-09-03
    nginx 运维 php centos rabbitmq
  • openEuler yum 安装 LNMP 环境
    安装 常用软件 yum -y updateyum -y install vim tar wget zip unzip net-tools yum 安装 nginx yum -y instal...
    99+
    2023-09-16
    php mysql 服务器
  • ubuntu怎么安装lnmp环境
    要安装LNMP环境(即Linux、Nginx、MySQL和PHP),可以按照以下步骤进行: 更新软件包列表和系统: sudo a...
    99+
    2023-10-27
    ubuntu lnmp
  • Docker怎么安装LNMP环境
    这篇文章主要介绍“Docker怎么安装LNMP环境”,在日常操作中,相信很多人在Docker怎么安装LNMP环境问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”Docker怎么安装LNMP环境”的疑惑有所帮助!...
    99+
    2023-07-02
  • linux怎么安装及部署lnmp环境
    要安装和部署LNMP环境(Linux + Nginx + MySQL + PHP),可以按照以下步骤进行操作: 安装Linux操...
    99+
    2023-10-27
    linux lnmp
  • Python实现一键安装部署LNMP环境
      最近一直在学Python,东西比较多,时间持续的也比较长,为了能够学以致用,想到了原来写过的shell一键安装部署LNMP脚本,既然shell能写,Python也一定能写,就用学到的知识写了下面这个版本,这可能并不是最优版本,等学到更多...
    99+
    2023-01-31
    一键 环境 Python
  • lnmp环境中如何编译安装php-5.3.27.tar.gz
    小编给大家分享一下lnmp环境中如何编译安装php-5.3.27.tar.gz ,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!一...
    99+
    2024-04-02
  • Zabbix 6.0 图文安装部署讲解---LNMP环境
    Zabbix 6.0 图文安装部署讲解---LNMP环境 简介环境需求部署环境关闭系统防火墙一、Mysql8.0.30 部署 二、nginx 部署三、PHP 部署四、zabbix-serv...
    99+
    2023-08-31
    zabbix 数据库 php nginx centos
  • 如何利用LNMP环境安装SMF论坛程序
     SMF 是目前流行的论坛解决方案,它提供了各种功能。通过模块化设计和灵活性,用户可以创建自己的插件,以任何他们希望的方式修改SMF的插件。在开始之前,一定要遵循入门指南中列出的步骤。你还需要一个LAMP 栈。提示:本指南是为非根...
    99+
    2023-06-05
  • LNMP环境如何配置
    这篇文章主要介绍了LNMP环境如何配置的相关知识,内容详细易懂,操作简单快捷,具有一定借鉴价值,相信大家阅读完这篇LNMP环境如何配置文章都会有所收获,下面我们一起来看看吧。 LNMP环境配置 概念 ...
    99+
    2024-04-02
  • Docker安装LNMP环境的详细过程(可部署TP项目)
    目录Docker安装LNMP环境1、安装Docker2、 安装nginx3、 安装PHP4、 查看nginx运行路径5、 创建并运行php容器6、 进入php容器,创建index2....
    99+
    2024-04-02
  • Linux(ubuntu) LNMP环境搭建
    Linux(ubuntu) LNMP环境搭建 1. 配置源地址 Ubuntu默认使用的官方源的服务器在欧洲,从国内访问速度很慢 先修改软件源为国内的, 例如: 阿里云源, 清华源等等 整体步骤: 查询...
    99+
    2023-09-02
    ubuntu linux 服务器 php
  • Ubuntu怎么搭建LNMP环境
    这篇文章主要介绍“Ubuntu怎么搭建LNMP环境”,在日常操作中,相信很多人在Ubuntu怎么搭建LNMP环境问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”Ubuntu怎么搭建LNMP环境”的疑惑有所帮助!...
    99+
    2023-06-13
  • docker如何搭建lnmp环境
    要在Docker中搭建LNMP环境(即Linux、Nginx、MySQL和PHP),可以按照以下步骤进行操作:1. 安装Docker...
    99+
    2023-08-23
    docker lnmp
  • Python环境安装
    1,文件安装 sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wge...
    99+
    2023-01-31
    环境 Python
  • ubuntu中lnmp环境怎么搭建
    在Ubuntu系统中搭建LNMP环境(Linux + Nginx + MySQL + PHP)可以通过以下步骤实现: 安装Ngi...
    99+
    2024-03-06
    ubuntu
  • linux怎么搭建LNMP环境
    搭建LNMP环境是在Linux系统上部署Nginx、MySQL和PHP的组合,下面是搭建LNMP环境的步骤:1. 安装Nginx:-...
    99+
    2023-10-10
    linux LNMP
  • docker怎么搭建lnmp环境
    要搭建一个LNMP环境(即 Linux + Nginx + MySQL + PHP),可以使用Docker来实现。 以下是基本的步骤...
    99+
    2023-10-23
    docker lnmp
  • Xposed环境安装
    一、Xposed 框架实现 Hook 的原理介绍 Zygote是Android的核心,每运行一个app,Zygote就会fork一个虚拟机实例来运行app, Xposed Framework深入到了Android核心机制中,通过改造Zygo...
    99+
    2023-08-17
    android
  • python 环境安装
    window下python环境安装 什么是python?python 是一种跨平台,可移植的编程语言 Python官网:http://www.python.org/Python文档地址:http://www.python.org/do...
    99+
    2023-01-31
    环境 python
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作