好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

阿里云服务器的几个常用命令

查看端口占用情况:netstat -tunpl

nginx:/etc/init.d/nginx start/stop/restart/reload

apache:/etc/init.d/httpd   start/stop/restart

mysql:/etc/init.d/mysqld  start/stop/restart  或者 service mysqld start/stop

php-fpm:/etc/init.d/php-fpm  start/stop/restart

ftp: /etc/init.d/vsftpd   start/stop/restart   或者 service vsftpd start/stop

 

nginx的wordpress  rewrite重写配置

if (!-e $request_filename){
rewrite (.*) /index.php;
}

查找安装服务所在的目录:ps -ef|grep nginx | mysql

 

查看更多关于阿里云服务器的几个常用命令的详细内容...

  阅读:1349次