CentOS   2023-06-19 07:55   12   0  
一、开放端口用 --add-port firewall-cmd --permanent --add-port=8080/tcp 二、移除端口用 --remove-port firewall-cmd --permanent --remove-port=8080/tcp
CentOS   2023-06-01 09:53   34   0  
CentOS服务器设置本地数据库可以被连接的命令行: mysql -u root -p; grant all privileges on *.* to 'root'@'%' identified by 'mima' with grant option; flush privileges; exit; service mysqld restart;
CentOS   2023-05-31 08:18   44   0  
查看已安装的PHP版本:ls -l /usr/bin/php 修改PHP其他版本:ln -sf /www/server/php/74/bin/php /usr/bin/php
CentOS   2023-05-28 16:33   28   0  
一、手动下载二进制安装包:官网:http://nodejs.cn/download/ 二、 或者使用命令安装:wget https://nodejs.org/dist/v14.15.4/node-v14.15.4-linux-x64.tar.xz