上一页 1 ··· 136 137 138 139 140 141 142 143 144 ··· 204 下一页
摘要: 一,官网地址: 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 刘宏缔的架构森林 阅读(1513) 评论(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 刘宏缔的架构森林 阅读(2181) 评论(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 刘宏缔的架构森林 阅读(2290) 评论(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 刘宏缔的架构森林 阅读(2836) 评论(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 刘宏缔的架构森林 阅读(2062) 评论(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 刘宏缔的架构森林 阅读(1819) 评论(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 刘宏缔的架构森林 阅读(2661) 评论(0) 推荐(0)
摘要: 一,启动防火墙: [root@blog zones]# systemctl status firewalld ○ firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (;;file://blog/usr/lib 阅读全文
posted @ 2023-05-09 15:44 刘宏缔的架构森林 阅读(4564) 评论(0) 推荐(0)
摘要: 一,查看所有磁盘 查看磁盘的分区 [root@blog ~]# fdisk -l Disk /dev/vda: 50 GiB, 53687091200 bytes, 104857600 sectors Units: sectors of 1 * 512 = 512 bytes Sector size 阅读全文
posted @ 2023-05-09 15:14 刘宏缔的架构森林 阅读(3836) 评论(0) 推荐(0)
摘要: 一,报错 [root@osc ~]# yum install -y python3-pip Loaded plugins: fastestmirror, security Setting up Install Process Determining fastest mirrors YumRepo E 阅读全文
posted @ 2023-05-09 13:23 刘宏缔的架构森林 阅读(494) 评论(0) 推荐(0)
上一页 1 ··· 136 137 138 139 140 141 142 143 144 ··· 204 下一页