海阔凭鱼跃,天高任鸟飞!

天高任鸟飞

Cent OS7 apache nginx mysql php-fpm 启动 停止 重启 命令

Centos7重启apache、nginx、mysql、php-fpm命令
apache
启动
systemctl start httpd
停止
systemctl stop httpd
重启
systemctl restart httpd

mysql
启动
systemctl start mysqld
停止
systemctl stop mysqld
重启
systemctl restart mysqld

php-fpm
启动
systemctl start php-fpm
停止
systemctl stop php-fpm
重启
systemctl restart php-fpm

nginx
启动
systemctl start nginx
停止
systemctl stop nginx
重启
systemctl restart nginx

 

腾讯云主机 TCP 25 端口出方向( SMTP 邮件服务器)申请解封方法

腾讯云主机默认关闭了25端口,导致与邮件相关的服务都不能使用。

25 端口主要用于 SMTP 邮件服务器的架设,如果您没有在云上部署邮件服务,则本次端口封堵不会对您的服务造成影响;如果您在云主机中使用 25 端口部署了邮件服务,则您的邮件服务将受到影响而暂时不可用。

解封申请:控制台-个人菜单下拉列表-25端口解封。

无法使用 TCP 25 端口连接外部地址。例如,运行Telnet smtp.***.com 25,该命令执行失败,但是安全组并没有禁止该端口。

原因:为了提升腾讯云 IP 地址发邮件的质量,将默认限制云主机 TCP 25 端口连接外部地址 。

解封方法:登录腾讯云控制台,鼠标移动到账号,即见 25 端口解封 入口,每个客户在每个地域默认可解封 5 个云服务器。

我们诚挚地推荐您使用腾讯企业邮箱(exmail.qq.com)代替云上的 SMTP 邮件服务,来提高业务的整体安全性。如果您一定要保留云上的 SMTP 服务,请优先在云主机内安装相关安全工具,如 云镜,进行相风险控制。

来源:https://cloud.tencent.com/document/product/215/12390