Linux
zf_csdn
这个作者很懒,什么都没留下…
展开
-
CentOS离线安装MySQL
CentOS7 离线安装MySQL原创 2021-12-17 16:21:18 · 1264 阅读 · 0 评论 -
解决sudo不可用问题
当我们使用sudo命令切换用户的时候可能会遇到提示以下错误:xxx is not in the sudoers file. This incident will be reported,xxx是你当前的用户名,究其原因是用户没有加入到sudo的配置文件里 解决方法 切换到root用户 执行命令visudo $ visudo 在打开的配置文件中,找到root ALL=(ALL) ALL,在下面添加一行 xxx ALL=(ALL) ALL 其中xxx是你要加入的用户名称 root ALL=(AL原创 2021-02-05 16:10:49 · 459 阅读 · 0 评论 -
Linux开放指定端口
检查服务器是否安装iptables $ service iptables status Redirecting to /bin/systemctl status iptables.service Unit iptables.service could not be found. 若返回以上信息,则说明未安装iptables 2. 安装iptables $ yum install -y iptables 开放zbus的15555端口 $ vi /etc/sysconfig/iptables 进.原创 2021-02-05 16:01:10 · 260 阅读 · 0 评论 -
Centos7.x离线安装redis-cluster集群
一、安装背景 由于工作需要,要求在测试环境安装redis-cluster集群,但是测试环境又不能访问外网,只能通过下载一些离线安装包进行安装,本文末尾提供了所有离线安装所需的文件,包括ruby-2.4.1.tar.gz,rubygems-2.7.6.tgz,zlib-1.2.11.tar.gz,redis-4.0.2.gem,tcl8.6.8-src.tar.gz 二、环境准备 系统版本 Ce...原创 2019-03-07 15:08:24 · 1404 阅读 · 0 评论