09 2020 档案

摘要:sudo yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm sudo yum --enablerepo=remi install redis -y sudo systemctl restart red 阅读全文
posted @ 2020-09-15 15:35 龙影123 阅读(846) 评论(0) 推荐(0)
摘要:设置Yarn仓库 curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo 如果还没有安装node.js,再设置一下设置node仓库 curl --silen 阅读全文
posted @ 2020-09-14 23:18 龙影123 阅读(4660) 评论(0) 推荐(0)
摘要:查看SELinux状态: /usr/sbin/sestatus -v 关闭SELinux: 修改/etc/selinux/config 文件 vi /etc/selinux/config 将SELINUX=enforcing改为SELINUX=disabled 重启系统 阅读全文
posted @ 2020-09-14 20:56 龙影123 阅读(164) 评论(0) 推荐(0)
摘要:安装Firewall命令: yum install firewalld firewalld-config Firewall开启常见端口命令: firewall-cmd --zone=public --add-port=80/tcp --permanent firewall-cmd --zone=pu 阅读全文
posted @ 2020-09-14 14:37 龙影123 阅读(353) 评论(0) 推荐(0)
摘要:sudo yum install yum-utils To set up the yum repository, create the file named /etc/yum.repos.d/nginx.repo with the following contents: [nginx-stable] 阅读全文
posted @ 2020-09-10 14:47 龙影123 阅读(251) 评论(0) 推荐(0)
摘要:set参数介绍 set指令能设置所使用shell的执行方式,可依照不同的需求来做设置 -a 标示已修改的变量,以供输出至环境变量。 -b 使被中止的后台程序立刻回报执行状态。 -C 转向所产生的文件无法覆盖已存在的文件。 -d Shell预设会用杂凑表记忆使用过的指令,以加速指令的执行。使用-d参数 阅读全文
posted @ 2020-09-09 10:12 龙影123 阅读(704) 评论(0) 推荐(0)
摘要:目前的生产环境中,CentOS服务器安装php的过程是最繁琐且依赖包众多,安装起来比较麻烦,又耗时间。用CentOS 7系统自带的yum源安装php时,版本型号较旧,为php5.4版本的。 添加EPEL和REMI存储库 sudo yum -y install https://dl.fedorapro 阅读全文
posted @ 2020-09-04 17:06 龙影123 阅读(1193) 评论(0) 推荐(0)