上一页 1 ··· 101 102 103 104 105 106 107 108 109 ··· 169 下一页
摘要: 一,官网: 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 刘宏缔的架构森林 阅读(2151) 评论(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 刘宏缔的架构森林 阅读(2527) 评论(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 刘宏缔的架构森林 阅读(1746) 评论(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 刘宏缔的架构森林 阅读(1497) 评论(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 刘宏缔的架构森林 阅读(2360) 评论(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 刘宏缔的架构森林 阅读(4317) 评论(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 刘宏缔的架构森林 阅读(3382) 评论(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 刘宏缔的架构森林 阅读(462) 评论(0) 推荐(0)
摘要: 一,默认是自动安装所有更新: 默认仅提供两个选择: 自动更新每个最新版本 仅自动更新安全版本 二,设置禁止自动更新: 代码: define( 'WP_AUTO_UPDATE_CORE', false ); 在wp-config.php中增加此行 [root@blog wordpress]# vi w 阅读全文
posted @ 2023-05-06 14:51 刘宏缔的架构森林 阅读(132) 评论(0) 推荐(0)
摘要: 一,安装插件/设置插件: 插件->安装插件->用top关键字进行搜索,然后选择 WPFront Scroll Top 点 立即安装 按钮 安装完成后,点 启用 按钮 选中前两项 选中前两项后,点 保存更改 按钮 二,测试效果 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blo 阅读全文
posted @ 2023-05-06 12:39 刘宏缔的架构森林 阅读(114) 评论(0) 推荐(0)
上一页 1 ··· 101 102 103 104 105 106 107 108 109 ··· 169 下一页