1 php 启动命令 @echo off e: cd E:/php-/ echo "php is starting on port 9007, php_version is 7.0.6" php-cgi -b -q exit 2 启动nginx @echo off e: cd E:\nginx\ echo "nginx is starting on port 80" start "" "nginx.exe" exit 3 停止
无论是作为上线的服务器还是开发中的虚拟机来说,都是没有必要启动图形界面的,而图形界面占用的内存还是很大的.枫竹梦本文就介绍如何设置来默认启动命令行. 其实就是设置系统的启动级别. CentOS的设置 修改文件/etc/inittab. [root@localhost ~]#vi /etc/inittab # inittab is only used by upstart for the default runlevel. # # ADDING OTHER CONFIGURATION HERE W