上一页 1 ··· 111 112 113 114 115 116 117 118 119 ··· 179 下一页
摘要: 一,生成启动文件: 复制源码中的init.d.php-fpm作为启动文件 [root@img sapi]# mkdir /usr/local/soft/php8.2.5/daemon [root@img sapi]# cd /usr/local/source/php/php-8.2.5/ [root 阅读全文
posted @ 2023-05-11 12:29 刘宏缔的架构森林 阅读(1878) 评论(0) 推荐(1)
摘要: 一,配置nginx虚拟主机 1,查看php-fpm使用的端口: [root@img ~]# ss -lntp | grep php 如图: 可以看到端口是9000 2,配置虚拟主机: 如下: [root@img conf.d]# vi file.conf 内容如下: server { listen 阅读全文
posted @ 2023-05-10 21:05 刘宏缔的架构森林 阅读(1021) 评论(0) 推荐(0)
摘要: 一,配置nginx.conf 进入到nginx的conf目录 [root@img conf]# pwd /usr/local/soft/nginx-1.24.0/conf 创建虚拟主机的存放目录 [root@img conf]# mkdir conf.d 编辑配置文件 [root@img conf] 阅读全文
posted @ 2023-05-10 20:31 刘宏缔的架构森林 阅读(1449) 评论(0) 推荐(0)
摘要: 一,官网地址: https://www.php.net/ 如图: 二,下载并解压: 下载: [root@img php]# wget https://www.php.net/distributions/php-8.2.5.tar.gz 解压: [root@img php]# tar -zxvf ph 阅读全文
posted @ 2023-05-10 15:41 刘宏缔的架构森林 阅读(1401) 评论(0) 推荐(0)
摘要: 一,安装epel 我们以libzip-devel为例: 默认搜索不到 [root@img ~]# yum search libzip-devel Last metadata expiration check: 0:02:34 ago on Wed 10 May 2023 01:15:06 PM CS 阅读全文
posted @ 2023-05-10 14:36 刘宏缔的架构森林 阅读(2041) 评论(0) 推荐(0)
摘要: 一,官网: http://nginx.org/ 如图: 二,下载并解压 下载: [root@img nginx]# wget http://nginx.org/download/nginx-1.24.0.tar.gz 解压: [root@img nginx]# tar -zxvf nginx-1.2 阅读全文
posted @ 2023-05-10 11:24 刘宏缔的架构森林 阅读(2176) 评论(1) 推荐(1)
摘要: 一,配置可以sudo的用户 参考这个: https://blog.imgtouch.com/index.php/2023/06/06/rocky-linux-tian-jia-sudoer-yong-hu-rocky-linux-9-1/ 二,禁止使用root登录ssh 1,配置ssh [root@ 阅读全文
posted @ 2023-05-10 09:46 刘宏缔的架构森林 阅读(2620) 评论(0) 推荐(0)
摘要: 一,查看sudo的版本: [root@img ~]# sudo -V Sudo version 1.9.5p2 Configure options: --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu … 如未安装,可以用yu 阅读全文
posted @ 2023-05-09 20:52 刘宏缔的架构森林 阅读(1813) 评论(0) 推荐(0)
摘要: 一,修改防火墙,允许指定的新端口访问 [root@img ~]# firewall-cmd --zone=public --add-port=31234/tcp --permanent success [root@img ~]# firewall-cmd --reload success [root 阅读全文
posted @ 2023-05-09 18:53 刘宏缔的架构森林 阅读(1559) 评论(0) 推荐(0)
摘要: 一,修改hostname: 1,通过hostnamectl命令修改hostname [root@blog ~]# more /etc/hostname blog [root@blog ~]# hostnamectl set-hostname img [root@blog ~]# more /etc/ 阅读全文
posted @ 2023-05-09 18:21 刘宏缔的架构森林 阅读(2451) 评论(0) 推荐(0)
上一页 1 ··· 111 112 113 114 115 116 117 118 119 ··· 179 下一页