随笔分类 - Linux学习之CentOS
CentOS+Ubuntu
摘要:背景:linux服务器已经安装了lnmp1.5的包,里面带了php7.1版本,一直再跑; 现在想学点swoole,要求PHP>=7.2,所以准备自己再装个php7.4的版本,玩起来。(未使用docker安装,推荐docker更简单)0--花一天时间已完成hyperf2.1安装和调试,跑起来了。 cl
阅读全文
摘要:常用命令: 1、tail 2、cat
阅读全文
摘要:准备篇: 1、配置防火墙,开启80端口、3306端口vi /etc/sysconfig/iptables-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT #允许80端口通过防火墙-A INPUT -m state --s
阅读全文
摘要:1:查看环境: 1 2 [root@10-4-14-168 html]# cat /etc/redhat-release CentOS release 6.5 (Final) 1 2 [root@10-4-14-168 html]# cat /etc/redhat-release CentOS re
阅读全文
摘要:转载至:linux公社 https://www.linuxidc.com/Linux/2014-07/104563.htm
阅读全文
摘要:1./etc/my.cnf 这是mysql的主配置文件 2、数据存放位置 3、错误存放位置
阅读全文
摘要:转载至:http://www.cnblogs.com/smyhvae/p/3932903.html 【正文】 Linux系统版本:Centos 6.5 Linux系统版本:Centos 7 目的:将centos系统的网卡配置成固定ip、静态获取的方式。 centos网卡目录:/etc/sysconf
阅读全文