配置虚拟主机

vi /etc/php-fpm.d/www.conf

ps aux|grep nginx
killall nginx

ll /etc/init.d/
cat /etc/rc.local


1.配置虚拟主机
/var/nginx/conf/vhost

2.重启nginx 或apache 服务器
/var/nginx/sbin/nginx

3.配置解析的域名(在dns服务器上设置)




file /bin/bash

/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
64-bit

出现这个说明服务器是 64位

原文地址:https://www.cnblogs.com/php-blog/p/3407190.html